Cargo Features

[dependencies]
tonic-build = { version = "0.11.0", default-features = false, features = ["prost", "cleanup-markdown", "transport"] }
default = prost, transport

These default features are set whenever tonic-build is added without default-features = false somewhere in the dependency tree.

prost default cleanup-markdown? = prost-build
cleanup-markdown = prost

Enables cleanup-markdown of prost-build

transport default

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 cleanup-markdown? prost