Cargo Features
[dependencies]
hc-wasmer-types = { version = "4.3.6-hc.1", default-features = false, features = ["std", "core", "enable-serde"] }
- default = std
-
The
std
feature is set by default wheneverhc-wasmer-types
is added without
somewhere in the dependency tree.default-features = false - std default
-
Affects
hc-wasmer-types::lib.std
… - core
-
Affects
hc-wasmer-types::lib.std
… - enable-serde = serde, serde_bytes
-
Enables serde-1 of indexmap ^1.6 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.
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.