Cargo Features

[dependencies]
wasmer-types = { version = "4.2.8", default-features = false, features = ["std", "core", "enable-serde"] }
default = std

The std feature is set by default whenever wasmer-types is added without default-features = false somewhere in the dependency tree.

std default

Affects wasmer-types::lib.std

core

Affects 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.

serde enable-serde?
serde_bytes enable-serde?