* Upgrade all crates to the Rust 2021 edition
I've personally started using the new format strings for things like
`panic!("some message {foo}")` or similar and have been upgrading crates
on a case-by-case basis, but I think it probably makes more sense to go
ahead and blanket upgrade everything so 2021 features are always
available.
* Fix compile of the C API
* Fix a warning
* Fix another warning
27 lines
1020 B
TOML
27 lines
1020 B
TOML
[package]
|
|
name = "wasmtime-wasi"
|
|
version = "0.36.0"
|
|
authors = ["The Wasmtime Project Developers"]
|
|
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"
|
|
include = ["src/**/*", "README.md", "LICENSE", "build.rs"]
|
|
build = "build.rs"
|
|
|
|
[dependencies]
|
|
wasi-common = { path = "../wasi-common", version = "=0.36.0" }
|
|
wasi-cap-std-sync = { path = "../wasi-common/cap-std-sync", version = "=0.36.0", optional = true }
|
|
wasi-tokio = { path = "../wasi-common/tokio", version = "=0.36.0", optional = true }
|
|
wiggle = { path = "../wiggle", default-features = false, version = "=0.36.0", features = ["wasmtime_integration"] }
|
|
wasmtime = { path = "../wasmtime", default-features = false, version = "0.36.0" }
|
|
anyhow = "1.0"
|
|
|
|
[features]
|
|
default = ["sync"]
|
|
sync = ["wasi-cap-std-sync"]
|
|
tokio = ["wasi-tokio", "wasmtime/async", "wiggle/wasmtime_async"]
|