Cargo Features
[dependencies]
wasmtime-provider = { version = "1.16.0", default-features = false, features = ["cache", "wasi"] }
- default = wasi
-
The
wasi
feature is set by default wheneverwasmtime-provider
is added without
somewhere in the dependency tree.default-features = false - cache
-
Enables cache of wasmtime ^19.0
wasmtime:
Enables support for automatic cache configuration to be enabled in
Config
. - wasi default = wasi-common, wasmtime-wasi
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.
- wasmtime-wasi wasi
-
Enables wasmtime-wasi ^19.0
feature = wasi
- wasi-common wasi
-
Enables wasi-common ^19.0