Cargo Features
[dependencies]
trs-data-value = { version = "0.1.2", default-features = false, features = ["python", "json", "proto"] }
- default = json, proto
-
These default features are set whenever
trs-data-value
is added without
somewhere in the dependency tree.default-features = false - python = pyo3
-
this enables pyo3 support for DataValue
- json default
-
Enables serde_json
- proto default
-
Enables prost-reflect
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.