This commit updates to the 0.9 version of the witx crate implemented in WebAssembly/wasi#395. This new version drastically changes code generation and how we interface with the crate. The intention is to abstract the code generation aspects and allow code generators to implement much more low-level instructions to enable more flexible APIs in the future. Additionally a bunch of `*.witx` files were updated in the WASI repository. It's worth pointing out, however, that `wasi-common` does not change as a result of this change. The shape of the APIs that we need to implement are effectively the same and the only difference is that the shim functions generated by wiggle are a bit different.
41 lines
1.4 KiB
TOML
41 lines
1.4 KiB
TOML
[package]
|
|
name = "wiggle"
|
|
version = "0.23.0"
|
|
authors = ["Pat Hickey <phickey@fastly.com>", "Jakub Konka <kubkonk@jakubkonka.com>", "Alex Crichton <alex@alexcrichton.com>"]
|
|
edition = "2018"
|
|
license = "Apache-2.0 WITH LLVM-exception"
|
|
description = "Runtime components of wiggle code generator"
|
|
categories = ["wasm"]
|
|
keywords = ["webassembly", "wasm"]
|
|
repository = "https://github.com/bytecodealliance/wasmtime"
|
|
include = ["src/**/*", "LICENSE"]
|
|
|
|
[dependencies]
|
|
thiserror = "1"
|
|
witx = { path = "../wasi-common/WASI/tools/witx", version = "0.9", optional = true }
|
|
wiggle-macro = { path = "macro", version = "0.23.0" }
|
|
tracing = "0.1.15"
|
|
bitflags = "1.2"
|
|
|
|
[badges]
|
|
maintenance = { status = "actively-developed" }
|
|
|
|
[dev-dependencies]
|
|
wiggle-test = { path = "test-helpers" }
|
|
proptest = "0.10"
|
|
|
|
[features]
|
|
# The wiggle proc-macro emits some code (inside `pub mod metadata`) guarded
|
|
# by the `wiggle_metadata` feature flag. We use this feature flag so that
|
|
# users of wiggle are not forced to take a direct dependency on the `witx`
|
|
# crate unless they want it.
|
|
wiggle_metadata = ['witx', "wiggle-macro/wiggle_metadata"]
|
|
|
|
# The `tracing` crate can use the `log` ecosystem of backends with this
|
|
# non-default feature. We don't need to provide this by default, but its
|
|
# useful for users that don't want to use `tracing-subscriber` to get
|
|
# the logs out of wiggle-generated libraries.
|
|
tracing_log = [ "tracing/log" ]
|
|
|
|
default = ["wiggle_metadata" ]
|