Cargo Features
[dependencies]
wasm_plugin_guest = { version = "0.1.5", 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_guest
is added without
somewhere in the dependency tree.default-features = false - 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.