diff --git a/Cargo.toml b/Cargo.toml index 030464f9b..e8ba6401a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,5 +8,4 @@ edition = "2021" [dependencies] ahqstore-types = { version = "3" } serde_yml = "0.0.12" -sort_algorithms = "0.3.5" version-compare = "0.2.0" diff --git a/db/map/1.json b/db/map/1.json index 9e26dfeeb..81750b96f 100644 --- a/db/map/1.json +++ b/db/map/1.json @@ -1 +1 @@ -{} \ No newline at end of file +{ \ No newline at end of file diff --git a/db/search/1.json b/db/search/1.json index 0637a088a..8e2f0bef1 100644 --- a/db/search/1.json +++ b/db/search/1.json @@ -1 +1 @@ -[] \ No newline at end of file +[ \ No newline at end of file diff --git a/db/total b/db/total deleted file mode 100644 index 56a6051ca..000000000 --- a/db/total +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/src/parser/mod.rs b/src/parser/mod.rs index e5cca724c..09fcb6c66 100644 --- a/src/parser/mod.rs +++ b/src/parser/mod.rs @@ -167,7 +167,7 @@ fn app_parse(letter: &str, author: &str, map: &mut Map) { use sort_algorithms::cocktail_shaker_sort; - cocktail_shaker_sort(&mut versions, |x, y| { + versions.sort_by(|x, y| { let (x, y) = (x.to_str().unwrap_or("0.0.0"), y.to_str().unwrap_or("0.0.0")); let x = Version::from(x).unwrap(); let y = Version::from(y).unwrap();