diff --git a/Cargo.toml b/Cargo.toml index 38c3dc91..60598326 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,6 +26,9 @@ edition = "2021" readme = "README.md" [workspace.dependencies] +stability = "0.2.0" +metrics = "0.17.1" +toml = "0.8.14" bytesize = { version = "1.2.0", features = ["serde"] } [workspace.lints.rust] diff --git a/benches/Cargo.toml b/benches/Cargo.toml index 237aa0b8..7bd5f663 100644 --- a/benches/Cargo.toml +++ b/benches/Cargo.toml @@ -13,9 +13,9 @@ readme.workspace = true elfo = { path = "../elfo" } elfo-utils = { version = "0.2.5", path = "../elfo-utils" } +metrics.workspace = true criterion = "0.5.1" tokio = { version = "1.36.0", features = ["rt-multi-thread"] } -metrics = "0.17" futures = "0.3" derive_more = "0.99.17" mimalloc = { version = "0.1.39", default-features = false } diff --git a/elfo-configurer/Cargo.toml b/elfo-configurer/Cargo.toml index 18f15651..ead87d51 100644 --- a/elfo-configurer/Cargo.toml +++ b/elfo-configurer/Cargo.toml @@ -16,7 +16,7 @@ workspace = true [dependencies] elfo-core = { version = "0.2.0-alpha.15", path = "../elfo-core", features = ["unstable"] } -toml = "0.7" +toml.workspace = true tokio = { version = "1", features = ["fs"] } serde = { version = "1.0.120", features = ["derive", "rc"] } serde-value = "0.7.0" diff --git a/elfo-core/Cargo.toml b/elfo-core/Cargo.toml index 879d80c4..86665ef8 100644 --- a/elfo-core/Cargo.toml +++ b/elfo-core/Cargo.toml @@ -23,6 +23,8 @@ unstable-stuck-detection = ["dep:thread_local"] elfo-macros = { version = "0.2.0-alpha.15", path = "../elfo-macros" } elfo-utils = { version = "0.2.5", path = "../elfo-utils" } +stability.workspace = true +metrics.workspace = true tokio = { version = "1.16", features = ["rt", "sync", "time", "signal", "macros"] } idr-ebr = "0.2" futures-intrusive = "0.5" @@ -33,7 +35,6 @@ serde = { version = "1.0.120", features = ["derive", "rc"] } derive_more = "0.99.11" tracing = "0.1.25" tracing-subscriber = { version = "0.3.2", default-features = false, features = ["std", "smallvec"] } -metrics = "0.17" futures = "0.3.12" static_assertions = "1.1.0" dashmap = "5" @@ -46,12 +47,11 @@ arc-swap = "1.2.0" erased-serde = "0.4.0" pin-project = "1.0.8" sealed = "0.5" -stability = "0.1.1" once_cell = { version = "1.8.0", features = ["parking_lot"] } serde_json = { version = "1.0.64", features = ["raw_value"] } regex = "1.6.0" thread_local = { version = "1.1.3", optional = true } -unicycle = "0.9.3" +unicycle = "0.10.1" rmp-serde = { version = "1.1.0", optional = true } humantime-serde = "1" diff --git a/elfo-dumper/Cargo.toml b/elfo-dumper/Cargo.toml index 7c3d09a0..b3189d65 100644 --- a/elfo-dumper/Cargo.toml +++ b/elfo-dumper/Cargo.toml @@ -17,17 +17,17 @@ workspace = true elfo-core = { version = "0.2.0-alpha.15", path = "../elfo-core", features = ["unstable"] } elfo-utils = { version = "0.2.5", path = "../elfo-utils" } +metrics.workspace = true +bytesize.workspace = true tokio = { version = "1", features = ["fs", "io-util", "sync"] } serde = { version = "1.0.120", features = ["derive"] } derive_more = "0.99.11" serde-value = "0.7.0" futures = "0.3.12" tracing = "0.1.25" -metrics = "0.17" fxhash = "0.2.1" humantime-serde = "1" serde_json = "1.0.64" eyre = "0.6.5" parking_lot = "0.12" thread_local = "1.1.3" -bytesize.workspace = true diff --git a/elfo-logger/Cargo.toml b/elfo-logger/Cargo.toml index f5b26837..a61b06db 100644 --- a/elfo-logger/Cargo.toml +++ b/elfo-logger/Cargo.toml @@ -20,6 +20,7 @@ tracing-log = [ "dep:tracing-log", "log" ] elfo-core = { version = "0.2.0-alpha.15", path = "../elfo-core", features = ["unstable"] } elfo-utils = { version = "0.2.5", path = "../elfo-utils" } +metrics.workspace = true arc-swap = "1.2.0" once_cell = { version = "1.8.0", features = ["parking_lot"] } derive_more = "0.99.11" @@ -31,9 +32,8 @@ parking_lot = "0.12" sharded-slab = "0.1.7" tracing = "0.1.25" tracing-subscriber = { version = "0.3.2", features = ["env-filter", "parking_lot"] } -tracing-log = { version = "0.1.3", optional = true } +tracing-log = { version = "0.1.4", optional = true } log = { version = "0.4.20", optional = true } -metrics = "0.17" dashmap = "5" fxhash = "0.2.1" humantime = "2.1.0" diff --git a/elfo-network/Cargo.toml b/elfo-network/Cargo.toml index 5fc4200a..0a188399 100644 --- a/elfo-network/Cargo.toml +++ b/elfo-network/Cargo.toml @@ -17,6 +17,7 @@ workspace = true elfo-core = { version = "0.2.0-alpha.15", path = "../elfo-core", features = ["unstable", "network"] } elfo-utils = { version = "0.2.5", path = "../elfo-utils" } +metrics.workspace = true serde = { version = "1.0.120", features = ["derive"] } static_assertions = "1.1.0" eyre = "0.6.8" @@ -31,7 +32,6 @@ humantime-serde = "1" kanal = "0.1.0-pre8" dashmap = "5" futures-intrusive = "0.5" -metrics = "0.17" bitflags = "2.3.2" lz4_flex = "0.11.1" byteorder = "1.4.3" diff --git a/elfo-telemeter/Cargo.toml b/elfo-telemeter/Cargo.toml index c7a72090..67b8fa3f 100644 --- a/elfo-telemeter/Cargo.toml +++ b/elfo-telemeter/Cargo.toml @@ -24,13 +24,14 @@ unstable = [] elfo-core = { version = "0.2.0-alpha.15", path = "../elfo-core", features = ["unstable"] } # TODO: do not need elfo-utils = { version = "0.2.5", path = "../elfo-utils" } +stability.workspace = true +metrics.workspace = true tokio = "1" hyper = { version = "1.0.1", features = ["server", "http1"] } hyper-util = { version = "0.1.3", features = ["tokio"] } http-body-util = "0.1" serde = { version = "1.0.120", features = ["derive"] } -metrics = "0.17" -sketches-ddsketch = "0.2.2" +sketches-ddsketch = "0.3.0" seqlock = "0.2" thread_local = "1.1.8" tracing = "0.1.25" @@ -38,13 +39,12 @@ parking_lot = "0.12" fxhash = "0.2.1" humantime-serde = "1" cow-utils = "0.1.2" -stability = "0.1.1" flate2 = "1" [dev-dependencies] elfo-configurer = { path = "../elfo-configurer" } +toml.workspace = true criterion = "0.5.1" proptest = "1.4" tokio = { version = "1.36.0", features = ["rt-multi-thread"] } -toml = "0.7" diff --git a/elfo-test/Cargo.toml b/elfo-test/Cargo.toml index c50a7173..7ebdbeb7 100644 --- a/elfo-test/Cargo.toml +++ b/elfo-test/Cargo.toml @@ -20,6 +20,7 @@ unstable = [] elfo-core = { version = "0.2.0-alpha.15", path = "../elfo-core", features = ["test-util"] } elfo-configurer = { version = "0.2.0-alpha.15", path = "../elfo-configurer" } +stability.workspace = true tokio = "1" serde = { version = "1.0.120", features = ["derive", "rc"] } serde-value = "0.7.0" @@ -27,4 +28,3 @@ futures-intrusive = "0.5" futures = "0.3.12" tracing-subscriber = { version = "0.3", features = ["env-filter"] } once_cell = { version = "1.8.0" } -stability = "0.1.1" diff --git a/elfo/Cargo.toml b/elfo/Cargo.toml index c56157ff..481d8749 100644 --- a/elfo/Cargo.toml +++ b/elfo/Cargo.toml @@ -40,15 +40,15 @@ elfo-network = { version = "0.2.0-alpha.15", path = "../elfo-network", optional [dev-dependencies] elfo-test = { version = "0.2.0-alpha.15", path = "../elfo-test" } +metrics.workspace = true +toml.workspace = true anyhow = "1.0.38" futures = "0.3.12" derive_more = "0.99.11" tokio = { version = "1", features = ["full"] } tracing = "0.1.25" -metrics = "0.17" tracing-subscriber = "0.3" serde = { version = "1.0.120", features = ["derive"] } -toml = "0.7" humantime-serde = "1" criterion = "0.5.1" static_assertions = "1.1.0" diff --git a/examples/Cargo.toml b/examples/Cargo.toml index bc1e05f8..cbe53d86 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -16,12 +16,12 @@ unstable = ["elfo/unstable", "elfo-telemeter/unstable"] elfo = { path = "../elfo", features = ["full", "network", "test-util"] } elfo-telemeter = { path = "../elfo-telemeter" } # for `AllocatorStats` +metrics.workspace = true +toml.workspace = true anyhow = "1.0.40" futures = "0.3.12" tokio = { version = "1", features = ["full"] } serde = { version = "1.0.120", features = ["derive"] } derive_more = "0.99.11" -metrics = "0.17" humantime-serde = "1" tracing = "0.1.25" -toml = "0.7"