chore(deps): localize workspace dependency features (#4888)

Move workspace-level dependency feature lists into the member crates that consume each dependency while keeping required default-features flags at the workspace root.

Also refresh starshard to 2.2.2 via cargo update and cargo upgrade --exclude ratelimit.

Co-authored-by: heihutu <heihutu@gmail.com>
This commit is contained in:
houseme
2026-07-16 11:55:27 +08:00
committed by GitHub
parent 0fa6dc5946
commit f3a7a4b0da
46 changed files with 403 additions and 402 deletions
+5 -5
View File
@@ -28,22 +28,22 @@ categories = ["web-programming", "development-tools"]
doctest = false
[dependencies]
bytes.workspace = true
bytes = { workspace = true, features = ["serde"] }
metrics = { workspace = true }
moka = { workspace = true, features = ["future"] }
starshard.workspace = true
starshard = { workspace = true, features = ["rayon", "async", "serde"] }
sysinfo = { workspace = true, features = ["multithread"] }
thiserror.workspace = true
tokio = { workspace = true, features = ["sync", "rt", "time"] }
tokio = { workspace = true, features = ["sync", "rt", "time", "fs", "rt-multi-thread"] }
tracing.workspace = true
[dev-dependencies]
criterion = { workspace = true }
criterion = { workspace = true, features = ["html_reports"] }
metrics-util = { version = "0.20", features = ["debugging"] }
# `rt-multi-thread` lets the concurrency stress tests run tasks on real worker
# threads, so they exercise true parallelism on the shared singleflight/index
# state rather than only cooperative interleaving.
tokio = { workspace = true, features = ["macros", "rt", "rt-multi-thread", "time"] }
tokio = { workspace = true, features = ["macros", "rt", "rt-multi-thread", "time", "fs"] }
[[bench]]
name = "cache_bench"