File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 11# tonic-build
22
3- Provides code generation for service stubs to use with tonic. For protobuf compilation via prost, use the ` tonic-prost-build ` crate.
3+ Provides code generation for service stubs to use with tonic. For protobuf compilation via prost, use the ` tonic-prost-build ` crate instead .
44
55# Feature flags
66
7- - ` cleanup-markdown ` : Enables cleaning up documentation from the generated code.
8- Useful when documentation of the generated code fails ` cargo test --doc ` for example.
9- The ` prost ` feature must be enabled to use this feature.
10- - ` prost ` : Enables usage of prost generator (enabled by default).
117- ` transport ` : Enables generation of ` connect ` method using ` tonic::transport::Channel `
128 (enabled by default).
139
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ fn main() {
2020
2121## Features
2222
23- - ` prost ` : Enables prost-based protobuf code generation (enabled by default)
2423- ` transport ` : Enables transport layer code generation
2524- ` cleanup-markdown ` : Enables markdown cleanup in generated documentation
2625
You can’t perform that action at this time.
0 commit comments