Cargo Features
[dependencies]
proto-builder-trait = { version = "0.6.2", default-features = false, features = ["tonic", "prost"] }
- default = prost, tonic
-
These default features are set whenever
proto-builder-trait
is added without
somewhere in the dependency tree.default-features = false - tonic default = tonic-build
-
Affects
proto-builder-trait::tonic
… - prost default = prost-build
-
Affects
proto-builder-trait::prost
…
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.