Remove unused dependencies (#3490)

* Remove unused dependencies in Cranelift

* add serde to the current workspace

* remove more unused dependencies in wasmtime?
This commit is contained in:
Benjamin Bouvier
2021-11-02 18:08:30 +01:00
committed by GitHub
parent b024603866
commit c952969389
18 changed files with 2 additions and 59 deletions

View File

@@ -27,7 +27,6 @@ wasmtime-c-api-macros = { path = "macros" }
wat = { version = "1.0.36", optional = true }
# Optional dependencies for the `wasi` feature
wasi-common = { path = "../wasi-common", optional = true }
wasi-cap-std-sync = { path = "../wasi-common/cap-std-sync", optional = true }
wasmtime-wasi = { path = "../wasi", optional = true }
cap-std = { version = "0.19.1", optional = true }
@@ -36,4 +35,4 @@ cap-std = { version = "0.19.1", optional = true }
default = ['jitdump', 'wat', 'wasi', 'cache']
jitdump = ["wasmtime/jitdump"]
cache = ["wasmtime/cache"]
wasi = ['wasi-common', 'wasi-cap-std-sync', 'wasmtime-wasi', 'cap-std']
wasi = ['wasi-cap-std-sync', 'wasmtime-wasi', 'cap-std']

View File

@@ -20,7 +20,6 @@ thiserror = "1.0.4"
serde = { version = "1.0.94", features = ["derive"] }
log = { version = "0.4.8", default-features = false }
more-asserts = "0.2.1"
cfg-if = "1.0"
gimli = { version = "0.25.0", default-features = false, features = ['read'] }
object = { version = "0.27.0", default-features = false, features = ['read_core', 'write_core', 'elf'] }
target-lexicon = "0.12"

View File

@@ -16,11 +16,8 @@ wasmtime-runtime = { path = "../runtime", version = "=0.31.0" }
region = "2.2.0"
thiserror = "1.0.4"
target-lexicon = { version = "0.12.0", default-features = false }
wasmparser = "0.81"
more-asserts = "0.2.1"
anyhow = "1.0"
cfg-if = "1.0"
log = "0.4"
gimli = { version = "0.25.0", default-features = false, features = ["std", "read"] }
object = { version = "0.27.0", default-features = false, features = ["std", "read_core", "elf"] }
serde = { version = "1.0.94", features = ["derive"] }

View File

@@ -22,7 +22,6 @@ cap-rand = "0.19.1"
fs-set-times = "0.12.0"
system-interface = { version = "0.15.0", features = ["cap_std_impls"] }
tracing = "0.1.19"
bitflags = "1.2"
io-lifetimes = { version = "0.3.0", default-features = false }
[target.'cfg(unix)'.dependencies]

View File

@@ -16,12 +16,6 @@ wasi-cap-std-sync = { path = "../cap-std-sync", version = "=0.31.0" }
wiggle = { path = "../../wiggle", version = "=0.31.0" }
tokio = { version = "1.8.0", features = [ "rt", "fs", "time", "io-util", "net", "io-std", "rt-multi-thread"] }
cap-std = "0.19.1"
cap-fs-ext = "0.19.1"
cap-time-ext = "0.19.1"
fs-set-times = "0.12.0"
system-interface = { version = "0.15.0", features = ["cap_std_impls"] }
tracing = "0.1.19"
bitflags = "1.2"
anyhow = "1"
io-lifetimes = { version = "0.3.0", default-features = false }

View File

@@ -15,8 +15,6 @@ edition = "2018"
# These dependencies are necessary for the witx-generation macros to work:
anyhow = "1.0"
log = { version = "0.4", default-features = false }
wasmtime = { path = "../wasmtime", version = "0.31.0", default-features = false }
wasmtime-wasi = { path = "../wasi", version = "0.31.0" }
wiggle = { path = "../wiggle", version = "=0.31.0" }
# These dependencies are necessary for the wasi-nn implementation:

View File

@@ -22,7 +22,6 @@ doctest = false
[dependencies]
wiggle-generate = { path = "../generate", version = "=0.31.0" }
witx = { version = "0.9.1", path = "../../wasi-common/WASI/tools/witx" }
quote = "1.0"
syn = { version = "1.0", features = ["full"] }
proc-macro2 = "1.0"