diff --git a/Cargo.toml b/Cargo.toml index 7ec016a0..2fc531a7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,6 +18,9 @@ poem = { version = "3", features = ["websocket", "test"] } portable-pty = "0.9.0" reqwest = { version = "0.13.3", features = ["json", "stream"] } rust-embed = "8" +fastcrypto = "0.1.9" +indexmap = { version = "2.14.0", features = ["serde"] } +rand = "0.9" serde = { version = "1", features = ["derive"] } serde_json = "1" serde_urlencoded = "0.7" diff --git a/crates/bft-json-crdt/Cargo.toml b/crates/bft-json-crdt/Cargo.toml index e7cfab6a..bca8bf55 100644 --- a/crates/bft-json-crdt/Cargo.toml +++ b/crates/bft-json-crdt/Cargo.toml @@ -16,19 +16,19 @@ bft = [] [dependencies] bft-crdt-derive = { path = "bft-crdt-derive" } colored = "3" -fastcrypto = "0.1.9" -indexmap = { version = "2.2.6", features = ["serde"] } -rand = "0.9" +fastcrypto = { workspace = true } +indexmap = { workspace = true, features = ["serde"] } +rand = { workspace = true } random_color = "1" -serde = { version = "1.0", features = ["derive"] } -serde_json = { version = "1.0.85", features = ["preserve_order"] } +serde = { workspace = true, features = ["derive"] } +serde_json = { workspace = true, features = ["preserve_order"] } serde_with = "3" -sha2 = "0.11" +sha2 = { workspace = true } [dev-dependencies] criterion = { version = "0.5", features = ["html_reports"] } -serde = { version = "1.0", features = ["derive"] } -serde_json = { version = "1.0.85", features = ["preserve_order"] } +serde = { workspace = true, features = ["derive"] } +serde_json = { workspace = true, features = ["preserve_order"] } [[bench]] name = "speed" diff --git a/server/Cargo.toml b/server/Cargo.toml index d61d5158..80493fa2 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -46,9 +46,9 @@ wait-timeout = "0.2.1" bft-json-crdt = { path = "../crates/bft-json-crdt", default-features = false, features = ["bft"] } source-map-gen = { path = "../crates/source-map-gen" } ed25519-dalek = { version = "2", features = ["rand_core"] } -fastcrypto = "0.1.8" -rand = "0.9" -indexmap = { version = "2.2.6", features = ["serde"] } +fastcrypto = { workspace = true } +rand = { workspace = true } +indexmap = { workspace = true, features = ["serde"] } [target.'cfg(unix)'.dependencies] libc = { workspace = true }