Use workspace inheritance for some more dependencies (#5349)
Deduplicate some dependency directives through `[workspace.dependencies]`
This commit is contained in:
@@ -23,7 +23,7 @@ wasmparser = { workspace = true }
|
||||
target-lexicon = { workspace = true }
|
||||
gimli = { workspace = true }
|
||||
object = { workspace = true, features = ['write'] }
|
||||
thiserror = "1.0.4"
|
||||
thiserror = { workspace = true }
|
||||
|
||||
[features]
|
||||
all-arch = ["cranelift-codegen/all-arch"]
|
||||
|
||||
@@ -16,7 +16,7 @@ cranelift-entity = { workspace = true }
|
||||
wasmtime-types = { workspace = true }
|
||||
wasmparser = { workspace = true }
|
||||
indexmap = { version = "1.0.2", features = ["serde-1"] }
|
||||
thiserror = "1.0.4"
|
||||
thiserror = { workspace = true }
|
||||
serde = { version = "1.0.94", features = ["derive"] }
|
||||
log = { workspace = true }
|
||||
gimli = { workspace = true }
|
||||
|
||||
@@ -14,7 +14,7 @@ edition.workspace = true
|
||||
wasmtime-environ = { workspace = true }
|
||||
wasmtime-jit-debug = { workspace = true, features = ["perf_jitdump"], optional = true }
|
||||
wasmtime-runtime = { workspace = true }
|
||||
thiserror = "1.0.4"
|
||||
thiserror = { workspace = true }
|
||||
target-lexicon = { workspace = true }
|
||||
anyhow = { workspace = true }
|
||||
cfg-if = "1.0"
|
||||
|
||||
@@ -19,7 +19,7 @@ libc = { version = "0.2.112", default-features = false }
|
||||
log = { workspace = true }
|
||||
memoffset = "0.6.0"
|
||||
indexmap = "1.0.2"
|
||||
thiserror = "1.0.4"
|
||||
thiserror = { workspace = true }
|
||||
cfg-if = "1.0"
|
||||
rand = { version = "0.8.3", features = ['small_rng'] }
|
||||
anyhow = { workspace = true }
|
||||
|
||||
@@ -11,5 +11,5 @@ edition.workspace = true
|
||||
[dependencies]
|
||||
cranelift-entity = { workspace = true, features = ['enable-serde'] }
|
||||
serde = { version = "1.0.94", features = ["derive"] }
|
||||
thiserror = "1.0.4"
|
||||
thiserror = { workspace = true }
|
||||
wasmparser = { workspace = true }
|
||||
|
||||
@@ -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"] }
|
||||
|
||||
@@ -18,7 +18,7 @@ wiggle = { workspace = true }
|
||||
|
||||
# These dependencies are necessary for the wasi-nn implementation:
|
||||
openvino = { version = "0.4.2", features = ["runtime-linking"] }
|
||||
thiserror = "1.0"
|
||||
thiserror = { workspace = true }
|
||||
|
||||
[build-dependencies]
|
||||
walkdir = "2.3"
|
||||
|
||||
@@ -36,7 +36,7 @@ psm = "0.1.11"
|
||||
once_cell = { workspace = true }
|
||||
rayon = { version = "1.0", optional = true }
|
||||
object = { workspace = true }
|
||||
async-trait = { version = "0.1.51", optional = true }
|
||||
async-trait = { workspace = true, optional = true }
|
||||
encoding_rs = { version = "0.8.31", optional = true }
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
|
||||
|
||||
@@ -11,12 +11,12 @@ repository = "https://github.com/bytecodealliance/wasmtime"
|
||||
include = ["src/**/*", "README.md", "LICENSE"]
|
||||
|
||||
[dependencies]
|
||||
thiserror = "1"
|
||||
thiserror = { workspace = true }
|
||||
witx = { path = "../wasi-common/WASI/tools/witx", version = "0.9.1", optional = true }
|
||||
wiggle-macro = { workspace = true }
|
||||
tracing = "0.1.26"
|
||||
bitflags = "1.2"
|
||||
async-trait = "0.1.42"
|
||||
tracing = { workspace = true }
|
||||
bitflags = { workspace = true }
|
||||
async-trait = { workspace = true }
|
||||
wasmtime = { workspace = true }
|
||||
anyhow = { workspace = true }
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@ wiggle = { path = "..", features = ["tracing_log"] }
|
||||
|
||||
[dev-dependencies]
|
||||
anyhow = { workspace = true }
|
||||
thiserror = "1.0"
|
||||
tracing = "0.1.26"
|
||||
thiserror = { workspace = true }
|
||||
tracing = { workspace = true }
|
||||
tracing-subscriber = { version = "0.3.1", default-features = false, features = ['fmt'] }
|
||||
env_logger = "0.9"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user