Cargo Features

proto-builder-trait = { version = "0.6.0", default-features = false, features = ["tonic", "prost"] }
default = prost, tonic

These default features are set whenever proto-builder-trait is added without default-features = false somewhere in the dependency tree.

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.

prost-build prost
tonic-build tonic

Enables tonic-build ^0.10.2