Use workspace inheritance for some more dependencies (#5349)
Deduplicate some dependency directives through `[workspace.dependencies]`
This commit is contained in:
@@ -19,13 +19,13 @@ links = "wasi-common-19"
|
||||
|
||||
[dependencies]
|
||||
anyhow = { workspace = true }
|
||||
thiserror = "1.0"
|
||||
thiserror = { workspace = true }
|
||||
wiggle = { workspace = true }
|
||||
wasmtime = { workspace = true }
|
||||
tracing = "0.1.19"
|
||||
tracing = { workspace = true }
|
||||
cap-std = { workspace = true }
|
||||
cap-rand = "1.0.0"
|
||||
bitflags = "1.2"
|
||||
cap-rand = { workspace = true }
|
||||
bitflags = { workspace = true }
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
rustix = { workspace = true, features = ["fs"] }
|
||||
|
||||
@@ -13,16 +13,16 @@ include = ["src/**/*", "README.md", "LICENSE" ]
|
||||
|
||||
[dependencies]
|
||||
wasi-common = { workspace = true }
|
||||
async-trait = "0.1"
|
||||
async-trait = { workspace = true }
|
||||
anyhow = { workspace = true }
|
||||
cap-std = { workspace = true }
|
||||
cap-fs-ext = "1.0.0"
|
||||
cap-time-ext = "1.0.0"
|
||||
cap-rand = "1.0.0"
|
||||
cap-rand = { workspace = true }
|
||||
fs-set-times = "0.18.0"
|
||||
system-interface = { version = "0.25.0", features = ["cap_std_impls"] }
|
||||
tracing = "0.1.19"
|
||||
io-lifetimes = { version = "1.0.0", default-features = false }
|
||||
tracing = { workspace = true }
|
||||
io-lifetimes = { workspace = true }
|
||||
is-terminal = "0.4.0"
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
|
||||
@@ -17,7 +17,7 @@ wiggle = { workspace = true }
|
||||
tokio = { version = "1.8.0", features = [ "rt", "fs", "time", "io-util", "net", "io-std", "rt-multi-thread"] }
|
||||
cap-std = { workspace = true }
|
||||
anyhow = { workspace = true }
|
||||
io-lifetimes = { version = "1.0.0", default-features = false }
|
||||
io-lifetimes = { workspace = true }
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
rustix = { workspace = true, features = ["fs"] }
|
||||
|
||||
Reference in New Issue
Block a user