diff --git a/afl/Cargo.toml b/afl/Cargo.toml index 8719fbc9ff..83accdea15 100644 --- a/afl/Cargo.toml +++ b/afl/Cargo.toml @@ -10,6 +10,7 @@ edition = "2018" criterion = "0.3" # Benchmarking ahash = "0.6.1" # another hash fxhash = "0.2.1" # yet another hash +xxhash-rust = { version = "0.8.0", features = ["const_xxh3", "xxh3"] } # xxh3 hashing for rust [[bench]] name = "rand_speeds" @@ -29,7 +30,7 @@ std = [] hashbrown = { version = "0.9", features = ["serde"] } # A faster hashmap, nostd compatible libc = "0.2" # For (*nix) libc num = "*" -xxhash-rust = { version = "0.8.0", features = ["const_xxh3", "xxh3"] } # xxh3 hashing for rust +xxhash-rust = { version = "0.8.0", features = ["xxh3"] } # xxh3 hashing for rust serde = { version = "1.0", default-features = false, features = ["alloc"] } # serialization lib erased-serde = "0.3.12" postcard = "0.5.1" # no_std compatible serde serialization fromat diff --git a/afl/src/utils.rs b/afl/src/utils.rs index db7eb3b127..be8fbe7491 100644 --- a/afl/src/utils.rs +++ b/afl/src/utils.rs @@ -4,7 +4,7 @@ use alloc::rc::Rc; use core::cell::RefCell; use core::debug_assert; use core::fmt::Debug; -use xxhash_rust::const_xxh3::xxh3_64_with_seed; +use xxhash_rust::xxh3::xxh3_64_with_seed; #[cfg(feature = "std")] use std::time::{SystemTime, UNIX_EPOCH};