Leverage Cargo's workspace inheritance feature (#4905)
* Leverage Cargo's workspace inheritance feature This commit is an attempt to reduce the complexity of the Cargo manifests in this repository with Cargo's workspace-inheritance feature becoming stable in Rust 1.64.0. This feature allows specifying fields in the root workspace `Cargo.toml` which are then reused throughout the workspace. For example this PR shares definitions such as: * All of the Wasmtime-family of crates now use `version.workspace = true` to have a single location which defines the version number. * All crates use `edition.workspace = true` to have one default edition for the entire workspace. * Common dependencies are listed in `[workspace.dependencies]` to avoid typing the same version number in a lot of different places (e.g. the `wasmparser = "0.89.0"` is now in just one spot. Currently the workspace-inheritance feature doesn't allow having two different versions to inherit, so all of the Cranelift-family of crates still manually specify their version. The inter-crate dependencies, however, are shared amongst the root workspace. This feature can be seen as a method of "preprocessing" of sorts for Cargo manifests. This will help us develop Wasmtime but shouldn't have any actual impact on the published artifacts -- everything's dependency lists are still the same. * Fix wasi-crypto tests
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
[package]
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
description = "Macros for defining asm functions in Wasmtime"
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
name = "wasmtime-asm-macros"
|
||||
repository = "https://github.com/bytecodealliance/wasmtime"
|
||||
version = "2.0.0"
|
||||
version.workspace = true
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
[package]
|
||||
name = "wasmtime-bench-api"
|
||||
version = "0.19.0"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
description = "Exposes a benchmarking API for the Wasmtime runtime"
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
repository = "https://github.com/bytecodealliance/wasmtime"
|
||||
readme = "README.md"
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
publish = false
|
||||
|
||||
[lib]
|
||||
@@ -16,19 +16,19 @@ test = false
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
anyhow = { workspace = true }
|
||||
shuffling-allocator = { version = "1.1.1", optional = true }
|
||||
target-lexicon = "0.12"
|
||||
wasmtime = { path = "../wasmtime", default-features = true }
|
||||
wasmtime-cli-flags = { path = "../cli-flags", default-features = true }
|
||||
wasmtime-wasi = { path = "../wasi" }
|
||||
wasmtime-wasi-crypto = { path = "../wasi-crypto", optional = true }
|
||||
wasmtime-wasi-nn = { path = "../wasi-nn", optional = true }
|
||||
wasi-cap-std-sync = { path = "../wasi-common/cap-std-sync" }
|
||||
cap-std = "0.26.0"
|
||||
target-lexicon = { workspace = true }
|
||||
wasmtime = { workspace = true }
|
||||
wasmtime-cli-flags = { workspace = true, default-features = true }
|
||||
wasmtime-wasi = { workspace = true }
|
||||
wasmtime-wasi-crypto = { workspace = true, optional = true }
|
||||
wasmtime-wasi-nn = { workspace = true, optional = true }
|
||||
wasi-cap-std-sync = { workspace = true }
|
||||
cap-std = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
wat = "1.0.45"
|
||||
wat = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["shuffling-allocator", "wasi-nn"]
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
[package]
|
||||
name = "wasmtime-c-api"
|
||||
version = "0.19.0"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
description = "C API to expose the Wasmtime runtime"
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
repository = "https://github.com/bytecodealliance/wasmtime"
|
||||
readme = "README.md"
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
publish = false
|
||||
|
||||
[lib]
|
||||
@@ -17,19 +17,19 @@ test = false
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
env_logger = "0.9"
|
||||
anyhow = "1.0"
|
||||
once_cell = "1.3"
|
||||
wasmtime = { path = "../wasmtime", default-features = false, features = ['cranelift'] }
|
||||
env_logger = { workspace = true }
|
||||
anyhow = { workspace = true }
|
||||
once_cell = { workspace = true }
|
||||
wasmtime = { workspace = true, features = ['cranelift'] }
|
||||
wasmtime-c-api-macros = { path = "macros" }
|
||||
|
||||
# Optional dependency for the `wat2wasm` API
|
||||
wat = { version = "1.0.47", optional = true }
|
||||
wat = { workspace = true, optional = true }
|
||||
|
||||
# Optional dependencies for the `wasi` feature
|
||||
wasi-cap-std-sync = { path = "../wasi-common/cap-std-sync", optional = true }
|
||||
wasmtime-wasi = { path = "../wasi", optional = true }
|
||||
cap-std = { version = "0.26.0", optional = true }
|
||||
wasi-cap-std-sync = { workspace = true, optional = true }
|
||||
wasmtime-wasi = { workspace = true, optional = true }
|
||||
cap-std = { workspace = true, optional = true }
|
||||
|
||||
[features]
|
||||
default = ['jitdump', 'wat', 'wasi', 'cache', 'parallel-compilation', 'memory-init-cow']
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
name = "wasmtime-c-api-macros"
|
||||
version = "0.19.0"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
publish = false
|
||||
|
||||
[lib]
|
||||
|
||||
16
crates/cache/Cargo.toml
vendored
16
crates/cache/Cargo.toml
vendored
@@ -1,36 +1,36 @@
|
||||
[package]
|
||||
name = "wasmtime-cache"
|
||||
version = "2.0.0"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
description = "Support for automatic module caching with Wasmtime"
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
repository = "https://github.com/bytecodealliance/wasmtime"
|
||||
documentation = "https://docs.rs/wasmtime-cache/"
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
anyhow = { workspace = true }
|
||||
base64 = "0.13.0"
|
||||
bincode = "1.1.4"
|
||||
directories-next = "2.0"
|
||||
file-per-thread-logger = "0.1.1"
|
||||
log = { version = "0.4.8", default-features = false }
|
||||
log = { workspace = true }
|
||||
serde = { version = "1.0.94", features = ["derive"] }
|
||||
sha2 = "0.9.0"
|
||||
toml = "0.5.5"
|
||||
zstd = { version = "0.11.1", default-features = false }
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
|
||||
version = "0.36.0"
|
||||
workspace = true
|
||||
features = [
|
||||
"Win32_System_Threading",
|
||||
]
|
||||
|
||||
[target.'cfg(not(target_os = "windows"))'.dependencies]
|
||||
rustix = { version = "0.35.10", features = ["process"] }
|
||||
rustix = { workspace = true, features = ["process"] }
|
||||
|
||||
[dev-dependencies]
|
||||
filetime = "0.2.7"
|
||||
once_cell = "1.12.0"
|
||||
once_cell = { workspace = true }
|
||||
pretty_env_logger = "0.4.0"
|
||||
tempfile = "3"
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
[package]
|
||||
name = "wasmtime-cli-flags"
|
||||
version = "2.0.0"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
description = "Exposes common CLI flags used for running Wasmtime"
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
repository = "https://github.com/bytecodealliance/wasmtime"
|
||||
documentation = "https://docs.rs/wasmtime-cache/"
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.19"
|
||||
clap = { version = "3.2.0", features = ["color", "suggestions", "derive"] }
|
||||
anyhow = { workspace = true }
|
||||
clap = { workspace = true }
|
||||
file-per-thread-logger = "0.1.1"
|
||||
pretty_env_logger = "0.4.0"
|
||||
rayon = "1.5.0"
|
||||
wasmtime = { path = "../wasmtime", version = "2.0.0", default-features = false }
|
||||
wasmtime = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = [
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
[package]
|
||||
name = "wasmtime-component-macro"
|
||||
version = "2.0.0"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
description = "Macros for deriving component interface types from Rust types"
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
repository = "https://github.com/bytecodealliance/wasmtime"
|
||||
documentation = "https://docs.rs/wasmtime-component-macro/"
|
||||
categories = ["wasm"]
|
||||
keywords = ["webassembly", "wasm"]
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
|
||||
[lib]
|
||||
proc-macro = true
|
||||
@@ -17,7 +17,7 @@ proc-macro = true
|
||||
proc-macro2 = "1.0"
|
||||
quote = "1.0"
|
||||
syn = { version = "1.0", features = ["extra-traits"] }
|
||||
wasmtime-component-util = { path = "../component-util", version = "=2.0.0" }
|
||||
wasmtime-component-util = { workspace = true }
|
||||
|
||||
[badges]
|
||||
maintenance = { status = "actively-developed" }
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
[package]
|
||||
name = "wasmtime-component-util"
|
||||
version = "2.0.0"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
description = "Utility types and functions to support the component model in Wasmtime"
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
repository = "https://github.com/bytecodealliance/wasmtime"
|
||||
documentation = "https://docs.rs/wasmtime-component-util/"
|
||||
categories = ["wasm"]
|
||||
keywords = ["webassembly", "wasm"]
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
|
||||
@@ -1,28 +1,28 @@
|
||||
[package]
|
||||
name = "wasmtime-cranelift"
|
||||
version = "2.0.0"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
description = "Integration between Cranelift and Wasmtime"
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
repository = "https://github.com/bytecodealliance/wasmtime"
|
||||
documentation = "https://docs.rs/wasmtime-cranelift/"
|
||||
categories = ["wasm"]
|
||||
keywords = ["webassembly", "wasm"]
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
log = "0.4"
|
||||
wasmtime-environ = { path = "../environ", version = "=2.0.0" }
|
||||
cranelift-wasm = { path = "../../cranelift/wasm", version = "0.89.0" }
|
||||
cranelift-codegen = { path = "../../cranelift/codegen", version = "0.89.0" }
|
||||
cranelift-frontend = { path = "../../cranelift/frontend", version = "0.89.0" }
|
||||
cranelift-entity = { path = "../../cranelift/entity", version = "0.89.0" }
|
||||
cranelift-native = { path = "../../cranelift/native", version = "0.89.0" }
|
||||
wasmparser = "0.89.0"
|
||||
target-lexicon = "0.12"
|
||||
gimli = { version = "0.26.0", default-features = false, features = ['read', 'std'] }
|
||||
object = { version = "0.29.0", default-features = false, features = ['write'] }
|
||||
anyhow = { workspace = true }
|
||||
log = { workspace = true }
|
||||
wasmtime-environ = { workspace = true }
|
||||
cranelift-wasm = { workspace = true }
|
||||
cranelift-codegen = { workspace = true }
|
||||
cranelift-frontend = { workspace = true }
|
||||
cranelift-entity = { workspace = true }
|
||||
cranelift-native = { workspace = true }
|
||||
wasmparser = { workspace = true }
|
||||
target-lexicon = { workspace = true }
|
||||
gimli = { workspace = true }
|
||||
object = { workspace = true, features = ['write'] }
|
||||
thiserror = "1.0.4"
|
||||
|
||||
[features]
|
||||
|
||||
@@ -1,36 +1,36 @@
|
||||
[package]
|
||||
name = "wasmtime-environ"
|
||||
version = "2.0.0"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
description = "Standalone environment support for WebAsssembly code in Cranelift"
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
repository = "https://github.com/bytecodealliance/wasmtime"
|
||||
documentation = "https://docs.rs/wasmtime-environ/"
|
||||
categories = ["wasm"]
|
||||
keywords = ["webassembly", "wasm"]
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
cranelift-entity = { path = "../../cranelift/entity", version = "0.89.0" }
|
||||
wasmtime-types = { path = "../types", version = "2.0.0" }
|
||||
wasmparser = "0.89.0"
|
||||
anyhow = { workspace = true }
|
||||
cranelift-entity = { workspace = true }
|
||||
wasmtime-types = { workspace = true }
|
||||
wasmparser = { workspace = true }
|
||||
indexmap = { version = "1.0.2", features = ["serde-1"] }
|
||||
thiserror = "1.0.4"
|
||||
serde = { version = "1.0.94", features = ["derive"] }
|
||||
log = { version = "0.4.8", default-features = false }
|
||||
gimli = { version = "0.26.0", default-features = false, features = ['read'] }
|
||||
object = { version = "0.29.0", default-features = false, features = ['read_core', 'write_core', 'elf'] }
|
||||
target-lexicon = "0.12"
|
||||
wasm-encoder = { version = "0.16.0", optional = true }
|
||||
wasmprinter = { version = "0.2.39", optional = true }
|
||||
wasmtime-component-util = { path = "../component-util", version = "=2.0.0", optional = true }
|
||||
log = { workspace = true }
|
||||
gimli = { workspace = true }
|
||||
object = { workspace = true, features = ['write_core'] }
|
||||
target-lexicon = { workspace = true }
|
||||
wasm-encoder = { workspace = true, optional = true }
|
||||
wasmprinter = { workspace = true, optional = true }
|
||||
wasmtime-component-util = { workspace = true, optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
atty = "0.2.14"
|
||||
clap = { version = "3.2.8", features = ['derive'] }
|
||||
env_logger = "0.9.0"
|
||||
wat = "1.0.48"
|
||||
clap = { workspace = true }
|
||||
env_logger = { workspace = true }
|
||||
wat = { workspace = true }
|
||||
|
||||
[[example]]
|
||||
name = "factc"
|
||||
|
||||
@@ -3,7 +3,7 @@ name = "wasmtime-environ-fuzz"
|
||||
version = "0.0.0"
|
||||
authors = ["Automatically generated"]
|
||||
publish = false
|
||||
edition = "2018"
|
||||
edition.workspace = true
|
||||
|
||||
[package.metadata]
|
||||
cargo-fuzz = true
|
||||
@@ -12,11 +12,11 @@ cargo-fuzz = true
|
||||
arbitrary = { version = "1.1.0", features = ["derive"] }
|
||||
env_logger = "0.9.0"
|
||||
libfuzzer-sys = "0.4"
|
||||
wasmparser = "0.89.0"
|
||||
wasmprinter = "0.2.39"
|
||||
wat = "1.0"
|
||||
wasmtime-environ = { path = ".." }
|
||||
component-fuzz-util = { path = "../../misc/component-fuzz-util", optional = true }
|
||||
wasmparser = { workspace = true }
|
||||
wasmprinter = { workspace = true }
|
||||
wat = { workspace = true }
|
||||
wasmtime-environ = { workspace = true }
|
||||
component-fuzz-util = { workspace = true, optional = true }
|
||||
|
||||
[[bin]]
|
||||
name = "fact-valid-module"
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
[package]
|
||||
name = "wasmtime-fiber"
|
||||
version = "2.0.0"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
description = "Fiber support for Wasmtime"
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
repository = "https://github.com/bytecodealliance/wasmtime"
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
|
||||
# We link to some native code with symbols that don't change often, so let Cargo
|
||||
# know that we can't show up multiple times in a crate graph. If this is an
|
||||
@@ -17,11 +17,11 @@ links = "wasmtime-fiber-shims"
|
||||
cfg-if = "1.0"
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
rustix = { version = "0.35.10", features = ["mm", "param"] }
|
||||
wasmtime-asm-macros = { version = "=2.0.0", path = "../asm-macros" }
|
||||
rustix = { workspace = true, features = ["mm", "param"] }
|
||||
wasmtime-asm-macros = { workspace = true }
|
||||
|
||||
[target.'cfg(windows)'.dependencies.windows-sys]
|
||||
version = "0.36.1"
|
||||
workspace = true
|
||||
features = [
|
||||
"Win32_System_Threading",
|
||||
"Win32_Foundation",
|
||||
|
||||
@@ -1,29 +1,29 @@
|
||||
[package]
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
authors.workspace = true
|
||||
description = "Fuzzing infrastructure for Wasmtime"
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
name = "wasmtime-fuzzing"
|
||||
publish = false
|
||||
version = "0.19.0"
|
||||
version = "0.0.0"
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.22"
|
||||
anyhow = { workspace = true }
|
||||
arbitrary = { version = "1.1.0", features = ["derive"] }
|
||||
component-test-util = { path = "../misc/component-test-util" }
|
||||
component-fuzz-util = { path = "../misc/component-fuzz-util" }
|
||||
env_logger = "0.9.0"
|
||||
log = "0.4.8"
|
||||
component-test-util = { workspace = true }
|
||||
component-fuzz-util = { workspace = true }
|
||||
env_logger = { workspace = true }
|
||||
log = { workspace = true }
|
||||
rayon = "1.2.1"
|
||||
target-lexicon = "0.12.3"
|
||||
target-lexicon = { workspace = true }
|
||||
tempfile = "3.3.0"
|
||||
wasmparser = "0.89.0"
|
||||
wasmprinter = "0.2.39"
|
||||
wasmtime = { path = "../wasmtime" }
|
||||
wasmtime-wast = { path = "../wast" }
|
||||
wasm-encoder = "0.16.0"
|
||||
wasm-smith = "0.11.4"
|
||||
wasm-mutate = "0.2.7"
|
||||
wasmparser = { workspace = true }
|
||||
wasmprinter = { workspace = true }
|
||||
wasmtime = { workspace = true, features = ['default'] }
|
||||
wasmtime-wast = { workspace = true }
|
||||
wasm-encoder = { workspace = true }
|
||||
wasm-smith = { workspace = true }
|
||||
wasm-mutate = { workspace = true }
|
||||
wasm-spec-interpreter = { path = "./wasm-spec-interpreter", optional = true }
|
||||
wasmi = "0.11.0"
|
||||
|
||||
@@ -35,7 +35,7 @@ wasmi = "0.11.0"
|
||||
v8 = "0.44.3"
|
||||
|
||||
[dev-dependencies]
|
||||
wat = "1.0.48"
|
||||
wat = { workspace = true }
|
||||
rand = { version = "0.8.0", features = ["small_rng"] }
|
||||
|
||||
# Only enable the `build-libinterpret` feature when fuzzing is enabled, enabling
|
||||
|
||||
@@ -4,7 +4,7 @@ description = "A Rust-to-OCaml wrapper for the WebAssembly specification interpr
|
||||
name = "wasm-spec-interpreter"
|
||||
version = "0.1.0"
|
||||
publish = false
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
|
||||
# Until https://gitlab.com/ocaml-rust/ocaml-boxroot/-/issues/1 is resolved and
|
||||
@@ -13,10 +13,10 @@ license = "Apache-2.0 WITH LLVM-exception"
|
||||
# `build-libinterpret` feature set by this crate's parent).
|
||||
[dependencies]
|
||||
ocaml-interop = { version = "0.8", optional = true }
|
||||
once_cell = { version = "1.12.0", optional = true }
|
||||
once_cell = { workspace = true, optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
wat = "1.0.47"
|
||||
wat = { workspace = true }
|
||||
|
||||
[features]
|
||||
build-libinterpret = ["ocaml-interop", "once_cell"]
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[package]
|
||||
name = "wasmtime-jit-debug"
|
||||
version = "2.0.0"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
description = "JIT debug interfaces support for Wasmtime"
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
categories = ["development-tools::debugging"]
|
||||
keywords = ["gdb", "jit"]
|
||||
repository = "https://github.com/bytecodealliance/wasmtime"
|
||||
readme = "README.md"
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
|
||||
[dependencies]
|
||||
once_cell = {version = "1.12.0", optional = true }
|
||||
object = { version = "0.29.0", default-features = false, features = ["std", "read_core"], optional = true }
|
||||
once_cell = { workspace = true, optional = true }
|
||||
object = { workspace = true, optional = true }
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
rustix = { version = "0.35.10", features = ["mm", "param", "time"], optional = true }
|
||||
rustix = { workspace = true, features = ["mm", "param", "time"], optional = true }
|
||||
|
||||
[badges]
|
||||
maintenance = { status = "actively-developed" }
|
||||
|
||||
@@ -1,40 +1,40 @@
|
||||
[package]
|
||||
name = "wasmtime-jit"
|
||||
version = "2.0.0"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
description = "JIT-style execution for WebAsssembly code in Cranelift"
|
||||
documentation = "https://docs.rs/wasmtime-jit"
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
categories = ["wasm"]
|
||||
keywords = ["webassembly", "wasm"]
|
||||
repository = "https://github.com/bytecodealliance/wasmtime"
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
|
||||
[dependencies]
|
||||
wasmtime-environ = { path = "../environ", version = "=2.0.0" }
|
||||
wasmtime-jit-debug = { path = "../jit-debug", version = "=2.0.0", features = ["perf_jitdump"], optional = true }
|
||||
wasmtime-runtime = { path = "../runtime", version = "=2.0.0" }
|
||||
wasmtime-environ = { workspace = true }
|
||||
wasmtime-jit-debug = { workspace = true, features = ["perf_jitdump"], optional = true }
|
||||
wasmtime-runtime = { workspace = true }
|
||||
thiserror = "1.0.4"
|
||||
target-lexicon = { version = "0.12.0", default-features = false }
|
||||
anyhow = "1.0"
|
||||
target-lexicon = { workspace = true }
|
||||
anyhow = { workspace = true }
|
||||
cfg-if = "1.0"
|
||||
gimli = { version = "0.26.0", default-features = false, features = ["std", "read"] }
|
||||
object = { version = "0.29.0", default-features = false, features = ["std", "read_core", "elf"] }
|
||||
gimli = { workspace = true }
|
||||
object = { workspace = true }
|
||||
serde = { version = "1.0.94", features = ["derive"] }
|
||||
addr2line = { version = "0.17.0", default-features = false }
|
||||
bincode = "1.2.1"
|
||||
rustc-demangle = "0.1.16"
|
||||
cpp_demangle = "0.3.2"
|
||||
log = "0.4.8"
|
||||
log = { workspace = true }
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
|
||||
version = "0.36.0"
|
||||
workspace = true
|
||||
features = [
|
||||
"Win32_System_Diagnostics_Debug",
|
||||
]
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
rustix = { version = "0.35.10", features = ["process"] }
|
||||
rustix = { workspace = true, features = ["process"] }
|
||||
|
||||
[target.'cfg(target_arch = "x86_64")'.dependencies]
|
||||
ittapi = { version = "0.3.0", optional = true }
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
name = "component-fuzz-util"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
version = "0.0.0"
|
||||
edition.workspace = true
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
anyhow = { version = "1.0.19" }
|
||||
anyhow = { workspace = true }
|
||||
arbitrary = { version = "1.1.0", features = ["derive"] }
|
||||
proc-macro2 = "1.0"
|
||||
quote = "1.0"
|
||||
wasmtime-component-util = { path = "../../component-util" }
|
||||
wasmtime-component-util = { workspace = true }
|
||||
|
||||
@@ -3,7 +3,7 @@ name = "component-macro-test"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
publish = false
|
||||
|
||||
[lib]
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
name = "component-test-util"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
version = "0.0.0"
|
||||
edition.workspace = true
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
env_logger = "0.9.0"
|
||||
anyhow = "1.0.19"
|
||||
env_logger = { workspace = true }
|
||||
anyhow = { workspace = true }
|
||||
arbitrary = { version = "1.1.0", features = ["derive"] }
|
||||
wasmtime = { path = "../../wasmtime", features = ["component-model"] }
|
||||
wasmtime = { workspace = true, features = ["component-model"] }
|
||||
|
||||
@@ -1,28 +1,28 @@
|
||||
[package]
|
||||
name = "wasmtime-runtime"
|
||||
version = "2.0.0"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
description = "Runtime library support for Wasmtime"
|
||||
documentation = "https://docs.rs/wasmtime-runtime"
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
categories = ["wasm"]
|
||||
keywords = ["webassembly", "wasm"]
|
||||
repository = "https://github.com/bytecodealliance/wasmtime"
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
|
||||
[dependencies]
|
||||
wasmtime-asm-macros = { path = "../asm-macros", version = "=2.0.0" }
|
||||
wasmtime-environ = { path = "../environ", version = "=2.0.0" }
|
||||
wasmtime-fiber = { path = "../fiber", version = "=2.0.0", optional = true }
|
||||
wasmtime-jit-debug = { path = "../jit-debug", version = "=2.0.0", features = ["gdb_jit_int"] }
|
||||
wasmtime-asm-macros = { workspace = true }
|
||||
wasmtime-environ = { workspace = true }
|
||||
wasmtime-fiber = { workspace = true, optional = true }
|
||||
wasmtime-jit-debug = { workspace = true, features = ["gdb_jit_int"] }
|
||||
libc = { version = "0.2.112", default-features = false }
|
||||
log = "0.4.8"
|
||||
log = { workspace = true }
|
||||
memoffset = "0.6.0"
|
||||
indexmap = "1.0.2"
|
||||
thiserror = "1.0.4"
|
||||
cfg-if = "1.0"
|
||||
rand = "0.8.3"
|
||||
anyhow = "1.0.38"
|
||||
anyhow = { workspace = true }
|
||||
memfd = { version = "0.6.1", optional = true }
|
||||
paste = "1.0.3"
|
||||
encoding_rs = { version = "0.8.31", optional = true }
|
||||
@@ -31,10 +31,10 @@ encoding_rs = { version = "0.8.31", optional = true }
|
||||
mach = "0.3.2"
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
rustix = { version = "0.35.10", features = ["mm"] }
|
||||
rustix = { workspace = true, features = ["mm"] }
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
|
||||
version = "0.36.0"
|
||||
workspace = true
|
||||
features = [
|
||||
"Win32_System_Kernel",
|
||||
"Win32_System_Memory",
|
||||
|
||||
@@ -3,7 +3,7 @@ name = "test-programs"
|
||||
version = "0.19.0"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
readme = "README.md"
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
publish = false
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
|
||||
@@ -11,17 +11,17 @@ license = "Apache-2.0 WITH LLVM-exception"
|
||||
cfg-if = "1.0"
|
||||
|
||||
[dev-dependencies]
|
||||
wasi-common = { path = "../wasi-common", version = "2.0.0" }
|
||||
wasi-cap-std-sync = { path = "../wasi-common/cap-std-sync", version = "2.0.0" }
|
||||
wasmtime = { path = "../wasmtime", version = "2.0.0" }
|
||||
wasmtime-wasi = { path = "../wasi", version = "2.0.0", features = ["tokio"] }
|
||||
target-lexicon = "0.12.0"
|
||||
wasi-common = { workspace = true }
|
||||
wasi-cap-std-sync = { workspace = true }
|
||||
wasmtime = { workspace = true }
|
||||
wasmtime-wasi = { workspace = true, features = ["tokio"] }
|
||||
target-lexicon = { workspace = true }
|
||||
tracing-subscriber = { version = "0.3.1", default-features = false, features = ['fmt'] }
|
||||
tempfile = "3.1.0"
|
||||
os_pipe = "0.9"
|
||||
anyhow = "1.0.19"
|
||||
wat = "1.0.47"
|
||||
cap-std = "0.26.0"
|
||||
anyhow = { workspace = true }
|
||||
wat = { workspace = true }
|
||||
cap-std = { workspace = true }
|
||||
tokio = { version = "1.8.0", features = ["rt-multi-thread"] }
|
||||
|
||||
[features]
|
||||
|
||||
2
crates/test-programs/wasi-tests/Cargo.lock
generated
2
crates/test-programs/wasi-tests/Cargo.lock
generated
@@ -22,7 +22,7 @@ checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6"
|
||||
|
||||
[[package]]
|
||||
name = "wasi-tests"
|
||||
version = "0.19.0"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"libc",
|
||||
"once_cell",
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
[package]
|
||||
name = "wasi-tests"
|
||||
version = "0.19.0"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
version = "0.0.0"
|
||||
readme = "README.md"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
@@ -9,7 +8,7 @@ publish = false
|
||||
[dependencies]
|
||||
libc = "0.2.65"
|
||||
wasi = "0.10.2"
|
||||
once_cell = "1.12.0"
|
||||
once_cell = "1.12"
|
||||
|
||||
# This crate is built with the wasm32-wasi target, so it's separate
|
||||
# from the main Wasmtime build, so use this directive to exclude it
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
[package]
|
||||
name = "wasmtime-types"
|
||||
version = "2.0.0"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
description = "WebAssembly type definitions for Cranelift"
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
repository = "https://github.com/bytecodealliance/wasmtime"
|
||||
documentation = "https://docs.rs/wasmtime-types"
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
|
||||
[dependencies]
|
||||
cranelift-entity = { path = "../../cranelift/entity", version = "0.89.0", features = ['enable-serde'] }
|
||||
cranelift-entity = { workspace = true, features = ['enable-serde'] }
|
||||
serde = { version = "1.0.94", features = ["derive"] }
|
||||
thiserror = "1.0.4"
|
||||
wasmparser = { version = "0.89.0", default-features = false }
|
||||
wasmparser = { workspace = true }
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
[package]
|
||||
name = "wasi-common"
|
||||
version = "2.0.0"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
description = "WASI implementation in Rust"
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
categories = ["wasm"]
|
||||
keywords = ["webassembly", "wasm"]
|
||||
repository = "https://github.com/bytecodealliance/wasmtime"
|
||||
readme = "README.md"
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
include = ["src/**/*", "WASI/phases/**/*", "README.md", "LICENSE", "build.rs"]
|
||||
build = "build.rs"
|
||||
|
||||
@@ -18,22 +18,22 @@ build = "build.rs"
|
||||
links = "wasi-common-19"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
anyhow = { workspace = true }
|
||||
thiserror = "1.0"
|
||||
wiggle = { path = "../wiggle", default-features = false, version = "=2.0.0" }
|
||||
wiggle = { workspace = true, default-features = false }
|
||||
tracing = "0.1.19"
|
||||
cap-std = "0.26.0"
|
||||
cap-std = { workspace = true }
|
||||
cap-rand = "0.26.0"
|
||||
bitflags = "1.2"
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
rustix = { version = "0.35.10", features = ["fs"] }
|
||||
rustix = { workspace = true, features = ["fs"] }
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
io-extras = "0.15.0"
|
||||
|
||||
[target.'cfg(windows)'.dependencies.windows-sys]
|
||||
version = "0.36.0"
|
||||
workspace = true
|
||||
features = [
|
||||
"Win32_Foundation",
|
||||
"Win32_Networking_WinSock",
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[package]
|
||||
name = "wasi-cap-std-sync"
|
||||
version = "2.0.0"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
description = "WASI implementation in Rust"
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
categories = ["wasm"]
|
||||
keywords = ["webassembly", "wasm"]
|
||||
repository = "https://github.com/bytecodealliance/wasmtime"
|
||||
readme = "README.md"
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
include = ["src/**/*", "README.md", "LICENSE" ]
|
||||
|
||||
[dependencies]
|
||||
wasi-common = { path = "../", version = "=2.0.0" }
|
||||
wasi-common = { workspace = true }
|
||||
async-trait = "0.1"
|
||||
anyhow = "1.0"
|
||||
cap-std = "0.26.0"
|
||||
anyhow = { workspace = true }
|
||||
cap-std = { workspace = true }
|
||||
cap-fs-ext = "0.26.0"
|
||||
cap-time-ext = "0.26.0"
|
||||
cap-rand = "0.26.0"
|
||||
@@ -26,15 +26,15 @@ io-lifetimes = { version = "0.7.0", default-features = false }
|
||||
is-terminal = "0.3.0"
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
rustix = { version = "0.35.10", features = ["fs"] }
|
||||
rustix = { workspace = true, features = ["fs"] }
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
once_cell = "1.12.0"
|
||||
once_cell = { workspace = true }
|
||||
io-extras = "0.15.0"
|
||||
rustix = { version = "0.35.10", features = ["net"] }
|
||||
rustix = { workspace = true, features = ["net"] }
|
||||
|
||||
[target.'cfg(windows)'.dependencies.windows-sys]
|
||||
version = "0.36.0"
|
||||
workspace = true
|
||||
features = [
|
||||
"Win32_Foundation",
|
||||
]
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
[package]
|
||||
name = "wasi-tokio"
|
||||
version = "2.0.0"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
description = "WASI implementation in Rust"
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
categories = ["wasm"]
|
||||
keywords = ["webassembly", "wasm"]
|
||||
repository = "https://github.com/bytecodealliance/wasmtime"
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
include = ["src/**/*", "LICENSE" ]
|
||||
|
||||
[dependencies]
|
||||
wasi-common = { path = "../", version = "=2.0.0" }
|
||||
wasi-cap-std-sync = { path = "../cap-std-sync", version = "=2.0.0" }
|
||||
wiggle = { path = "../../wiggle", version = "=2.0.0" }
|
||||
wasi-common = { workspace = true }
|
||||
wasi-cap-std-sync = { workspace = true }
|
||||
wiggle = { workspace = true, features = ['wasmtime_integration'] }
|
||||
tokio = { version = "1.8.0", features = [ "rt", "fs", "time", "io-util", "net", "io-std", "rt-multi-thread"] }
|
||||
cap-std = "0.26.0"
|
||||
anyhow = "1"
|
||||
cap-std = { workspace = true }
|
||||
anyhow = { workspace = true }
|
||||
io-lifetimes = { version = "0.7.0", default-features = false }
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
rustix = { version = "0.35.10", features = ["fs"] }
|
||||
rustix = { workspace = true, features = ["fs"] }
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
io-extras = "0.15.0"
|
||||
@@ -28,5 +28,4 @@ io-extras = "0.15.0"
|
||||
[dev-dependencies]
|
||||
tempfile = "3.1.0"
|
||||
tokio = { version = "1.8.0", features = [ "macros" ] }
|
||||
anyhow = "1"
|
||||
cap-tempfile = "0.26.0"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "wasmtime-wasi-crypto"
|
||||
version = "2.0.0"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
description = "Wasmtime implementation of the wasi-crypto API"
|
||||
documentation = "https://docs.rs/wasmtime-wasi-crypto"
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
@@ -9,13 +9,13 @@ categories = ["wasm", "cryptography"]
|
||||
keywords = ["webassembly", "wasm", "crypto"]
|
||||
repository = "https://github.com/bytecodealliance/wasmtime"
|
||||
readme = "README.md"
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
anyhow = { workspace = true }
|
||||
wasi-crypto = { path = "spec/implementations/hostcalls/rust", version = "0.1.5" }
|
||||
wasmtime = { path = "../wasmtime", version = "2.0.0", default-features = false }
|
||||
wiggle = { path = "../wiggle", version = "=2.0.0" }
|
||||
wasmtime = { workspace = true }
|
||||
wiggle = { workspace = true, default-features = true, features = ['wasmtime_integration'] }
|
||||
|
||||
[badges]
|
||||
maintenance = { status = "experimental" }
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "wasmtime-wasi-nn"
|
||||
version = "2.0.0"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
description = "Wasmtime implementation of the wasi-nn API"
|
||||
documentation = "https://docs.rs/wasmtime-wasi-nn"
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
@@ -9,12 +9,12 @@ categories = ["wasm", "computer-vision"]
|
||||
keywords = ["webassembly", "wasm", "neural-network"]
|
||||
repository = "https://github.com/bytecodealliance/wasmtime"
|
||||
readme = "README.md"
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
|
||||
[dependencies]
|
||||
# These dependencies are necessary for the witx-generation macros to work:
|
||||
anyhow = "1.0"
|
||||
wiggle = { path = "../wiggle", version = "=2.0.0" }
|
||||
anyhow = { workspace = true }
|
||||
wiggle = { workspace = true }
|
||||
|
||||
# These dependencies are necessary for the wasi-nn implementation:
|
||||
openvino = { version = "0.4.1", features = ["runtime-linking"] }
|
||||
|
||||
@@ -1,24 +1,24 @@
|
||||
[package]
|
||||
name = "wasmtime-wasi"
|
||||
version = "2.0.0"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
description = "WASI implementation in Rust"
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
categories = ["wasm"]
|
||||
keywords = ["webassembly", "wasm"]
|
||||
repository = "https://github.com/bytecodealliance/wasmtime"
|
||||
readme = "README.md"
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
include = ["src/**/*", "README.md", "LICENSE", "build.rs"]
|
||||
build = "build.rs"
|
||||
|
||||
[dependencies]
|
||||
wasi-common = { path = "../wasi-common", version = "=2.0.0" }
|
||||
wasi-cap-std-sync = { path = "../wasi-common/cap-std-sync", version = "=2.0.0", optional = true }
|
||||
wasi-tokio = { path = "../wasi-common/tokio", version = "=2.0.0", optional = true }
|
||||
wiggle = { path = "../wiggle", default-features = false, version = "=2.0.0", features = ["wasmtime_integration"] }
|
||||
wasmtime = { path = "../wasmtime", default-features = false, version = "2.0.0" }
|
||||
anyhow = "1.0"
|
||||
wasi-common = { workspace = true }
|
||||
wasi-cap-std-sync = { workspace = true, optional = true }
|
||||
wasi-tokio = { workspace = true, optional = true }
|
||||
wiggle = { workspace = true, default-features = false, features = ["wasmtime_integration"] }
|
||||
wasmtime = { workspace = true }
|
||||
anyhow = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["sync"]
|
||||
|
||||
@@ -1,46 +1,46 @@
|
||||
[package]
|
||||
name = "wasmtime"
|
||||
version = "2.0.0"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
description = "High-level API to expose the Wasmtime runtime"
|
||||
documentation = "https://docs.rs/wasmtime"
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
repository = "https://github.com/bytecodealliance/wasmtime"
|
||||
readme = "README.md"
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
rustdoc-args = ["--cfg", "nightlydoc"]
|
||||
|
||||
[dependencies]
|
||||
wasmtime-runtime = { path = "../runtime", version = "=2.0.0" }
|
||||
wasmtime-environ = { path = "../environ", version = "=2.0.0" }
|
||||
wasmtime-jit = { path = "../jit", version = "=2.0.0" }
|
||||
wasmtime-cache = { path = "../cache", version = "=2.0.0", optional = true }
|
||||
wasmtime-fiber = { path = "../fiber", version = "=2.0.0", optional = true }
|
||||
wasmtime-cranelift = { path = "../cranelift", version = "=2.0.0", optional = true }
|
||||
wasmtime-component-macro = { path = "../component-macro", version = "=2.0.0", optional = true }
|
||||
wasmtime-component-util = { path = "../component-util", version = "=2.0.0", optional = true }
|
||||
target-lexicon = { version = "0.12.0", default-features = false }
|
||||
wasmparser = "0.89.0"
|
||||
anyhow = "1.0.19"
|
||||
wasmtime-runtime = { workspace = true }
|
||||
wasmtime-environ = { workspace = true }
|
||||
wasmtime-jit = { workspace = true }
|
||||
wasmtime-cache = { workspace = true, optional = true }
|
||||
wasmtime-fiber = { workspace = true, optional = true }
|
||||
wasmtime-cranelift = { workspace = true, optional = true }
|
||||
wasmtime-component-macro = { workspace = true, optional = true }
|
||||
wasmtime-component-util = { workspace = true, optional = true }
|
||||
target-lexicon = { workspace = true }
|
||||
wasmparser = { workspace = true }
|
||||
anyhow = { workspace = true }
|
||||
libc = "0.2"
|
||||
cfg-if = "1.0"
|
||||
log = "0.4.8"
|
||||
wat = { version = "1.0.47", optional = true }
|
||||
log = { workspace = true }
|
||||
wat = { workspace = true, optional = true }
|
||||
serde = { version = "1.0.94", features = ["derive"] }
|
||||
bincode = "1.2.1"
|
||||
indexmap = "1.6"
|
||||
paste = "1.0.3"
|
||||
psm = "0.1.11"
|
||||
once_cell = "1.12.0"
|
||||
once_cell = { workspace = true }
|
||||
rayon = { version = "1.0", optional = true }
|
||||
object = { version = "0.29", default-features = false, features = ['read_core', 'elf'] }
|
||||
object = { workspace = true }
|
||||
async-trait = { version = "0.1.51", optional = true }
|
||||
encoding_rs = { version = "0.8.31", optional = true }
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
|
||||
version = "0.36.0"
|
||||
workspace = true
|
||||
features = [
|
||||
"Win32_System_Diagnostics_Debug",
|
||||
]
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
[package]
|
||||
name = "wasmtime-wast"
|
||||
version = "2.0.0"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
description = "wast testing support for wasmtime"
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
categories = ["wasm"]
|
||||
keywords = ["webassembly", "wasm"]
|
||||
repository = "https://github.com/bytecodealliance/wasmtime"
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.19"
|
||||
wasmtime = { path = "../wasmtime", version = "2.0.0", default-features = false, features = ['cranelift'] }
|
||||
wast = "46.0.0"
|
||||
log = "0.4"
|
||||
anyhow = { workspace = true }
|
||||
wasmtime = { workspace = true, features = ['cranelift'] }
|
||||
wast = { workspace = true }
|
||||
log = { workspace = true }
|
||||
|
||||
[badges]
|
||||
maintenance = { status = "actively-developed" }
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[package]
|
||||
name = "wiggle"
|
||||
version = "2.0.0"
|
||||
version.workspace = true
|
||||
authors = ["Pat Hickey <phickey@fastly.com>", "Jakub Konka <kubkonk@jakubkonka.com>", "Alex Crichton <alex@alexcrichton.com>"]
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
description = "Runtime components of wiggle code generator"
|
||||
categories = ["wasm"]
|
||||
@@ -13,19 +13,18 @@ include = ["src/**/*", "README.md", "LICENSE"]
|
||||
[dependencies]
|
||||
thiserror = "1"
|
||||
witx = { path = "../wasi-common/WASI/tools/witx", version = "0.9.1", optional = true }
|
||||
wiggle-macro = { path = "macro", version = "=2.0.0" }
|
||||
wiggle-macro = { workspace = true }
|
||||
tracing = "0.1.26"
|
||||
bitflags = "1.2"
|
||||
async-trait = "0.1.42"
|
||||
wasmtime = { path = "../wasmtime", version = "2.0.0", optional = true, default-features = false }
|
||||
anyhow = "1.0"
|
||||
wasmtime = { workspace = true, optional = true }
|
||||
anyhow = { workspace = true }
|
||||
|
||||
[badges]
|
||||
maintenance = { status = "actively-developed" }
|
||||
|
||||
[dev-dependencies]
|
||||
wiggle-test = { path = "test-helpers" }
|
||||
anyhow = "1"
|
||||
proptest = "1.0.0"
|
||||
tokio = { version = "1", features = ["rt-multi-thread","time", "macros"] }
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
[package]
|
||||
name = "wiggle-generate"
|
||||
version = "2.0.0"
|
||||
version.workspace = true
|
||||
authors = ["Pat Hickey <phickey@fastly.com>", "Jakub Konka <kubkon@jakubkonka.com>", "Alex Crichton <alex@alexcrichton.com>"]
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
description = "Library crate for wiggle code generator."
|
||||
categories = ["wasm"]
|
||||
keywords = ["webassembly", "wasm"]
|
||||
@@ -18,7 +18,7 @@ witx = { version = "0.9.1", path = "../../wasi-common/WASI/tools/witx" }
|
||||
quote = "1.0"
|
||||
proc-macro2 = "1.0"
|
||||
heck = "0.4"
|
||||
anyhow = "1"
|
||||
anyhow = { workspace = true }
|
||||
syn = { version = "1.0", features = ["full"] }
|
||||
shellexpand = "2.0"
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[package]
|
||||
name = "wiggle-macro"
|
||||
version = "2.0.0"
|
||||
version.workspace = true
|
||||
authors = ["Pat Hickey <phickey@fastly.com>", "Jakub Konka <kubkon@jakubkonka.com>", "Alex Crichton <alex@alexcrichton.com>"]
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
description = "Wiggle code generator"
|
||||
categories = ["wasm"]
|
||||
@@ -21,7 +21,7 @@ test = false
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
wiggle-generate = { path = "../generate", version = "=2.0.0" }
|
||||
wiggle-generate = { workspace = true }
|
||||
quote = "1.0"
|
||||
syn = { version = "1.0", features = ["full"] }
|
||||
proc-macro2 = "1.0"
|
||||
|
||||
@@ -3,7 +3,7 @@ name = "wiggle-test"
|
||||
version = "0.21.0"
|
||||
authors = ["Pat Hickey <phickey@fastly.com>", "Jakub Konka <kubkon@jakubkonka.com>", "Alex Crichton <alex@alexcrichton.com>"]
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
edition = "2021"
|
||||
edition.workspace = true
|
||||
description = "Reusable testing components for wiggle code generator. Only intended to be used by tests in `wiggle` crate."
|
||||
categories = ["wasm"]
|
||||
keywords = ["webassembly", "wasm"]
|
||||
|
||||
Reference in New Issue
Block a user