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

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

View File

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

View File

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

View File

@@ -2,11 +2,12 @@
name = "wig"
version = "0.1.0"
authors = ["Dan Gohman <sunfish@mozilla.com>"]
edition = "2018"
description = "WebAssembly Interface Generator"
license = "Apache-2.0 WITH LLVM-exception"
categories = ["wasm"]
keywords = ["webassembly", "wasm"]
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/CraneStation/wasmtime"
edition = "2018"
[lib]
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
# crates.io, so that it always matches the version of the witx files.
witx = { path = "../WASI/tools/witx" }
[badges]
maintenance = { status = "actively-developed" }

View File

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