diff --git a/Cargo.lock b/Cargo.lock index 4f67ed049..79ba5144c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -312,7 +312,7 @@ dependencies = [ "bitflags 2.5.0", "cexpr", "clang-sys", - "itertools 0.12.1", + "itertools", "lazy_static", "lazycell", "proc-macro2", @@ -620,7 +620,7 @@ dependencies = [ "fs2", "futures", "indexmap 2.2.6", - "itertools 0.11.0", + "itertools", "madsim", "madsim-tokio", "madsim-tonic", @@ -669,7 +669,7 @@ dependencies = [ "bincode", "curp-external-api", "engine", - "itertools 0.11.0", + "itertools", "madsim-tokio", "prost", "serde", @@ -1367,15 +1367,6 @@ version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" -[[package]] -name = "itertools" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" -dependencies = [ - "either", -] - [[package]] name = "itertools" version = "0.12.1" @@ -2232,7 +2223,7 @@ checksum = "80b776a1b2dc779f5ee0641f8ade0125bc1298dd41a9a0c16d8bd57b42d222b1" dependencies = [ "bytes", "heck 0.5.0", - "itertools 0.12.1", + "itertools", "log", "multimap", "once_cell", @@ -2252,7 +2243,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "19de2de2a00075bf566bee3bd4db014b11587e84184d3f7a791bc17f1a8e9e48" dependencies = [ "anyhow", - "itertools 0.12.1", + "itertools", "proc-macro2", "quote", "syn 2.0.60", @@ -2647,7 +2638,7 @@ dependencies = [ "curp-test-utils", "engine", "futures", - "itertools 0.11.0", + "itertools", "madsim", "madsim-tokio", "madsim-tonic", @@ -3681,7 +3672,7 @@ dependencies = [ "futures-channel", "futures-util", "getrandom", - "itertools 0.12.1", + "itertools", "libc", "log", "madsim-tokio", @@ -3747,7 +3738,7 @@ dependencies = [ "event-listener 2.5.3", "futures", "hyper", - "itertools 0.11.0", + "itertools", "jsonwebtoken", "log", "madsim-tokio", @@ -3834,7 +3825,7 @@ dependencies = [ "async-trait", "curp", "curp-external-api", - "itertools 0.11.0", + "itertools", "madsim-tonic", "madsim-tonic-build", "prost", diff --git a/crates/curp-test-utils/Cargo.toml b/crates/curp-test-utils/Cargo.toml index fad63dccf..a8eebd982 100644 --- a/crates/curp-test-utils/Cargo.toml +++ b/crates/curp-test-utils/Cargo.toml @@ -15,7 +15,7 @@ async-trait = "0.1.80" bincode = "1.3.3" curp-external-api = { path = "../curp-external-api" } engine = { path = "../engine" } -itertools = "0.11" +itertools = "0.12" prost = "0.12.3" serde = { version = "1.0.130", features = ["derive", "rc"] } thiserror = "1.0.58" diff --git a/crates/curp/Cargo.toml b/crates/curp/Cargo.toml index 6840614c2..37721ac76 100644 --- a/crates/curp/Cargo.toml +++ b/crates/curp/Cargo.toml @@ -27,7 +27,7 @@ flume = "0.11.0" fs2 = "0.4.3" futures = "0.3.21" indexmap = "2.2.6" -itertools = "0.11" +itertools = "0.12" madsim = { version = "0.2.27", features = ["rpc", "macros"] } opentelemetry = { version = "0.21.0", features = ["metrics"] } parking_lot = "0.12.1" @@ -53,7 +53,7 @@ workspace-hack = { version = "0.1", path = "../../workspace-hack" } [dev-dependencies] anyhow = "1.0.82" curp-test-utils = { path = "../curp-test-utils" } -itertools = "0.11" +itertools = "0.12" mockall = "0.12.1" once_cell = "1.17.0" tempfile = "3" diff --git a/crates/simulation/Cargo.toml b/crates/simulation/Cargo.toml index a2ee72c31..a9783b8e3 100644 --- a/crates/simulation/Cargo.toml +++ b/crates/simulation/Cargo.toml @@ -17,7 +17,7 @@ curp = { path = "../curp" } curp-test-utils = { path = "../curp-test-utils" } engine = { path = "../engine" } futures = "0.3.29" -itertools = "0.11" +itertools = "0.12" madsim = "0.2.27" parking_lot = "0.12.1" prost = "0.12.3" diff --git a/crates/xline/Cargo.toml b/crates/xline/Cargo.toml index 34b08e864..db09b50bc 100644 --- a/crates/xline/Cargo.toml +++ b/crates/xline/Cargo.toml @@ -28,7 +28,7 @@ engine = { path = "../engine" } event-listener = "2.5.2" futures = "0.3.25" hyper = "0.14.27" -itertools = "0.11" +itertools = "0.12" jsonwebtoken = "9.3.0" log = "0.4.21" merged_range = "0.1.0" diff --git a/crates/xlineapi/Cargo.toml b/crates/xlineapi/Cargo.toml index 659ee5a88..50497af8f 100644 --- a/crates/xlineapi/Cargo.toml +++ b/crates/xlineapi/Cargo.toml @@ -14,7 +14,7 @@ keywords = ["RPC", "Interfaces"] async-trait = "0.1.80" curp = { path = "../curp" } curp-external-api = { path = "../curp-external-api" } -itertools = "0.11" +itertools = "0.12" prost = "0.12.3" serde = { version = "1.0.137", features = ["derive"] } thiserror = "1.0.58" diff --git a/workspace-hack/Cargo.toml b/workspace-hack/Cargo.toml index 6b4d31d24..b78fe3aac 100644 --- a/workspace-hack/Cargo.toml +++ b/workspace-hack/Cargo.toml @@ -22,6 +22,7 @@ either = { version = "1", default-features = false, features = ["use_std"] } futures-channel = { version = "0.3", features = ["sink"] } futures-util = { version = "0.3", features = ["channel", "io", "sink"] } getrandom = { version = "0.2", default-features = false, features = ["js", "rdrand", "std"] } +itertools = { version = "0.12" } libc = { version = "0.2", features = ["extra_traits"] } log = { version = "0.4", default-features = false, features = ["std"] } madsim-tokio = { git = "https://github.com/Phoenix500526/madsim.git", branch = "update-tonic", default-features = false, features = ["fs", "io-util", "macros", "net", "rt", "rt-multi-thread", "signal", "sync", "time"] } @@ -48,7 +49,7 @@ zeroize = { version = "1", features = ["derive"] } bytes = { version = "1" } cc = { version = "1", default-features = false, features = ["parallel"] } either = { version = "1", default-features = false, features = ["use_std"] } -itertools = { version = "0.12", default-features = false, features = ["use_alloc"] } +itertools = { version = "0.12" } libc = { version = "0.2", features = ["extra_traits"] } log = { version = "0.4", default-features = false, features = ["std"] } memchr = { version = "2" }