Cargo Features

linera-wit-bindgen-host-wasmtime-rust has no features set by default.

linera-wit-bindgen-host-wasmtime-rust = { version = "0.2.0", 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 linera-wit-bindgen-host-wasmtime-rust-macro

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 linera-wit-bindgen-host-wasmtime-rust-macro

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

tracing-lib tracing?

Enables tracing

async-trait async?