Skip to content

Commit

Permalink
chore(deps): promote tokio to workspace deps
Browse files Browse the repository at this point in the history
  • Loading branch information
loyd committed Jul 12, 2024
1 parent afbfd58 commit 081cf50
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 13 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ readme = "README.md"
rust-version = "1.76.0" # update CI if changed

[workspace.dependencies]
tokio = "1.37"
stability = "0.2.0"
metrics = "0.17.1"
dashmap = "6.0.1"
Expand Down
2 changes: 1 addition & 1 deletion benches/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ elfo = { path = "../elfo" }
elfo-utils = { version = "0.2.5", path = "../elfo-utils" }

metrics.workspace = true
tokio = { workspace = true, features = ["rt-multi-thread"] }
criterion = "0.5.1"
tokio = { version = "1.36.0", features = ["rt-multi-thread"] }
futures = "0.3"
derive_more = "0.99.17"
mimalloc = { version = "0.1.39", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion elfo-configurer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ workspace = true
elfo-core = { version = "0.2.0-alpha.15", path = "../elfo-core", features = ["unstable"] }

toml.workspace = true
tokio = { version = "1", features = ["fs"] }
tokio = { workspace = true, features = ["fs"] }
serde = { version = "1.0.120", features = ["derive", "rc"] }
serde-value = "0.7.0"
futures = "0.3.12"
Expand Down
4 changes: 2 additions & 2 deletions elfo-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ elfo-utils = { version = "0.2.5", path = "../elfo-utils" }
stability.workspace = true
metrics.workspace = true
dashmap.workspace = true
tokio = { version = "1.37", features = ["rt", "sync", "time", "signal", "macros"] }
tokio = { workspace = true, features = ["rt", "sync", "time", "signal", "macros"] }
idr-ebr = "0.2"
futures-intrusive = "0.5"
cordyceps = "0.3.2"
Expand Down Expand Up @@ -59,8 +59,8 @@ humantime-serde = "1"
[dev-dependencies]
elfo-utils = { version = "0.2.5", path = "../elfo-utils", features = ["test-util"] }

tokio = { workspace = true, features = ["full"] }
anyhow = "1.0.40"
tokio = { version = "1", features = ["full"] }
proptest = "1.4.0"

[package.metadata.docs.rs]
Expand Down
2 changes: 1 addition & 1 deletion elfo-dumper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ elfo-utils = { version = "0.2.5", path = "../elfo-utils" }

metrics.workspace = true
bytesize.workspace = true
tokio = { version = "1", features = ["fs", "io-util", "sync"] }
tokio = { workspace = true, features = ["fs", "io-util", "sync"] }
serde = { version = "1.0.120", features = ["derive"] }
tracing = "0.1.25"
fxhash = "0.2.1"
Expand Down
2 changes: 1 addition & 1 deletion elfo-logger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ elfo-utils = { version = "0.2.5", path = "../elfo-utils" }

metrics.workspace = true
dashmap.workspace = true
tokio = { workspace = true, features = ["macros", "fs", "io-util"] }
arc-swap = "1.2.0"
once_cell = { version = "1.8.0", features = ["parking_lot"] }
derive_more = "0.99.11"
futures-intrusive = "0.5"
tokio = { version = "1.5", features = ["macros", "fs", "io-util"] }
atty = "0.2.14"
serde = { version = "1.0.120", features = ["derive"] }
parking_lot = "0.12"
Expand Down
2 changes: 1 addition & 1 deletion elfo-network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ static_assertions = "1.1.0"
eyre = "0.6.8"
fxhash = "0.2.1"
futures = "0.3.21"
tokio = { version = "1.19.2", features = ["net", "io-util"] }
tokio = { workspace = true, features = ["net", "io-util"] }
tokio-util = "0.7"
tracing = "0.1.25"
parking_lot = "0.12"
Expand Down
2 changes: 1 addition & 1 deletion elfo-pinger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ workspace = true
elfo-core = { version = "0.2.0-alpha.15", path = "../elfo-core", features = ["unstable"] }
elfo-utils = { version = "0.2.5", path = "../elfo-utils" }

tokio = { version = "1", features = ["time"] }
tokio = { workspace = true, features = ["time"] }
serde = { version = "1.0.120", features = ["derive"] }
humantime-serde = "1"
tracing = "0.1.25"
4 changes: 2 additions & 2 deletions elfo-telemeter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ elfo-core = { version = "0.2.0-alpha.15", path = "../elfo-core", features = ["un

stability.workspace = true
metrics.workspace = true
tokio = "1"
tokio.workspace = true
hyper = { version = "1.0.1", features = ["server", "http1"] }
hyper-util = { version = "0.1.3", features = ["tokio"] }
http-body-util = "0.1"
Expand All @@ -44,7 +44,7 @@ flate2 = "1"
[dev-dependencies]
elfo-configurer = { path = "../elfo-configurer" }

tokio = { workspace = true, features = ["rt-multi-thread"] }
toml.workspace = true
criterion = "0.5.1"
proptest = "1.4"
tokio = { version = "1.36.0", features = ["rt-multi-thread"] }
2 changes: 1 addition & 1 deletion elfo-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ 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" }

tokio.workspace = true
stability.workspace = true
tokio = "1"
serde = { version = "1.0.120", features = ["derive", "rc"] }
serde-value = "0.7.0"
futures-intrusive = "0.5"
Expand Down
2 changes: 1 addition & 1 deletion elfo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ elfo-test = { version = "0.2.0-alpha.15", path = "../elfo-test" }

metrics.workspace = true
toml.workspace = true
tokio = { workspace = true, features = ["full"] }
anyhow = "1.0.38"
futures = "0.3.12"
derive_more = "0.99.11"
tokio = { version = "1", features = ["full"] }
tracing = "0.1.25"
tracing-subscriber = "0.3"
serde = { version = "1.0.120", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ unstable = ["elfo/unstable", "elfo-telemeter/unstable"]
elfo = { path = "../elfo", features = ["full", "network", "test-util"] }
elfo-telemeter = { path = "../elfo-telemeter" } # for `AllocatorStats`

tokio = { workspace = true, features = ["full"] }
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"
humantime-serde = "1"
Expand Down

0 comments on commit 081cf50

Please sign in to comment.