Registry / networking / tonic
library0.14.6rscratesunverified

A gRPC over HTTP/2 implementation focused on high performance, interoperability, and flexibility.

# Cargo.toml [dependencies] tonic = "0.14.6"
INSTALL
IMPORT
SIG · TONIC
T
tonic
networkingrustv0.14.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Server
✓ use tonic::transport::Server;

Imports the Tonic Server type for building gRPC servers.

use tonic::transport::Server; fn main() { println!("Tonic server setup"); }
Debug
Known issues
gotchaRequires a Tokio runtime to run; using tonic without Tokio will panic.
fix
Ensure you have `tokio` as a dependency and use `#[tokio::main]` or manually create a runtime.
affects: >=0.1.0
Upgrade
Version history
0.14.6latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
49 hits · last 30 days
node
44
Resources
tonic — cargo add tonic · libregistry