diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-10-27 17:32:33 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-10-27 17:32:47 +0200 |
commit | 6b3c3179e0fda27cf78f70d93a69a8b4a7049545 (patch) | |
tree | 16a16f2f58d65a68b702ea8de92387a03884ffb8 /Cargo.lock | |
parent | Frontend: Use display_results() function for rendering CrawledResources (diff) | |
download | OSSE-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.lock | 1 |
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", |