diff --git a/Cargo.lock b/Cargo.lock index e0c494c..1a9f131 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -931,12 +931,6 @@ dependencies = [ "universal-hash", ] -[[package]] -name = "ppv-lite86" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" - [[package]] name = "proc-macro-crate" version = "3.1.0" @@ -970,27 +964,6 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" -[[package]] -name = "rand" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" -dependencies = [ - "libc", - "rand_chacha", - "rand_core", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core", -] - [[package]] name = "rand_core" version = "0.6.4" @@ -1305,12 +1278,6 @@ dependencies = [ "unicode-xid", ] -[[package]] -name = "static_assertions" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" - [[package]] name = "subcryptor" version = "0.11.1" @@ -1649,14 +1616,9 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "twox-hash" -version = "1.6.3" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" -dependencies = [ - "cfg-if", - "rand", - "static_assertions", -] +checksum = "a6db6856664807f43c17fbaf2718e2381ac1476a449aa104f5f64622defa1245" [[package]] name = "typenum" diff --git a/subhasher/Cargo.toml b/subhasher/Cargo.toml index e14d90b..326bcbe 100644 --- a/subhasher/Cargo.toml +++ b/subhasher/Cargo.toml @@ -29,4 +29,4 @@ blake2-rfc = { version = "0.2", default-features = false } byteorder = { version = "1.5", default-features = false } sha2 = { version = "0.10", default-features = false } tiny-keccak = { version = "2.0", features = ["keccak"] } -twox-hash = { version = "1.6", default-features = false } +twox-hash = { version = "2.0", default-features = false }