General Cargo.toml cleanup. (#529)

* General Cargo.toml cleanup.

 - Remove travis-ci attributes.
 - Remove "experimental" badges from actively-developed crates.
 - Reflow some long lines.
 - Use dependency features consistently.
 - Add readme attributes

* Update WASI to the latest trunk.

This notably adds a .gitignore file for the WASI directory.
This commit is contained in:
Dan Gohman
2019-11-08 15:22:37 -08:00
committed by Alex Crichton
parent ae86822c37
commit a2b4148a91
23 changed files with 162 additions and 81 deletions

View File

@@ -1,21 +1,23 @@
[package] [package]
name = "wasmtime-cli" name = "wasmtime-cli"
authors = ["The Wasmtime Project Developers"]
version = "0.2.0" version = "0.2.0"
authors = ["The Wasmtime Project Developers"]
description = "Command-line interface for Wasmtime" description = "Command-line interface for Wasmtime"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
documentation = "https://cranelift.readthedocs.io/" documentation = "https://cranelift.readthedocs.io/"
categories = ["wasm"] categories = ["wasm"]
keywords = ["webassembly", "wasm"] keywords = ["webassembly", "wasm"]
repository = "https://github.com/CraneStation/wasmtime" repository = "https://github.com/CraneStation/wasmtime"
readme = "README.md"
edition = "2018" edition = "2018"
default-run = "wasmtime" default-run = "wasmtime"
[dependencies] [dependencies]
cranelift-codegen = { version = "0.49", features = ["enable-serde"] } # Enable all supported architectures by default.
cranelift-codegen = { version = "0.49", features = ["enable-serde", "all-arch"] }
cranelift-entity = { version = "0.49", features = ["enable-serde"] } cranelift-entity = { version = "0.49", features = ["enable-serde"] }
cranelift-wasm = { version = "0.49", features = ["enable-serde"] } cranelift-wasm = { version = "0.49", features = ["enable-serde"] }
cranelift-native = { version = "0.49" } cranelift-native = "0.49"
wasmtime = { path = "crates/api" } wasmtime = { path = "crates/api" }
wasmtime-debug = { path = "crates/debug" } wasmtime-debug = { path = "crates/debug" }
wasmtime-environ = { path = "crates/environ" } wasmtime-environ = { path = "crates/environ" }
@@ -51,7 +53,12 @@ members = [
exclude = ["crates/wasi-common/wasi-misc-tests"] exclude = ["crates/wasi-common/wasi-misc-tests"]
[features] [features]
# Enable all supported architectures by default. lightbeam = [
default = ["cranelift-codegen/all-arch"] "wasmtime-environ/lightbeam",
lightbeam = ["wasmtime-environ/lightbeam", "wasmtime-jit/lightbeam", "wasmtime-wast/lightbeam"] "wasmtime-jit/lightbeam",
"wasmtime-wast/lightbeam"
]
wasi-c = ["wasmtime-wasi-c"] wasi-c = ["wasmtime-wasi-c"]
[badges]
maintenance = { status = "actively-developed" }

View File

@@ -1 +1 @@
doc-valid-idents = [ "WebAssembly" ] doc-valid-idents = ["WebAssembly"]

View File

@@ -1,10 +1,11 @@
[package] [package]
name = "wasmtime" name = "wasmtime"
authors = ["The Wasmtime Project Developers"]
version = "0.1.0" version = "0.1.0"
authors = ["The Wasmtime Project Developers"]
description = "High-level API to expose the Wasmtime runtime" description = "High-level API to expose the Wasmtime runtime"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/CraneStation/wasmtime" repository = "https://github.com/CraneStation/wasmtime"
readme = "README.md"
edition = "2018" edition = "2018"
[lib] [lib]
@@ -13,13 +14,13 @@ crate-type = ["lib", "staticlib", "cdylib"]
[dependencies] [dependencies]
cranelift-codegen = { version = "0.49", features = ["enable-serde"] } cranelift-codegen = { version = "0.49", features = ["enable-serde"] }
cranelift-native = { version = "0.49" } cranelift-native = "0.49"
cranelift-entity = { version = "0.49", features = ["enable-serde"] } cranelift-entity = { version = "0.49", features = ["enable-serde"] }
cranelift-wasm = { version = "0.49", features = ["enable-serde"] } cranelift-wasm = { version = "0.49", features = ["enable-serde"] }
cranelift-frontend = { version = "0.49" } cranelift-frontend = "0.49"
wasmtime-runtime = { path="../runtime" } wasmtime-runtime = { path = "../runtime" }
wasmtime-environ = { path="../environ" } wasmtime-environ = { path = "../environ" }
wasmtime-jit = { path="../jit" } wasmtime-jit = { path = "../jit" }
wasmparser = { version = "0.39.2", default-features = false } wasmparser = { version = "0.39.2", default-features = false }
target-lexicon = { version = "0.9.0", default-features = false } target-lexicon = { version = "0.9.0", default-features = false }
anyhow = "1.0.19" anyhow = "1.0.19"
@@ -29,8 +30,19 @@ hashbrown = { version = "0.6.0", optional = true }
[features] [features]
default = ["std"] default = ["std"]
std = ["cranelift-codegen/std", "cranelift-wasm/std", "wasmtime-environ/std", "wasmparser/std"] std = [
core = ["hashbrown/nightly", "cranelift-codegen/core", "cranelift-wasm/core", "wasmtime-environ/core", "wasmparser/core"] "cranelift-codegen/std",
"cranelift-wasm/std",
"wasmtime-environ/std",
"wasmparser/std"
]
core = [
"hashbrown/nightly",
"cranelift-codegen/core",
"cranelift-wasm/core",
"wasmtime-environ/core",
"wasmparser/core"
]
[dev-dependencies] [dev-dependencies]
# for wasmtime.rs # for wasmtime.rs
@@ -38,7 +50,10 @@ wasi-common = { path = "../wasi-common" }
docopt = "1.0.1" docopt = "1.0.1"
serde = { "version" = "1.0.94", features = ["derive"] } serde = { "version" = "1.0.94", features = ["derive"] }
pretty_env_logger = "0.3.0" pretty_env_logger = "0.3.0"
wasmtime-wast = { path="../wast" } wasmtime-wast = { path = "../wast" }
wasmtime-wasi = { path="../wasi" } wasmtime-wasi = { path = "../wasi" }
rayon = "1.1" rayon = "1.1"
file-per-thread-logger = "0.1.1" file-per-thread-logger = "0.1.1"
[badges]
maintenance = { status = "actively-developed" }

View File

@@ -3,11 +3,11 @@ name = "wasmtime-debug"
version = "0.2.0" version = "0.2.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "Debug utils for WebAsssembly code in Cranelift" description = "Debug utils for WebAsssembly code in Cranelift"
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/CraneStation/wasmtime" repository = "https://github.com/CraneStation/wasmtime"
documentation = "https://docs.rs/wasmtime-debug/" documentation = "https://docs.rs/wasmtime-debug/"
categories = ["wasm"] categories = ["wasm"]
keywords = ["webassembly", "wasm", "debuginfo"] keywords = ["webassembly", "wasm", "debuginfo"]
license = "Apache-2.0 WITH LLVM-exception"
readme = "README.md" readme = "README.md"
edition = "2018" edition = "2018"
@@ -30,5 +30,4 @@ std = ["cranelift-codegen/std", "cranelift-wasm/std", "wasmtime-environ/std"]
core = ["hashbrown/nightly", "cranelift-codegen/core", "cranelift-wasm/core"] core = ["hashbrown/nightly", "cranelift-codegen/core", "cranelift-wasm/core"]
[badges] [badges]
maintenance = { status = "experimental" } maintenance = { status = "actively-developed" }
travis-ci = { repository = "CraneStation/wasmtime" }

View File

@@ -3,11 +3,11 @@ name = "wasmtime-environ"
version = "0.2.0" version = "0.2.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "Standalone environment support for WebAsssembly code in Cranelift" description = "Standalone environment support for WebAsssembly code in Cranelift"
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/CraneStation/wasmtime" repository = "https://github.com/CraneStation/wasmtime"
documentation = "https://docs.rs/wasmtime-environ/" documentation = "https://docs.rs/wasmtime-environ/"
categories = ["wasm"] categories = ["wasm"]
keywords = ["webassembly", "wasm"] keywords = ["webassembly", "wasm"]
license = "Apache-2.0 WITH LLVM-exception"
readme = "README.md" readme = "README.md"
edition = "2018" edition = "2018"
@@ -52,5 +52,4 @@ std = ["cranelift-codegen/std", "cranelift-wasm/std"]
core = ["cranelift-codegen/core", "cranelift-wasm/core"] core = ["cranelift-codegen/core", "cranelift-wasm/core"]
[badges] [badges]
maintenance = { status = "experimental" } maintenance = { status = "actively-developed" }
travis-ci = { repository = "CraneStation/wasmtime" }

View File

@@ -3,10 +3,10 @@ name = "wasmtime-interface-types"
version = "0.2.0" version = "0.2.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "Support for wasm interface types with wasmtime" description = "Support for wasm interface types with wasmtime"
license = "Apache-2.0 WITH LLVM-exception"
categories = ["wasm"] categories = ["wasm"]
keywords = ["webassembly", "wasm"] keywords = ["webassembly", "wasm"]
repository = "https://github.com/CraneStation/wasmtime" repository = "https://github.com/CraneStation/wasmtime"
license = "Apache-2.0 WITH LLVM-exception"
readme = "README.md" readme = "README.md"
edition = "2018" edition = "2018"
@@ -18,3 +18,6 @@ wasmparser = { version = "0.39.2", default-features = false }
wasm-webidl-bindings = "0.6" wasm-webidl-bindings = "0.6"
wasmtime-jit = { path = '../jit', default-features = false } wasmtime-jit = { path = '../jit', default-features = false }
wasmtime-runtime = { path = '../runtime', default-features = false } wasmtime-runtime = { path = '../runtime', default-features = false }
[badges]
maintenance = { status = "actively-developed" }

View File

@@ -3,10 +3,10 @@ name = "wasmtime-jit"
version = "0.2.0" version = "0.2.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "JIT-style execution for WebAsssembly code in Cranelift" description = "JIT-style execution for WebAsssembly code in Cranelift"
license = "Apache-2.0 WITH LLVM-exception"
categories = ["wasm"] categories = ["wasm"]
keywords = ["webassembly", "wasm"] keywords = ["webassembly", "wasm"]
repository = "https://github.com/CraneStation/wasmtime" repository = "https://github.com/CraneStation/wasmtime"
license = "Apache-2.0 WITH LLVM-exception"
readme = "README.md" readme = "README.md"
edition = "2018" edition = "2018"
@@ -14,7 +14,7 @@ edition = "2018"
cranelift-codegen = { version = "0.49", features = ["enable-serde"] } cranelift-codegen = { version = "0.49", features = ["enable-serde"] }
cranelift-entity = { version = "0.49", features = ["enable-serde"] } cranelift-entity = { version = "0.49", features = ["enable-serde"] }
cranelift-wasm = { version = "0.49", features = ["enable-serde"] } cranelift-wasm = { version = "0.49", features = ["enable-serde"] }
cranelift-frontend = { version = "0.49" } cranelift-frontend = "0.49"
wasmtime-environ = { path = "../environ", default-features = false } wasmtime-environ = { path = "../environ", default-features = false }
wasmtime-runtime = { path = "../runtime", default-features = false } wasmtime-runtime = { path = "../runtime", default-features = false }
wasmtime-debug = { path = "../debug", default-features = false } wasmtime-debug = { path = "../debug", default-features = false }
@@ -30,10 +30,23 @@ winapi = { version = "0.3.7", features = ["winnt", "impl-default"] }
[features] [features]
default = ["std"] default = ["std"]
std = ["cranelift-codegen/std", "cranelift-wasm/std", "wasmtime-environ/std", "wasmtime-debug/std", "wasmtime-runtime/std", "wasmparser/std"] std = [
core = ["hashbrown/nightly", "cranelift-codegen/core", "cranelift-wasm/core", "wasmtime-environ/core", "wasmtime-debug/core", "wasmparser/core"] "cranelift-codegen/std",
"cranelift-wasm/std",
"wasmtime-environ/std",
"wasmtime-debug/std",
"wasmtime-runtime/std",
"wasmparser/std"
]
core = [
"hashbrown/nightly",
"cranelift-codegen/core",
"cranelift-wasm/core",
"wasmtime-environ/core",
"wasmtime-debug/core",
"wasmparser/core"
]
lightbeam = ["wasmtime-environ/lightbeam"] lightbeam = ["wasmtime-environ/lightbeam"]
[badges] [badges]
maintenance = { status = "experimental" } maintenance = { status = "actively-developed" }
travis-ci = { repository = "CraneStation/wasmtime" }

View File

@@ -2,12 +2,14 @@
name = "lightbeam" name = "lightbeam"
version = "0.0.0" version = "0.0.0"
authors = ["The Lightbeam Project Developers"] authors = ["The Lightbeam Project Developers"]
description = "An optimising one-pass streaming compiler for WebAssembly"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/CraneStation/wasmtime"
readme = "README.md" readme = "README.md"
categories = ["wasm"] categories = ["wasm"]
keywords = ["webassembly", "wasm", "compile", "compiler", "jit"] keywords = ["webassembly", "wasm", "compile", "compiler", "jit"]
publish = false
edition = "2018" edition = "2018"
publish = false
[dependencies] [dependencies]
smallvec = "1.0.0" smallvec = "1.0.0"
@@ -18,7 +20,7 @@ memoffset = "0.5.1"
itertools = "0.8" itertools = "0.8"
capstone = "0.6.0" capstone = "0.6.0"
thiserror = "1.0.4" thiserror = "1.0.4"
cranelift-codegen = { version = "0.49" } cranelift-codegen = "0.49"
multi_mut = "0.1" multi_mut = "0.1"
either = "1.5" either = "1.5"
typemap = "0.3" typemap = "0.3"

View File

@@ -6,6 +6,8 @@ description = "Python extension for Wasmtime"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
categories = ["wasm", "python"] categories = ["wasm", "python"]
keywords = ["webassembly", "wasm"] keywords = ["webassembly", "wasm"]
repository = "https://github.com/CraneStation/wasmtime"
readme = "README.md"
edition = "2018" edition = "2018"
[lib] [lib]
@@ -13,11 +15,11 @@ name = "_wasmtime"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
cranelift-codegen = { version = "0.49" } cranelift-codegen = "0.49"
cranelift-native = { version = "0.49" } cranelift-native = "0.49"
cranelift-entity = { version = "0.49" } cranelift-entity = "0.49"
cranelift-wasm = { version = "0.49" } cranelift-wasm = "0.49"
cranelift-frontend = { version = "0.49" } cranelift-frontend = "0.49"
wasmtime-environ = { path = "../../environ" } wasmtime-environ = { path = "../../environ" }
wasmtime-interface-types = { path = "../../interface-types" } wasmtime-interface-types = { path = "../../interface-types" }
wasmtime-jit = { path = "../../jit" } wasmtime-jit = { path = "../../jit" }
@@ -26,7 +28,7 @@ target-lexicon = { version = "0.9.0", default-features = false }
anyhow = "1.0.19" anyhow = "1.0.19"
region = "2.0.0" region = "2.0.0"
wasmparser = "0.39.2" wasmparser = "0.39.2"
pyo3 = { version = "0.8.0", features = ["extension-module"] }
[dependencies.pyo3] [badges]
version = "0.8.0" maintenance = { status = "actively-developed" }
features = ["extension-module"]

View File

@@ -2,21 +2,26 @@
name = "wasmtime-rust" name = "wasmtime-rust"
version = "0.2.0" version = "0.2.0"
authors = ["Alex Crichton <alex@alexcrichton.com>"] authors = ["Alex Crichton <alex@alexcrichton.com>"]
edition = "2018" description = "Rust extension for Wasmtime"
license = "Apache-2.0 WITH LLVM-exception"
categories = ["wasm", "rust"] categories = ["wasm", "rust"]
keywords = ["webassembly", "wasm"] keywords = ["webassembly", "wasm"]
license = "Apache-2.0 WITH LLVM-exception" repository = "https://github.com/CraneStation/wasmtime"
description = "Rust extension for Wasmtime" readme = "README.md"
edition = "2018"
[lib] [lib]
test = false test = false
doctest = false doctest = false
[dependencies] [dependencies]
cranelift-codegen = { version = "0.49" } cranelift-codegen = "0.49"
cranelift-native = { version = "0.49" } cranelift-native = "0.49"
wasmtime-interface-types = { path = "../../interface-types" } wasmtime-interface-types = { path = "../../interface-types" }
wasmtime-jit = { path = "../../jit" } wasmtime-jit = { path = "../../jit" }
wasmtime-rust-macro = { path = "./macro" } wasmtime-rust-macro = { path = "./macro" }
wasmtime-wasi = { path = "../../wasi" } wasmtime-wasi = { path = "../../wasi" }
anyhow = "1.0.19" anyhow = "1.0.19"
[badges]
maintenance = { status = "actively-developed" }

View File

@@ -2,9 +2,11 @@
name = "wasmtime-rust-macro" name = "wasmtime-rust-macro"
version = "0.2.0" version = "0.2.0"
authors = ["Alex Crichton <alex@alexcrichton.com>"] authors = ["Alex Crichton <alex@alexcrichton.com>"]
edition = "2018"
license = "Apache-2.0 WITH LLVM-exception"
description = "Macro support crate for wasmtime-rust" description = "Macro support crate for wasmtime-rust"
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/CraneStation/wasmtime"
readme = "README.md"
edition = "2018"
[lib] [lib]
proc-macro = true proc-macro = true
@@ -15,3 +17,6 @@ doctest = false
proc-macro2 = "1.0" proc-macro2 = "1.0"
quote = "1.0" quote = "1.0"
syn = { version = "1.0", features = ['full'] } syn = { version = "1.0", features = ['full'] }
[badges]
maintenance = { status = "actively-developed" }

View File

@@ -3,10 +3,10 @@ name = "wasmtime-obj"
version = "0.2.0" version = "0.2.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "Native object file output for WebAsssembly code in Wasmtime" description = "Native object file output for WebAsssembly code in Wasmtime"
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/CraneStation/wasmtime" repository = "https://github.com/CraneStation/wasmtime"
categories = ["wasm"] categories = ["wasm"]
keywords = ["webassembly", "wasm"] keywords = ["webassembly", "wasm"]
license = "Apache-2.0 WITH LLVM-exception"
readme = "README.md" readme = "README.md"
edition = "2018" edition = "2018"
@@ -16,3 +16,6 @@ cranelift-entity = { version = "0.49", features = ["enable-serde"] }
cranelift-wasm = { version = "0.49", features = ["enable-serde"] } cranelift-wasm = { version = "0.49", features = ["enable-serde"] }
wasmtime-environ = { path = "../environ" } wasmtime-environ = { path = "../environ" }
faerie = "0.12.0" faerie = "0.12.0"
[badges]
maintenance = { status = "experimental" }

View File

@@ -3,10 +3,10 @@ name = "wasmtime-runtime"
version = "0.2.0" version = "0.2.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "Runtime library support for Wasmtime" description = "Runtime library support for Wasmtime"
license = "Apache-2.0 WITH LLVM-exception"
categories = ["wasm"] categories = ["wasm"]
keywords = ["webassembly", "wasm"] keywords = ["webassembly", "wasm"]
repository = "https://github.com/CraneStation/wasmtime" repository = "https://github.com/CraneStation/wasmtime"
license = "Apache-2.0 WITH LLVM-exception"
readme = "README.md" readme = "README.md"
edition = "2018" edition = "2018"
@@ -18,7 +18,7 @@ wasmtime-environ = { path = "../environ", default-features = false }
region = "2.0.0" region = "2.0.0"
lazy_static = "1.2.0" lazy_static = "1.2.0"
libc = { version = "0.2.60", default-features = false } libc = { version = "0.2.60", default-features = false }
memoffset = "0.5.1" memoffset = "0.5.3"
indexmap = "1.0.2" indexmap = "1.0.2"
hashbrown = { version = "0.6.0", optional = true } hashbrown = { version = "0.6.0", optional = true }
spin = { version = "0.5.2", optional = true } spin = { version = "0.5.2", optional = true }
@@ -33,8 +33,13 @@ cc = "1.0"
[features] [features]
default = ["std"] default = ["std"]
std = ["cranelift-codegen/std", "cranelift-wasm/std", "wasmtime-environ/std"] std = ["cranelift-codegen/std", "cranelift-wasm/std", "wasmtime-environ/std"]
core = ["hashbrown/nightly", "cranelift-codegen/core", "cranelift-wasm/core", "wasmtime-environ/core", "spin"] core = [
"hashbrown/nightly",
"cranelift-codegen/core",
"cranelift-wasm/core",
"wasmtime-environ/core",
"spin"
]
[badges] [badges]
maintenance = { status = "experimental" } maintenance = { status = "actively-developed" }
travis-ci = { repository = "CraneStation/wasmtime" }

View File

@@ -3,10 +3,10 @@ name = "wasmtime-wasi-c"
version = "0.2.0" version = "0.2.0"
authors = ["The Cranelift Project Developers"] authors = ["The Cranelift Project Developers"]
description = "WASI API support for Wasmtime" description = "WASI API support for Wasmtime"
license = "Apache-2.0 WITH LLVM-exception"
categories = ["wasm"] categories = ["wasm"]
keywords = ["webassembly", "wasm"] keywords = ["webassembly", "wasm"]
repository = "https://github.com/CraneStation/wasmtime" repository = "https://github.com/CraneStation/wasmtime"
license = "Apache-2.0 WITH LLVM-exception"
readme = "README.md" readme = "README.md"
edition = "2018" edition = "2018"
@@ -26,5 +26,4 @@ cmake = "0.1.35"
bindgen = "0.51.0" bindgen = "0.51.0"
[badges] [badges]
maintenance = { status = "experimental" } maintenance = { status = "actively-developed" }
travis-ci = { repository = "CraneStation/wasmtime" }

View File

@@ -2,13 +2,13 @@
name = "wasi-common" name = "wasi-common"
version = "0.5.0" version = "0.5.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
edition = "2018"
license = "Apache-2.0 WITH LLVM-exception"
description = "WASI implementation in Rust" description = "WASI implementation in Rust"
license = "Apache-2.0 WITH LLVM-exception"
categories = ["wasm"] categories = ["wasm"]
keywords = ["webassembly", "wasm"] keywords = ["webassembly", "wasm"]
repository = "https://github.com/CraneStation/wasmtime" repository = "https://github.com/CraneStation/wasmtime"
readme = "README.md" readme = "README.md"
edition = "2018"
[features] [features]
# this feature requires wasm32-wasi target installed, and it enables wasm32 # this feature requires wasm32-wasi target installed, and it enables wasm32
@@ -16,7 +16,7 @@ readme = "README.md"
wasm_tests = [] wasm_tests = []
[dependencies] [dependencies]
wasi-common-cbindgen = { path = "wasi-common-cbindgen", version = "0.5.0" } wasi-common-cbindgen = { path = "wasi-common-cbindgen" }
anyhow = "1.0" anyhow = "1.0"
thiserror = "1.0" thiserror = "1.0"
libc = "0.2" libc = "0.2"
@@ -26,13 +26,13 @@ log = "0.4"
filetime = "0.2.7" filetime = "0.2.7"
lazy_static = "1.4.0" lazy_static = "1.4.0"
num = { version = "0.2.0", default-features = false } num = { version = "0.2.0", default-features = false }
wig = { path = "wig", version = "0.1.0" } wig = { path = "wig" }
[target.'cfg(unix)'.dependencies] [target.'cfg(unix)'.dependencies]
nix = "0.15" nix = "0.15"
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]
winx = { path = "winx", version = "0.5.0" } winx = { path = "winx" }
winapi = "0.3" winapi = "0.3"
cpu-time = "1.0" cpu-time = "1.0"
@@ -42,7 +42,7 @@ wasmtime-environ = { path = "../environ" }
wasmtime-jit = { path = "../jit" } wasmtime-jit = { path = "../jit" }
wasmtime-wasi = { path = "../wasi" } wasmtime-wasi = { path = "../wasi" }
wasmtime = { path = "../api" } wasmtime = { path = "../api" }
cranelift-codegen = "0.49" cranelift-codegen = "0.49.0"
target-lexicon = "0.9.0" target-lexicon = "0.9.0"
pretty_env_logger = "0.3.0" pretty_env_logger = "0.3.0"
tempfile = "3.1.0" tempfile = "3.1.0"
@@ -55,3 +55,5 @@ cfg-if = "0.1.9"
name = "wasi_common" name = "wasi_common"
crate-type = ["rlib", "staticlib", "cdylib"] crate-type = ["rlib", "staticlib", "cdylib"]
[badges]
maintenance = { status = "actively-developed" }

View File

@@ -2,9 +2,10 @@
name = "wasi-common-cbindgen" name = "wasi-common-cbindgen"
version = "0.5.0" version = "0.5.0"
authors = ["Jakub Konka <kubkon@jakubkonka.com>"] authors = ["Jakub Konka <kubkon@jakubkonka.com>"]
edition = "2018"
license = "Apache-2.0 WITH LLVM-exception"
description = "Interface generator utilities used by wasi-common" description = "Interface generator utilities used by wasi-common"
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/CraneStation/wasmtime"
edition = "2018"
[lib] [lib]
proc-macro = true proc-macro = true
@@ -15,3 +16,6 @@ quote = "1.0.2"
[dev-dependencies] [dev-dependencies]
trybuild = "1.0.4" trybuild = "1.0.4"
[badges]
maintenance = { status = "actively-developed" }

View File

@@ -2,6 +2,7 @@
name = "wasi-misc-tests" name = "wasi-misc-tests"
version = "0.1.0" version = "0.1.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
readme = "README.md"
edition = "2018" edition = "2018"
publish = false publish = false

View File

@@ -2,11 +2,12 @@
name = "wig" name = "wig"
version = "0.1.0" version = "0.1.0"
authors = ["Dan Gohman <sunfish@mozilla.com>"] authors = ["Dan Gohman <sunfish@mozilla.com>"]
edition = "2018" description = "WebAssembly Interface Generator"
license = "Apache-2.0 WITH LLVM-exception"
categories = ["wasm"] categories = ["wasm"]
keywords = ["webassembly", "wasm"] keywords = ["webassembly", "wasm"]
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/CraneStation/wasmtime" repository = "https://github.com/CraneStation/wasmtime"
edition = "2018"
[lib] [lib]
proc-macro = true proc-macro = true
@@ -18,3 +19,6 @@ proc-macro2 = "1.0.6"
# to use the witx parser it contains, rather than the witx crate from # to use the witx parser it contains, rather than the witx crate from
# crates.io, so that it always matches the version of the witx files. # crates.io, so that it always matches the version of the witx files.
witx = { path = "../WASI/tools/witx" } witx = { path = "../WASI/tools/witx" }
[badges]
maintenance = { status = "actively-developed" }

View File

@@ -2,11 +2,29 @@
name = "winx" name = "winx"
version = "0.5.0" version = "0.5.0"
authors = ["Jakub Konka <kubkon@jakubkonka.com>"] authors = ["Jakub Konka <kubkon@jakubkonka.com>"]
edition = "2018"
license = "Apache-2.0 WITH LLVM-exception"
description = "Windows API helper library" description = "Windows API helper library"
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/CraneStation/wasmtime"
edition = "2018"
[dependencies] [dependencies]
winapi = { version = "0.3", features = ["std", "errhandlingapi", "handleapi", "processthreadsapi", "securitybaseapi", "winbase", "winerror", "ws2def", "fileapi", "aclapi" ] }
bitflags = "1.0" bitflags = "1.0"
cvt = "0.1" cvt = "0.1"
[dependencies.winapi]
version = "0.3"
features = [
"std",
"errhandlingapi",
"handleapi",
"processthreadsapi",
"securitybaseapi",
"winbase",
"winerror",
"ws2def",
"fileapi",
"aclapi"
]
[badges]
maintenance = { status = "actively-developed" }

View File

@@ -3,10 +3,10 @@ name = "wasmtime-wasi"
version = "0.2.0" version = "0.2.0"
authors = ["The Cranelift Project Developers"] authors = ["The Cranelift Project Developers"]
description = "WASI API support for Wasmtime" description = "WASI API support for Wasmtime"
license = "Apache-2.0 WITH LLVM-exception"
categories = ["wasm"] categories = ["wasm"]
keywords = ["webassembly", "wasm"] keywords = ["webassembly", "wasm"]
repository = "https://github.com/CraneStation/wasmtime" repository = "https://github.com/CraneStation/wasmtime"
license = "Apache-2.0 WITH LLVM-exception"
readme = "README.md" readme = "README.md"
edition = "2018" edition = "2018"
@@ -22,5 +22,4 @@ target-lexicon = "0.9.0"
log = { version = "0.4.8", default-features = false } log = { version = "0.4.8", default-features = false }
[badges] [badges]
maintenance = { status = "experimental" } maintenance = { status = "actively-developed" }
travis-ci = { repository = "CraneStation/wasmtime" }

View File

@@ -3,10 +3,10 @@ name = "wasmtime-wast"
version = "0.2.0" version = "0.2.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "wast testing support for wasmtime" description = "wast testing support for wasmtime"
license = "Apache-2.0 WITH LLVM-exception"
categories = ["wasm"] categories = ["wasm"]
keywords = ["webassembly", "wasm"] keywords = ["webassembly", "wasm"]
repository = "https://github.com/CraneStation/wasmtime" repository = "https://github.com/CraneStation/wasmtime"
license = "Apache-2.0 WITH LLVM-exception"
readme = "README.md" readme = "README.md"
edition = "2018" edition = "2018"
@@ -22,8 +22,7 @@ anyhow = "1.0.19"
target-lexicon = "0.9.0" target-lexicon = "0.9.0"
[badges] [badges]
maintenance = { status = "experimental" } maintenance = { status = "actively-developed" }
travis-ci = { repository = "CraneStation/wasmtime" }
[features] [features]
lightbeam = [] lightbeam = []

View File

@@ -13,14 +13,11 @@ wasmtime-environ = { path = "../wasmtime-environ" }
wasmtime-jit = { path = "../wasmtime-jit" } wasmtime-jit = { path = "../wasmtime-jit" }
cranelift-codegen = { version = "0.49", features = ["enable-serde"] } cranelift-codegen = { version = "0.49", features = ["enable-serde"] }
cranelift-wasm = { version = "0.49", features = ["enable-serde"] } cranelift-wasm = { version = "0.49", features = ["enable-serde"] }
cranelift-native = { version = "0.49" } cranelift-native = "0.49"
libfuzzer-sys = { git = "https://github.com/rust-fuzz/libfuzzer-sys.git" } libfuzzer-sys = { git = "https://github.com/rust-fuzz/libfuzzer-sys.git" }
wasmparser = { version = "0.39.2", default-features = false } wasmparser = { version = "0.39.2", default-features = false, features = ["core"] }
binaryen = "0.8.1" binaryen = "0.8.1"
[features]
default = ["wasmparser/core"]
# Prevent this from interfering with workspaces # Prevent this from interfering with workspaces
[workspace] [workspace]
members = ["."] members = ["."]