| Crates.io | tonic-prost-build |
| lib.rs | tonic-prost-build |
| version | 0.14.2 |
| created_at | 2025-07-28 15:29:13.707124+00 |
| updated_at | 2025-09-02 17:42:45.342054+00 |
| description | Prost build integration for tonic |
| homepage | https://github.com/hyperium/tonic |
| repository | https://github.com/hyperium/tonic |
| max_upload_size | |
| id | 1771264 |
| size | 66,069 |
Prost build integration for tonic gRPC framework.
This crate provides code generation for gRPC services using protobuf definitions via the prost ecosystem. It bridges prost-build with tonic's generic code generation infrastructure.
Add to your build.rs:
fn main() {
tonic_prost_build::configure()
.compile_protos(&["proto/service.proto"], &["proto"])
.unwrap();
}
prost: Enables prost-based protobuf code generation (enabled by default)transport: Enables transport layer code generationcleanup-markdown: Enables markdown cleanup in generated documentation