From cf7caa885d6b858001e747925d8cfda182f5647e Mon Sep 17 00:00:00 2001 From: Jake Goulding Date: Fri, 18 Oct 2024 10:22:37 -0400 Subject: [PATCH] Upgrade to twox-hash 2.0 --- Cargo.lock | 9 ++------- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b81ac216d..9f10825af 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2623,14 +2623,9 @@ dependencies = [ [[package]] name = "twox-hash" -version = "1.6.3" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" -dependencies = [ - "cfg-if", - "rand", - "static_assertions", -] +checksum = "d09466de2fbca05ea830e16e62943f26607ab2148fb72b642505541711d99ad2" [[package]] name = "typed-arena" diff --git a/Cargo.toml b/Cargo.toml index 6243034ff..50f164d69 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -61,7 +61,7 @@ strum_macros = "0.25.0" testing_macros = "0.2.11" thiserror = "1" tokio = { version = "1", features = ["full"] } -twox-hash = "1.6.3" +twox-hash = { version = "2.0.0", default-features = false, features = ["xxhash64"] } url = { version = "2", features = ["serde", "expose_internals"] } # macros