Cargo Features
wai-bindgen-wasmer has no features set by default.
[dependencies]
wai-bindgen-wasmer = { version = "0.32.0", features = ["tracing", "async", "js", "sys", "cranelift", "singlepass", "llvm"] }
- 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-wasmer-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-wasmer-impl
- js
-
Wasmer features
Enables js-default of wasmer
- sys
-
wasmer:
Features for
sys
. - cranelift
-
Wasmer compiler (with
sys
feature only) - singlepass
-
Enables singlepass of wasmer
- llvm
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.
- async-trait async?
- tracing-lib tracing?
-
Enables tracing