Cargo Features
[dependencies]
wasmer-types = { version = "6.1.0", default-features = false, features = ["std", "core", "enable-serde", "artifact-size", "detect-wasm-features"] }
- default = std
-
The
stdfeature is set by default wheneverwasmer-typesis added withoutsomewhere 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
- detect-wasm-features
-
Enables wasmparser ^0.224.0
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.