Cargo Features
[dependencies]
tonic-build = { version = "0.12.3", default-features = false, features = ["prost", "cleanup-markdown", "transport"] }
- default = prost, transport
-
These default features are set whenever
tonic-build
is added without
somewhere in the dependency tree.default-features = false - prost default cleanup-markdown? = prost-build
-
Enables prost-types
- 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.