Cargo Features
[dependencies]
wasmer-types = { version = "5.0.2", default-features = false, features = ["std", "core", "enable-serde", "artifact-size"] }
- default = std
-
The
std
feature is set by default wheneverwasmer-types
is added without
somewhere in the dependency tree.default-features = false - std default
-
Affects
wasmer-types::lib.std
… - core
-
Affects
wasmer-types::lib.std
… - enable-serde = serde, serde_bytes
-
Enables serde of indexmap and std of serde
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - artifact-size
-
Enables loupe
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.