diff --git a/Cargo.lock b/Cargo.lock index 1a007b4fe1212..bd41f61ddd2ee 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5206,7 +5206,7 @@ dependencies = [ "serde", "thiserror", "tracing", - "twox-hash", + "twox-hash 1.6.3", "zstd 0.13.0", ] @@ -7211,7 +7211,7 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3ea9b256699eda7b0387ffbc776dd625e28bde3918446381781245b7a50349d8" dependencies = [ - "twox-hash", + "twox-hash 1.6.3", ] [[package]] @@ -7754,7 +7754,7 @@ dependencies = [ "tokio", "tokio-native-tls", "tokio-util", - "twox-hash", + "twox-hash 1.6.3", "url", ] @@ -8704,7 +8704,7 @@ dependencies = [ "snap", "thrift", "tokio", - "twox-hash", + "twox-hash 1.6.3", "zstd 0.13.0", "zstd-sys", ] @@ -8739,7 +8739,7 @@ dependencies = [ "snap", "thrift", "tokio", - "twox-hash", + "twox-hash 1.6.3", "zstd 0.13.0", "zstd-sys", ] @@ -10420,7 +10420,7 @@ dependencies = [ "serde", "serde_json", "thiserror", - "twox-hash", + "twox-hash 2.0.0", ] [[package]] @@ -10474,7 +10474,7 @@ dependencies = [ "tokio-stream 0.1.15 (git+https://github.com/madsim-rs/tokio.git?rev=0dd1055)", "tokio-util", "tracing", - "twox-hash", + "twox-hash 2.0.0", "uuid", "workspace-hack", ] @@ -10685,7 +10685,7 @@ dependencies = [ "tracing-futures", "tracing-opentelemetry", "tracing-subscriber", - "twox-hash", + "twox-hash 2.0.0", "url", "uuid", "workspace-hack", @@ -15101,6 +15101,15 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "twox-hash" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d09466de2fbca05ea830e16e62943f26607ab2148fb72b642505541711d99ad2" +dependencies = [ + "rand", +] + [[package]] name = "typed-builder" version = "0.10.0" diff --git a/src/batch/Cargo.toml b/src/batch/Cargo.toml index 46c4aa7b9de6e..b5ee349e198d8 100644 --- a/src/batch/Cargo.toml +++ b/src/batch/Cargo.toml @@ -65,7 +65,7 @@ tokio-stream = { workspace = true } tokio-util = { workspace = true } tonic = { workspace = true } tracing = "0.1" -twox-hash = "1" +twox-hash = "2" uuid = { version = "1", features = ["v4"] } [target.'cfg(not(madsim))'.dependencies] diff --git a/src/common/Cargo.toml b/src/common/Cargo.toml index e84a6675f04b4..fd0d0ca1475e3 100644 --- a/src/common/Cargo.toml +++ b/src/common/Cargo.toml @@ -121,7 +121,7 @@ tracing = "0.1" tracing-futures = { version = "0.2", features = ["futures-03"] } tracing-opentelemetry = { workspace = true } tracing-subscriber = "0.3.17" -twox-hash = "1" +twox-hash = "2" url = "2" uuid = { version = "1", features = ["v4"] } diff --git a/src/storage/backup/Cargo.toml b/src/storage/backup/Cargo.toml index 3fd7d7ecde5ce..23a2c99567c48 100644 --- a/src/storage/backup/Cargo.toml +++ b/src/storage/backup/Cargo.toml @@ -29,7 +29,7 @@ risingwave_pb = { workspace = true } serde = { version = "1", features = ["derive"] } serde_json = "1" thiserror = "1" -twox-hash = "1" +twox-hash = "2" [dev-dependencies] risingwave_hummock_sdk = { workspace = true }