Cargo Features
serde-loader has no features set by default.
[dependencies]
serde-loader = { version = "0.2.0", features = ["full", "protobuf", "json", "yaml"] }
- full = json, json5, protobuf, yaml
- protobuf full? = prost
- json full? = serde_json
-
Affects
serde-loader::json
… - yaml full? = serde_yaml
-
Affects
serde-loader::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.
- json5 full?
-
Affects
serde-loader::json5
… - prost protobuf?
-
Enables prost ^0.11.9
- serde_json json?
- serde_yaml yaml?