Cargo Features
[dependencies]
wasmer-bus-types = { version = "1.1.0", default-features = false, features = ["enable_bincode", "enable_mpack", "enable_json", "enable_yaml", "enable_xml", "enable_rkyv", "enable_num_enum"] }
- default = enable_bincode, enable_json, enable_mpack, enable_num_enum, enable_xml, enable_yaml
-
These default features are set whenever
wasmer-bus-types
is added without
somewhere in the dependency tree.default-features = false - enable_bincode default = bincode
- enable_mpack default = rmp-serde
- enable_json default = serde_json
- enable_yaml default = serde_yaml
- enable_xml default = serde-xml-rs
- enable_rkyv = rkyv
- enable_num_enum default = num_enum
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.
- num_enum enable_num_enum
-
Enables num_enum ^0.5
- serde_json enable_json
- bincode enable_bincode
- rmp-serde enable_mpack
-
Enables rmp-serde ^0.15
- serde-xml-rs enable_xml
-
Enables serde-xml-rs ^0.5
- serde_yaml enable_yaml
-
Enables serde_yaml ^0.8
- rkyv enable_rkyv?
-
Enables rkyv ^0.7