Skip to content

Commit

Permalink
chore: move the same deps in different members to workspace deps (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulic-youthlic authored Feb 5, 2025
1 parent 1329e47 commit 8f61d01
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 17 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ license-file = "LICENCE"
[workspace.dependencies]
md-5 = "0.10.6"
hex = "0.4.3"
tracing = "0.1.41"
tokio = { version = "1.43.0", features = [
"net",
"io-util",
"time",
"macros",
"rt-multi-thread",
"signal",
"tracing",
] }

[profile.release]
opt-level = 2
Expand Down
4 changes: 2 additions & 2 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ license-file.workspace = true

[dependencies]
mania = { path = "../mania" }
tracing = "0.1.41"
tracing.workspace = true
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
console-subscriber = { version = "0.4.1", optional = true }
tokio = { version = "1.43.0", features = ["full"] }
tokio.workspace = true

[features]
default = []
Expand Down
4 changes: 2 additions & 2 deletions mania-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ proc-macro = true
syn = { version = "2.0.96", features = ["full"] }
quote = "1.0"
proc-macro2 = "1.0.93"
hex = { workspace = true }
md-5 = { workspace = true }
hex.workspace = true
md-5.workspace = true
16 changes: 4 additions & 12 deletions mania/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,10 @@ rand = "0.8.5"
serde = { version = "1.0.217", features = ["derive"] }
surge-ping = "0.8.1"
thiserror = "2.0.11"
tokio = { version = "1.43.0", features = [
"net",
"io-util",
"time",
"macros",
"rt-multi-thread",
"signal",
"tracing",
] }
tracing = "0.1.41"
tokio.workspace = true
tracing.workspace = true
uuid = { version = "1.12.0", features = ["serde", "v4"] }
hex = { workspace = true }
hex.workspace = true
reqwest = { version = "0.12.12", default-features = false, features = [
"rustls-tls",
"charset",
Expand All @@ -43,7 +35,7 @@ futures = "0.3.31"
inventory = "0.3.17"
once_cell = "1.20.2"
p256 = { version = "0.13.2", features = ["ecdh"] }
md-5 = { workspace = true }
md-5.workspace = true
elliptic-curve = "0.13.8"
log = "0.4.25"
rand_chacha = "0.3.1"
Expand Down

0 comments on commit 8f61d01

Please sign in to comment.