Cargo Features

[dependencies]
wasm_plugin_host = { version = "0.1.7", default-features = false, features = ["inject_getrandom", "serialize_bincode", "serialize_json", "serialize_nanoserde_json"] }
default = inject_getrandom, serialize_bincode

These default features are set whenever wasm_plugin_host is added without default-features = false somewhere in the dependency tree.

inject_getrandom default = getrandom
serialize_bincode default = bincode, serde
serialize_json = serde, serde_json
serialize_nanoserde_json = nanoserde

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.

getrandom inject_getrandom
serde serialize_bincode serialize_json?
bincode serialize_bincode
serde_json serialize_json?
nanoserde serialize_nanoserde_json?