* 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
31 lines
832 B
TOML
31 lines
832 B
TOML
[package]
|
|
name = "wasmtime-fiber"
|
|
version = "0.36.0"
|
|
authors = ["The Wasmtime Project Developers"]
|
|
description = "Fiber support for Wasmtime"
|
|
license = "Apache-2.0 WITH LLVM-exception"
|
|
repository = "https://github.com/bytecodealliance/wasmtime"
|
|
edition = "2021"
|
|
|
|
# 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
|
|
# issue in the future we should tweak the build script to set `#define`
|
|
# directives or similar to embed a version number of this crate in symbols.
|
|
links = "wasmtime-fiber-shims"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
rustix = "0.33.5"
|
|
|
|
[target.'cfg(windows)'.dependencies.winapi]
|
|
version = "0.3.9"
|
|
features = [
|
|
"fibersapi",
|
|
"winbase",
|
|
]
|
|
|
|
[build-dependencies]
|
|
cc = "1.0"
|
|
|
|
[dev-dependencies]
|
|
backtrace = "0.3.61"
|