Cargo Features
json-trait-rs has no features set by default.
[dependencies]
json-trait-rs = { version = "0.11.0", features = ["trait_json", "trait_serde_json", "trait_serde_yaml", "trait_pyo3"] }
- trait_json = json
- trait_serde_json = serde_json
- trait_serde_yaml = serde_yaml
- trait_pyo3 = pyo3
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.