{"id":57315,"library":"tonic-build","title":"Tonic Build","description":"Codegen module of `tonic` gRPC implementation.","status":"active","version":"0.14.6","language":"rust","source_language":null,"source_url":"https://github.com/hyperium/tonic","tags":["grpc","codegen","protobuf"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ntonic-build = \"0.14.6\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add tonic-build","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"compile_protos","correct":"use tonic_build::compile_protos;"}],"quickstart":{"code":"use tonic_build::compile_protos;\n\nfn main() -> Result<(), Box<dyn std::error::Error>> {\n    compile_protos(\"proto/helloworld.proto\")?;\n    Ok(())\n}","lang":"rust","description":"Compile a .proto file to generate Rust gRPC code in a build script."},"warnings":[{"fix":"Install protobuf compiler (protoc) via your package manager or from https://github.com/protocolbuffers/protobuf/releases.","message":"Requires `protoc` binary installed on the system.","severity":"gotcha","affected_versions":">=0.14.0"}],"env_vars":null,"search_vec":"'build':2 'codegen':3,10 'grpc':7,9 'implement':8 'modul':4 'protobuf':11 'tonic':1,6","created_at":"2026-06-16T15:37:34.229362+00:00","updated_at":"2026-06-16T15:37:34.229362+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/hyperium/tonic","github":"https://github.com/hyperium/tonic","docs":"https://docs.rs/tonic-build/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking","build-tool"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}