diff --git a/Cargo.lock b/Cargo.lock index d2c6525..fb21492 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2276,7 +2276,6 @@ dependencies = [ "bytes", "libc", "mio", - "parking_lot", "pin-project-lite", "signal-hook-registry", "socket2", diff --git a/Cargo.toml b/Cargo.toml index 49bcc88..31d3948 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 973ef73..fbe9d96 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -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 = [] diff --git a/mania-macros/Cargo.toml b/mania-macros/Cargo.toml index 218b3e7..fb8f5dd 100644 --- a/mania-macros/Cargo.toml +++ b/mania-macros/Cargo.toml @@ -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 diff --git a/mania/Cargo.toml b/mania/Cargo.toml index 91861ec..28b776a 100644 --- a/mania/Cargo.toml +++ b/mania/Cargo.toml @@ -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", @@ -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"