Cargo Features
wai-bindgen-wasmtime has no features set by default.
[dependencies]
wai-bindgen-wasmtime = { version = "0.2.3", features = ["tracing", "async"] }
- tracing = tracing-lib
-
Enables generated code to emit events via the
tracing
crate whenever wasm is entered and when native functions are called. Note that tracing is currently only done for imported functions.Enables tracing of wai-bindgen-wasmtime-impl
- async = async-trait
-
Enables async support for generated code, although when enabled this still needs to be configured through the macro invocation.
Enables async of wai-bindgen-wasmtime-impl
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- tracing-lib tracing?
-
Enables tracing
- async-trait async?