tonic-rust
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Tonic Rust
Use these conventions for Rust gRPC clients and servers built with hyperium/tonic.
Source Baseline
- Prefer released docs from
docs.rs/tonic, crates.io, and the matching release branch. - Treat GitHub
mastercarefully: tonic notes thatmasteris preparing breaking changes. For released code, check thev0.14.xbranch. - Current docs.rs baseline checked for this skill:
tonic 0.14.6,tonic-prost-build 0.14.6, MSRV1.88. - Tonic is gRPC over HTTP/2 built on Tokio, Hyper, Tower, and Prost.
- For protobuf compilation through Prost, use
tonic-prost-build;tonic-buildnow points users totonic-prost-buildfor.protocompilation.
Cargo
Use pinned compatible crate families. Start narrow and add features intentionally.