Cargo Features
[dependencies]
wasmtime-wiggle = { version = "0.27.0", default-features = false, features = ["async", "wiggle_metadata", "tracing_log"] }
- async default
-
Async support for wasmtime
Enables async of wasmtime ^0.27.0 and wasmtime-wiggle-macro
- wiggle_metadata default = witx
-
The wiggle proc-macro emits some code (inside
pub mod metadata
) guarded by thewiggle_metadata
feature flag. We use this feature flag so that users of wiggle are not forced to take a direct dependency on thewitx
crate unless they want it.Enables wiggle_metadata of wiggle ^0.27.0
- tracing_log
-
The
tracing
crate can use thelog
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 usetracing-subscriber
to get the logs out of wiggle-generated libraries.Enables tracing_log of wiggle ^0.27.0
- default = async, wiggle_metadata
-
These default features are set whenever
wasmtime-wiggle
is added without
somewhere in the dependency tree.default-features = false
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.