chore: replace tokio features=["full"] with workspace defaults in 5 crates
Workspace tokio already specifies the needed features (rt-multi-thread, macros, net, sync, time, fs, signal, io-util, test-util). Three crates (test_common, test_harness, vault_integration) were skipped because they are not workspace members and cannot use workspace = true. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -17,7 +17,7 @@ categories.workspace = true
|
||||
clap = { version = "4.5", features = ["derive", "env", "color"] }
|
||||
|
||||
# Async Runtime
|
||||
tokio = { version = "1.40", features = ["full"] }
|
||||
tokio = { workspace = true }
|
||||
|
||||
# HTTP Client
|
||||
reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false }
|
||||
|
||||
@@ -9,7 +9,7 @@ database = { path = "../database" }
|
||||
sqlx = { workspace = true }
|
||||
|
||||
# Async runtime and concurrency
|
||||
tokio = { version = "1.0", features = ["full"] }
|
||||
tokio = { workspace = true }
|
||||
futures = "0.3"
|
||||
|
||||
# Serialization and data handling
|
||||
|
||||
@@ -9,7 +9,7 @@ path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
# Core async runtime
|
||||
tokio = { version = "1.42", features = ["full"] }
|
||||
tokio = { workspace = true }
|
||||
tokio-stream = "0.1"
|
||||
futures = "0.3"
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
# Core async runtime
|
||||
tokio = { workspace = true, features = ["full", "test-util"] }
|
||||
tokio = { workspace = true }
|
||||
tokio-stream.workspace = true
|
||||
futures.workspace = true
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
# Core async runtime
|
||||
tokio = { version = "1.0", features = ["full"] }
|
||||
tokio = { workspace = true }
|
||||
tokio-test = "0.4"
|
||||
tokio-stream = "0.1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user