about summary refs log tree commit diff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-10-27 17:32:33 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-10-27 17:32:47 +0200
commit6b3c3179e0fda27cf78f70d93a69a8b4a7049545 (patch)
tree16a16f2f58d65a68b702ea8de92387a03884ffb8 /Cargo.lock
parentFrontend: Use display_results() function for rendering CrawledResources (diff)
downloadOSSE-6b3c3179e0fda27cf78f70d93a69a8b4a7049545.tar.gz
OSSE-6b3c3179e0fda27cf78f70d93a69a8b4a7049545.tar.bz2
OSSE-6b3c3179e0fda27cf78f70d93a69a8b4a7049545.zip
Fronted: Order search results by priority
We do this by implementing the PartialOrd and Ord traits into the
CrawledResource struct and then using Itertools::sorted() on the display
iterator.
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 6f48c0b..0bd1e55 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -618,6 +618,7 @@ version = "0.1.0"
 dependencies = [
  "gloo 0.8.0",
  "gloo-net",
+ "itertools",
  "serde",
  "wasm-bindgen",
  "wasm-bindgen-futures",