diff --git a/Cargo.toml b/Cargo.toml index 6c1b949..1c02225 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ ureq = { version = "^2", features = ["json"], optional = true} base64 = "^0.13" num_enum = "^0.5" chrono = {version = "^0.4", optional = true} -fasthash = {version = "^0.4", optional = true} +highhash = {version = "^0.1", optional = true} half = {version = "^1.7", optional = true} libfj_parsable_macro_derive = {version = "0.5.3", optional = true} #libfj_parsable_macro_derive = {path = "./parsable_macro_derive", optional = true} @@ -38,5 +38,5 @@ tokio = { version = "1.4.0", features = ["macros"]} simple = ["ureq"] robocraft = ["reqwest"] cardlife = ["reqwest"] -techblox = ["chrono", "fasthash", "half", "libfj_parsable_macro_derive"] +techblox = ["chrono", "highhash", "half", "libfj_parsable_macro_derive"] convert = ["obj", "genmesh"] diff --git a/src/techblox/murmur.rs b/src/techblox/murmur.rs index cb727d0..8f983fa 100644 --- a/src/techblox/murmur.rs +++ b/src/techblox/murmur.rs @@ -1,4 +1,4 @@ -use fasthash::murmur3::hash32_with_seed; +use highhash::murmur::hash32_with_seed; use std::sync::mpsc::{channel, Sender}; use std::thread; diff --git a/tests/robocraft_factory.rs b/tests/robocraft_factory.rs index 31f2e85..9896138 100644 --- a/tests/robocraft_factory.rs +++ b/tests/robocraft_factory.rs @@ -78,7 +78,7 @@ async fn robocraft_factory_custom_query() -> Result<(), ()> { #[tokio::test] async fn robocraft_factory_player_query() -> Result<(), ()> { let result = builder() - .text("Baerentoeter".to_string()) + .text("MilanZhi".to_string()) // there is a featured robot by this user, so this should never fail .text_search_type(robocraft::FactoryTextSearchType::Player) .items_per_page(10) .send().await; diff --git a/tests/robocraft_factory_simple.rs b/tests/robocraft_factory_simple.rs index 1b1a6bc..3b2c5db 100644 --- a/tests/robocraft_factory_simple.rs +++ b/tests/robocraft_factory_simple.rs @@ -58,7 +58,7 @@ fn robocraft_factory_custom_query_simple() -> Result<(), ()> { #[cfg(all(feature = "simple", feature = "robocraft"))] fn robocraft_factory_player_query() -> Result<(), ()> { let result = builder() - .text("Baerentoeter".to_string()) + .text("MilanZhi".to_string()) // there is a featured robot by this user, so this should never fail .text_search_type(robocraft::FactoryTextSearchType::Player) .items_per_page(10) .send();