Cargo Features
[dependencies]
tapa-trait-serde = { version = "0.3.0", default-features = false, features = ["all", "cbor", "json", "msgpack", "yaml"] }
- default = all
-
The
all
feature is set by default whenevertapa-trait-serde
is added without
somewhere in the dependency tree.default-features = false - all default = bincode, cbor, flexbuffers, json, msgpack, ron, toml, yaml
- cbor all = serde_cbor
- json all = serde_json
- msgpack all = rmp-serde
- yaml all = serde_yaml
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.
- bincode all
- flexbuffers all
- rmp-serde msgpack?
-
Enables rmp-serde ^0.15.5
- ron all
-
Enables ron ^0.7.0
- serde_cbor cbor?
- serde_json json?
- serde_yaml yaml?
-
Enables serde_yaml ^0.8.21
- toml all
-
Enables toml ^0.5.8