Skip to content
This repository was archived by the owner on Jan 18, 2026. It is now read-only.

Commit 8f61d01

Browse files
chore: move the same deps in different members to workspace deps (#5)
1 parent 1329e47 commit 8f61d01

File tree

5 files changed

+18
-17
lines changed

5 files changed

+18
-17
lines changed

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@ license-file = "LICENCE"
1010
[workspace.dependencies]
1111
md-5 = "0.10.6"
1212
hex = "0.4.3"
13+
tracing = "0.1.41"
14+
tokio = { version = "1.43.0", features = [
15+
"net",
16+
"io-util",
17+
"time",
18+
"macros",
19+
"rt-multi-thread",
20+
"signal",
21+
"tracing",
22+
] }
1323

1424
[profile.release]
1525
opt-level = 2

examples/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ license-file.workspace = true
77

88
[dependencies]
99
mania = { path = "../mania" }
10-
tracing = "0.1.41"
10+
tracing.workspace = true
1111
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
1212
console-subscriber = { version = "0.4.1", optional = true }
13-
tokio = { version = "1.43.0", features = ["full"] }
13+
tokio.workspace = true
1414

1515
[features]
1616
default = []

mania-macros/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ proc-macro = true
1010
syn = { version = "2.0.96", features = ["full"] }
1111
quote = "1.0"
1212
proc-macro2 = "1.0.93"
13-
hex = { workspace = true }
14-
md-5 = { workspace = true }
13+
hex.workspace = true
14+
md-5.workspace = true

mania/Cargo.toml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,10 @@ rand = "0.8.5"
2020
serde = { version = "1.0.217", features = ["derive"] }
2121
surge-ping = "0.8.1"
2222
thiserror = "2.0.11"
23-
tokio = { version = "1.43.0", features = [
24-
"net",
25-
"io-util",
26-
"time",
27-
"macros",
28-
"rt-multi-thread",
29-
"signal",
30-
"tracing",
31-
] }
32-
tracing = "0.1.41"
23+
tokio.workspace = true
24+
tracing.workspace = true
3325
uuid = { version = "1.12.0", features = ["serde", "v4"] }
34-
hex = { workspace = true }
26+
hex.workspace = true
3527
reqwest = { version = "0.12.12", default-features = false, features = [
3628
"rustls-tls",
3729
"charset",
@@ -43,7 +35,7 @@ futures = "0.3.31"
4335
inventory = "0.3.17"
4436
once_cell = "1.20.2"
4537
p256 = { version = "0.13.2", features = ["ecdh"] }
46-
md-5 = { workspace = true }
38+
md-5.workspace = true
4739
elliptic-curve = "0.13.8"
4840
log = "0.4.25"
4941
rand_chacha = "0.3.1"

0 commit comments

Comments
 (0)