From 3b9b9305b7b026f8f9334bf69f9edf9bbe6201eb Mon Sep 17 00:00:00 2001 From: Hubert Gruszecki Date: Fri, 30 Jan 2026 21:36:48 +0100 Subject: [PATCH] refactor(deps): centralize workspace dependencies in root Cargo.toml Dependencies were scattered across 24 member crates with inline versions, causing version inconsistencies (e.g., sqlx 0.8 vs 0.8.6) and making updates error-prone. --- Cargo.toml | 80 ++++++++++++++++++- bdd/rust/Cargo.toml | 2 +- core/ai/mcp/Cargo.toml | 2 +- core/bench/Cargo.toml | 6 +- core/bench/dashboard/frontend/Cargo.toml | 22 ++--- core/bench/dashboard/server/Cargo.toml | 16 ++-- core/bench/runner/Cargo.toml | 6 +- core/cli/Cargo.toml | 2 +- core/common/Cargo.toml | 4 +- core/connectors/sdk/Cargo.toml | 12 +-- .../sinks/elasticsearch_sink/Cargo.toml | 4 +- .../connectors/sinks/postgres_sink/Cargo.toml | 8 +- .../sources/elasticsearch_source/Cargo.toml | 4 +- .../sources/postgres_source/Cargo.toml | 8 +- core/consensus/Cargo.toml | 4 +- core/integration/Cargo.toml | 16 ++-- core/metadata/Cargo.toml | 10 +-- core/partitions/Cargo.toml | 2 +- core/server/Cargo.toml | 37 ++++----- examples/rust/Cargo.toml | 2 +- 20 files changed, 147 insertions(+), 100 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 519abbefde..0be7d8a9cc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -56,6 +56,9 @@ exclude = ["foreign/python"] resolver = "2" [workspace.dependencies] +actix-cors = "0.7.1" +actix-files = "0.6.9" +actix-web = "4.12.1" aes-gcm = "0.10.3" ahash = { version = "0.8.12", features = ["serde"] } anyhow = "1.0.100" @@ -63,6 +66,7 @@ argon2 = "0.5.3" arrow = "57.2.0" arrow-array = "57.2.0" arrow-json = "57.2.0" +assert_cmd = "2.1.2" async-broadcast = "0.7.2" async-channel = "2.5.0" async-dropper = { version = "0.3.1", features = ["tokio", "simple"] } @@ -96,6 +100,8 @@ bytes = "1.11.0" charming = "0.6.0" chrono = { version = "0.4.43", features = ["serde"] } clap = { version = "4.5.54", features = ["derive", "wrap_help"] } +clap_complete = "4.5.65" +clock = { path = "core/clock" } colored = "3.1.1" comfy-table = "7.2.2" compio = { version = "0.17.0", features = [ @@ -114,8 +120,12 @@ compio-tls = { version = "0.8.0", features = [ compio-ws = "0.2.0" configs = { path = "core/configs", version = "0.1.0" } configs_derive = { path = "core/configs_derive", version = "0.1.0" } +consensus = { path = "core/consensus" } console-subscriber = "0.5.0" crossbeam = "0.8.4" +ctor = "0.6.3" +ctrlc = { version = "3.5", features = ["termination"] } +cucumber = "0.22" cyper = { version = "0.7.1", features = ["rustls"], default-features = false } cyper-axum = { version = "0.7.1" } darling = "0.20" @@ -123,18 +133,28 @@ dashmap = "6.1.0" derive-new = "0.7.0" derive_builder = "0.20.2" derive_more = { version = "2.1.1", features = ["full"] } +dircpy = "0.3.19" dirs = "6.0.0" dlopen2 = "0.8.2" dotenvy = "0.15.7" +elasticsearch = { version = "9.1.0-alpha.1", features = ["rustls-tls"], default-features = false } enum_dispatch = "0.3.13" env_logger = "0.11.8" err_trail = { version = "0.11.0", features = ["tracing"] } error_set = "0.9.1" figlet-rs = "0.1.5" figment = { version = "0.10.19", features = ["toml", "env"] } +file-operation = "0.8.17" +flatbuffers = "25.12.19" flume = "0.12.0" futures = "0.3.31" futures-util = "0.3.31" +getrandom = { version = "0.3", features = ["wasm_js"] } +git2 = { version = "0.20.3", default-features = false, features = ["vendored-libgit2"] } +gloo = "0.11" +governor = "0.10.4" +hash32 = "1.0.0" +hostname = "0.4.2" human-repr = "1.1.0" humantime = "2.3.0" hwlocality = "1.0.0-alpha.11" @@ -145,15 +165,26 @@ iggy_binary_protocol = { path = "core/binary_protocol", version = "0.8.2-edge.2" iggy_common = { path = "core/common", version = "0.8.2-edge.2" } iggy_connector_sdk = { path = "core/connectors/sdk", version = "0.1.2-edge.1" } integration = { path = "core/integration" } +journal = { path = "core/journal" } +js-sys = "0.3" +jsonwebtoken = { version = "10.2.0", features = ["rust_crypto"] } keyring = { version = "3.6.3", features = ["sync-secret-service", "vendored"] } lazy_static = "1.5.0" left-right = "0.11" +lending-iterator = "0.1.7" +libc = "0.2.180" log = "0.4.29" +lz4_flex = "0.12.0" +message_bus = { path = "core/message_bus" } metadata = { path = "core/metadata" } mimalloc = "0.1" +mime_guess = "2.0" mockall = "0.14.0" +moka = { version = "0.12.13", features = ["future"] } nix = { version = "0.31.1", features = ["fs", "resource", "sched"] } nonzero_lit = "0.1.2" +notify = "8.2.0" +octocrab = "0.49.5" once_cell = "1.21.3" opentelemetry = { version = "0.31.0", features = ["trace", "logs"] } opentelemetry-appender-tracing = { version = "0.31.1", features = ["log"] } @@ -173,17 +204,26 @@ opentelemetry_sdk = { version = "0.31.0", features = [ "experimental_logs_batch_log_processor_with_async_runtime", "experimental_trace_batch_span_processor_with_async_runtime", ] } +papaya = "0.2.3" parquet = "57.2.0" +partitions = { path = "core/partitions" } passterm = "=2.0.1" +paste = "1.0" postcard = { version = "1.1.3", features = ["alloc"] } predicates = "3.1.3" proc-macro2 = "1" prometheus-client = "0.24.0" +prost = "0.14.3" +prost-types = "0.14.3" +protox = "0.9.1" +protox-parse = "0.9.0" quinn = "0.11.9" quote = "1" rand = "0.9.2" rand_xoshiro = "0.7.0" +rayon = "1.11.0" +rcgen = "0.14.7" regex = "1.12.2" reqwest = { version = "=0.12.28", default-features = false, features = [ "json", @@ -192,12 +232,18 @@ reqwest = { version = "=0.12.28", default-features = false, features = [ reqwest-middleware = { version = "=0.4.2", features = ["json"] } reqwest-retry = "=0.8.0" reqwest-tracing = "=0.5.8" +ring = "0.17.14" +ringbuffer = "0.16.0" +rmcp = "0.14.0" rmp-serde = "1.3.1" +rust-embed = "8.11.0" rust-s3 = { version = "0.37.1", default-features = false, features = [ "tokio-rustls-tls", "tags", ] } rustls = { version = "0.23.36", features = ["ring"] } +rustls-pemfile = "2.2.0" +send_wrapper = "0.6.0" serde = { version = "1.0.228", features = ["derive", "rc"] } serde_json = "1.0.149" serde_with = { version = "3.16.1", features = ["base64", "macros"] } @@ -206,12 +252,22 @@ serial_test = "3.3.1" server = { path = "core/server" } simd-json = { version = "0.17.0", features = ["serde_impl"] } slab = "0.4.11" +socket2 = "0.6.2" +sqlx = { version = "0.8.6", features = [ + "runtime-tokio-rustls", + "postgres", + "chrono", + "uuid", + "json", +] } +static-toml = "1.3.0" strum = { version = "0.27.2", features = ["derive"] } strum_macros = "0.27.2" syn = { version = "2", features = ["full", "extra-traits"] } sysinfo = "0.38.0" tempfile = "3.24.0" test-case = "3.3.1" +testcontainers-modules = { version = "0.14.0", features = ["postgres"] } thiserror = "2.0.18" tokio = { version = "1.49.0", features = ["full"] } tokio-rustls = "0.26.4" @@ -234,6 +290,7 @@ tracing-subscriber = { version = "0.3.22", default-features = false, features = trait-variant = "0.1.2" tungstenite = "0.28.0" twox-hash = { version = "2.1.2", features = ["xxhash32"] } +ulid = "1.2.1" uuid = { version = "1.20.0", features = [ "v4", "v7", @@ -241,16 +298,33 @@ uuid = { version = "1.20.0", features = [ "serde", "zerocopy", ] } +vergen-git2 = { version = "9.1.0", features = ["build", "cargo", "rustc", "si"] } +walkdir = "2.5.0" +wasm-bindgen = "0.2" +web-sys = { version = "0.3", features = [ + "Window", + "Location", + "HtmlSelectElement", + "Clipboard", + "Navigator", + "ResizeObserver", + "ResizeObserverEntry", +] } webpki-roots = "1.0.5" +yew = { version = "0.22", features = ["csr"] } +yew-router = "0.19" zip = { version = "7.2.0", default-features = false, features = ["deflate"] } [profile.release] lto = true codegen-units = 1 -# [profile.dev] -# opt-level = 1 - +# Selectively optimize CPU-intensive dependencies in dev profile: +# - argon2: password hashing +# - twox-hash: checksum calculation +# - rand_chacha: random number generation +# - iggy_common: wrapper functions for above +# This is faster than global opt-level=1 which adds significant compile time. [profile.dev.package.argon2] opt-level = 3 diff --git a/bdd/rust/Cargo.toml b/bdd/rust/Cargo.toml index 5f8fe779b3..e330874705 100644 --- a/bdd/rust/Cargo.toml +++ b/bdd/rust/Cargo.toml @@ -27,7 +27,7 @@ bdd = [] [dev-dependencies] bytes = { workspace = true } -cucumber = "0.22" +cucumber = { workspace = true } iggy = { workspace = true } integration = { workspace = true } tokio = { workspace = true } diff --git a/core/ai/mcp/Cargo.toml b/core/ai/mcp/Cargo.toml index d7b781f5ee..ac05978a54 100644 --- a/core/ai/mcp/Cargo.toml +++ b/core/ai/mcp/Cargo.toml @@ -42,7 +42,7 @@ opentelemetry-otlp = { workspace = true } opentelemetry-semantic-conventions = { workspace = true } opentelemetry_sdk = { workspace = true, features = ["rt-tokio"] } reqwest = { workspace = true } -rmcp = { version = "0.14.0", features = [ +rmcp = { workspace = true, features = [ "server", "transport-io", "transport-streamable-http-server", diff --git a/core/bench/Cargo.toml b/core/bench/Cargo.toml index ea475e412f..459ed102f2 100644 --- a/core/bench/Cargo.toml +++ b/core/bench/Cargo.toml @@ -39,13 +39,13 @@ chrono = { workspace = true } clap = { workspace = true } figlet-rs = { workspace = true } futures-util = { workspace = true } -governor = "0.10.4" -hostname = "0.4.2" +governor = { workspace = true } +hostname = { workspace = true } human-repr = { workspace = true } iggy = { workspace = true } nonzero_lit = { workspace = true } rand = { workspace = true } -rayon = "1.11.0" +rayon = { workspace = true } serde = { workspace = true } sysinfo = { workspace = true } tokio = { workspace = true } diff --git a/core/bench/dashboard/frontend/Cargo.toml b/core/bench/dashboard/frontend/Cargo.toml index af2c48c4ca..11c352606c 100644 --- a/core/bench/dashboard/frontend/Cargo.toml +++ b/core/bench/dashboard/frontend/Cargo.toml @@ -29,21 +29,13 @@ bench-dashboard-shared = { workspace = true } bench-report = { workspace = true } charming = { workspace = true, features = ["wasm"] } chrono = { workspace = true } -getrandom = { version = "0.3", features = ["wasm_js"] } -gloo = "0.11" -js-sys = "0.3" +getrandom = { workspace = true } +gloo = { workspace = true } +js-sys = { workspace = true } serde_json = { workspace = true } thiserror = { workspace = true } uuid = { workspace = true, features = ["js"] } -wasm-bindgen = "0.2" -web-sys = { version = "0.3", features = [ - "Window", - "Location", - "HtmlSelectElement", - "Clipboard", - "Navigator", - "ResizeObserver", - "ResizeObserverEntry", -] } -yew = { version = "0.22", features = ["csr"] } -yew-router = "0.19" +wasm-bindgen = { workspace = true } +web-sys = { workspace = true } +yew = { workspace = true } +yew-router = { workspace = true } diff --git a/core/bench/dashboard/server/Cargo.toml b/core/bench/dashboard/server/Cargo.toml index 0ae74810b4..06367c2718 100644 --- a/core/bench/dashboard/server/Cargo.toml +++ b/core/bench/dashboard/server/Cargo.toml @@ -22,17 +22,17 @@ version = "0.5.1-edge.1" edition = "2024" [dependencies] -actix-cors = "0.7.1" -actix-files = "0.6.9" -actix-web = "4.12.1" -bench-dashboard-shared = { path = "../shared" } +actix-cors = { workspace = true } +actix-files = { workspace = true } +actix-web = { workspace = true } +bench-dashboard-shared = { workspace = true } bench-report = { workspace = true } chrono = { workspace = true, features = ["serde"] } clap = { workspace = true } dashmap = { workspace = true } -file-operation = "0.8.17" -notify = "8.2.0" -octocrab = "0.49.5" +file-operation = { workspace = true } +notify = { workspace = true } +octocrab = { workspace = true } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } tempfile = { workspace = true } @@ -41,5 +41,5 @@ tokio = { workspace = true } tracing = { workspace = true } tracing-subscriber = { workspace = true } uuid = { workspace = true } -walkdir = "2.5.0" +walkdir = { workspace = true } zip = { workspace = true, features = ["deflate"] } diff --git a/core/bench/runner/Cargo.toml b/core/bench/runner/Cargo.toml index 87fa62c8ab..c2b724c2ac 100644 --- a/core/bench/runner/Cargo.toml +++ b/core/bench/runner/Cargo.toml @@ -28,10 +28,8 @@ path = "src/main.rs" [dependencies] anyhow = { workspace = true } clap = { workspace = true } -dircpy = "0.3.19" -git2 = { version = "0.20.3", default-features = false, features = [ - "vendored-libgit2", -] } +dircpy = { workspace = true } +git2 = { workspace = true } tempfile = { workspace = true } tokio = { workspace = true } tracing = { workspace = true } diff --git a/core/cli/Cargo.toml b/core/cli/Cargo.toml index a7f2b5382c..7a669b8fc0 100644 --- a/core/cli/Cargo.toml +++ b/core/cli/Cargo.toml @@ -43,7 +43,7 @@ login-session = ["dep:keyring"] ahash = { workspace = true } anyhow = { workspace = true } clap = { workspace = true } -clap_complete = "4.5.65" +clap_complete = { workspace = true } figlet-rs = { workspace = true } iggy = { workspace = true } iggy_binary_protocol = { workspace = true } diff --git a/core/common/Cargo.toml b/core/common/Cargo.toml index 384e2c8e9d..74f1b27a03 100644 --- a/core/common/Cargo.toml +++ b/core/common/Cargo.toml @@ -50,8 +50,8 @@ human-repr = { workspace = true } humantime = { workspace = true } nix = { workspace = true } once_cell = { workspace = true } -rcgen = "0.14.7" -ring = "0.17.14" +rcgen = { workspace = true } +ring = { workspace = true } rustls = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } diff --git a/core/connectors/sdk/Cargo.toml b/core/connectors/sdk/Cargo.toml index fced2f289c..4d03859c46 100644 --- a/core/connectors/sdk/Cargo.toml +++ b/core/connectors/sdk/Cargo.toml @@ -33,17 +33,17 @@ ignored = ["prost"] [dependencies] async-trait = { workspace = true } -base64 = "0.22.1" +base64 = { workspace = true } chrono = { workspace = true } dashmap = { workspace = true } -flatbuffers = "25.12.19" +flatbuffers = { workspace = true } iggy = { workspace = true } once_cell = { workspace = true } postcard = { workspace = true } -prost = "0.14.3" -prost-types = "0.14.3" -protox = "0.9.1" -protox-parse = "0.9.0" +prost = { workspace = true } +prost-types = { workspace = true } +protox = { workspace = true } +protox-parse = { workspace = true } regex = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } diff --git a/core/connectors/sinks/elasticsearch_sink/Cargo.toml b/core/connectors/sinks/elasticsearch_sink/Cargo.toml index 633effbf0f..7ede4457af 100644 --- a/core/connectors/sinks/elasticsearch_sink/Cargo.toml +++ b/core/connectors/sinks/elasticsearch_sink/Cargo.toml @@ -39,8 +39,8 @@ async-trait = { workspace = true } base64 = { workspace = true } chrono = { workspace = true } dashmap = { workspace = true } -elasticsearch = { version = "9.1.0-alpha.1", features = ["rustls-tls"], default-features = false } -iggy_connector_sdk = { path = "../../sdk" } +elasticsearch = { workspace = true } +iggy_connector_sdk = { workspace = true } once_cell = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } diff --git a/core/connectors/sinks/postgres_sink/Cargo.toml b/core/connectors/sinks/postgres_sink/Cargo.toml index 218a0635cf..bfc5ead2c6 100644 --- a/core/connectors/sinks/postgres_sink/Cargo.toml +++ b/core/connectors/sinks/postgres_sink/Cargo.toml @@ -45,12 +45,6 @@ once_cell = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } simd-json = { workspace = true } -sqlx = { version = "0.8", features = [ - "runtime-tokio-rustls", - "postgres", - "chrono", - "uuid", - "json", -] } +sqlx = { workspace = true } tokio = { workspace = true } tracing = { workspace = true } diff --git a/core/connectors/sources/elasticsearch_source/Cargo.toml b/core/connectors/sources/elasticsearch_source/Cargo.toml index 3f53386cbc..206a9ee67a 100644 --- a/core/connectors/sources/elasticsearch_source/Cargo.toml +++ b/core/connectors/sources/elasticsearch_source/Cargo.toml @@ -38,9 +38,9 @@ crate-type = ["cdylib", "lib"] async-trait = { workspace = true } chrono = { workspace = true } dashmap = { workspace = true } -elasticsearch = { version = "9.1.0-alpha.1", features = ["rustls-tls"], default-features = false } +elasticsearch = { workspace = true } humantime = { workspace = true } -iggy_connector_sdk = { path = "../../sdk" } +iggy_connector_sdk = { workspace = true } once_cell = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } diff --git a/core/connectors/sources/postgres_source/Cargo.toml b/core/connectors/sources/postgres_source/Cargo.toml index 694235390e..4c5ed6bcc7 100644 --- a/core/connectors/sources/postgres_source/Cargo.toml +++ b/core/connectors/sources/postgres_source/Cargo.toml @@ -50,13 +50,7 @@ once_cell = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } simd-json = { workspace = true } -sqlx = { version = "0.8.6", features = [ - "runtime-tokio-rustls", - "postgres", - "chrono", - "uuid", - "json", -] } +sqlx = { workspace = true } tokio = { workspace = true } tracing = { workspace = true } uuid = { workspace = true } diff --git a/core/consensus/Cargo.toml b/core/consensus/Cargo.toml index 2060b4bd25..8c2dd99232 100644 --- a/core/consensus/Cargo.toml +++ b/core/consensus/Cargo.toml @@ -29,7 +29,7 @@ readme = "../../../README.md" [dependencies] bit-set = { workspace = true } -iggy_common = { path = "../common" } -message_bus = { path = "../message_bus" } +iggy_common = { workspace = true } +message_bus = { workspace = true } rand = { workspace = true } rand_xoshiro = { workspace = true } diff --git a/core/integration/Cargo.toml b/core/integration/Cargo.toml index e0eef83e6c..f0b743f5aa 100644 --- a/core/integration/Cargo.toml +++ b/core/integration/Cargo.toml @@ -29,7 +29,7 @@ ci-qemu = [] [dependencies] ahash = { workspace = true } anyhow = { workspace = true } -assert_cmd = "2.1.2" +assert_cmd = { workspace = true } async-trait = { workspace = true } bon = { workspace = true } bytes = { workspace = true } @@ -37,7 +37,7 @@ chrono = { workspace = true } compio = { workspace = true } configs = { workspace = true } configs_derive = { workspace = true } -ctor = "0.6.3" +ctor = { workspace = true } derive_more = { workspace = true } env_logger = { workspace = true } figment = { workspace = true } @@ -48,16 +48,16 @@ iggy_binary_protocol = { workspace = true } iggy_common = { workspace = true } keyring = { workspace = true } lazy_static = { workspace = true } -libc = "0.2.180" +libc = { workspace = true } log = { workspace = true } once_cell = { workspace = true } predicates = { workspace = true } rand = { workspace = true } -rcgen = "0.14.7" +rcgen = { workspace = true } reqwest = { workspace = true } reqwest-middleware = { workspace = true } reqwest-retry = { workspace = true } -rmcp = { version = "0.14.0", features = [ +rmcp = { workspace = true, features = [ "client", "reqwest", "transport-streamable-http-client", @@ -67,13 +67,13 @@ serde = { workspace = true } serde_json = { workspace = true } serial_test = { workspace = true } server = { workspace = true } -socket2 = "0.6.2" -sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "postgres", "chrono"] } +socket2 = { workspace = true } +sqlx = { workspace = true } strum = { workspace = true } strum_macros = { workspace = true } tempfile = { workspace = true } test-case = { workspace = true } -testcontainers-modules = { version = "0.14.0", features = ["postgres"] } +testcontainers-modules = { workspace = true } tokio = { workspace = true } tracing = { workspace = true } twox-hash = { workspace = true } diff --git a/core/metadata/Cargo.toml b/core/metadata/Cargo.toml index 6dda4bdeb7..193bf5788f 100644 --- a/core/metadata/Cargo.toml +++ b/core/metadata/Cargo.toml @@ -29,11 +29,11 @@ readme = "../../../README.md" [dependencies] ahash = { workspace = true } -consensus = { path = "../consensus" } -iggy_common = { path = "../common" } -journal = { path = "../journal" } +consensus = { workspace = true } +iggy_common = { workspace = true } +journal = { workspace = true } left-right = { workspace = true } -message_bus = { path = "../message_bus" } -paste = "1.0" +message_bus = { workspace = true } +paste = { workspace = true } slab = { workspace = true } tracing = { workspace = true } diff --git a/core/partitions/Cargo.toml b/core/partitions/Cargo.toml index 2a343ba433..76064f3007 100644 --- a/core/partitions/Cargo.toml +++ b/core/partitions/Cargo.toml @@ -28,4 +28,4 @@ repository = "https://github.com/apache/iggy" readme = "../../README.md" [dependencies] -iggy_common = { path = "../common" } +iggy_common = { workspace = true } diff --git a/core/server/Cargo.toml b/core/server/Cargo.toml index c2644498df..6789e6cb0c 100644 --- a/core/server/Cargo.toml +++ b/core/server/Cargo.toml @@ -54,7 +54,7 @@ compio-quic = { workspace = true } compio-tls = { workspace = true } compio-ws = { workspace = true } configs = { workspace = true } -ctrlc = { version = "3.5", features = ["termination"] } +ctrlc = { workspace = true } cyper = { workspace = true } cyper-axum = { workspace = true } dashmap = { workspace = true } @@ -67,37 +67,37 @@ figlet-rs = { workspace = true } figment = { workspace = true } flume = { workspace = true } futures = { workspace = true } -hash32 = "1.0.0" +hash32 = { workspace = true } human-repr = { workspace = true } iggy_common = { workspace = true } -jsonwebtoken = { version = "10.2.0", features = ["rust_crypto"] } +jsonwebtoken = { workspace = true } left-right = { workspace = true } -lending-iterator = "0.1.7" +lending-iterator = { workspace = true } metadata = { workspace = true } mimalloc = { workspace = true, optional = true } -mime_guess = { version = "2.0", optional = true } -moka = { version = "0.12.13", features = ["future"] } +mime_guess = { workspace = true, optional = true } +moka = { workspace = true } nix = { workspace = true } opentelemetry = { workspace = true } opentelemetry-appender-tracing = { workspace = true } opentelemetry-otlp = { workspace = true } opentelemetry-semantic-conventions = { workspace = true } opentelemetry_sdk = { workspace = true } -papaya = "0.2.3" +papaya = { workspace = true } prometheus-client = { workspace = true } rand = { workspace = true } reqwest = { workspace = true, features = ["rustls-tls-no-provider"] } -ringbuffer = "0.16.0" +ringbuffer = { workspace = true } rmp-serde = { workspace = true } -rust-embed = { version = "8.11.0", optional = true } +rust-embed = { workspace = true, optional = true } rustls = { workspace = true } -rustls-pemfile = "2.2.0" -send_wrapper = "0.6.0" +rustls-pemfile = { workspace = true } +send_wrapper = { workspace = true } serde = { workspace = true } serde_with = { workspace = true } slab = { workspace = true } -socket2 = "0.6.2" -static-toml = "1.3.0" +socket2 = { workspace = true } +static-toml = { workspace = true } strum = { workspace = true } sysinfo = { workspace = true } tempfile = { workspace = true } @@ -110,7 +110,7 @@ tracing-appender = { workspace = true } tracing-opentelemetry = { workspace = true } tracing-subscriber = { workspace = true } tungstenite = { workspace = true } -ulid = "1.2.1" +ulid = { workspace = true } uuid = { workspace = true } [target.'cfg(not(target_env = "musl"))'.dependencies] @@ -120,10 +120,5 @@ hwlocality = { workspace = true } hwlocality = { workspace = true, features = ["vendored"] } [build-dependencies] -figment = { version = "0.10.19", features = ["json", "toml", "env"] } -vergen-git2 = { version = "9.1.0", features = [ - "build", - "cargo", - "rustc", - "si", -] } +figment = { workspace = true, features = ["json", "toml", "env"] } +vergen-git2 = { workspace = true } diff --git a/examples/rust/Cargo.toml b/examples/rust/Cargo.toml index 0dc7694ac5..5139792498 100644 --- a/examples/rust/Cargo.toml +++ b/examples/rust/Cargo.toml @@ -29,7 +29,7 @@ chrono = { workspace = true } clap = { workspace = true } futures-util = { workspace = true } iggy = { workspace = true } -lz4_flex = "0.12.0" +lz4_flex = { workspace = true } rand = { workspace = true } serde = { workspace = true } serde_json = { workspace = true }