# grpc/grpc-rust

A native gRPC client & server implementation with async/await support.

Repository: https://github.com/grpc/grpc-rust
Canonical: https://ross.abutalabs.com/products/grpc-rust
Homepage: https://docs.rs/tonic
Language: Rust
License: MIT
License Family: permissive
Topics: rust, grpc, proto, rpc, async
Last push: 2026-08-26T18:06:58+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 83, longevity 100
- inputs: {"age_days": 2581, "days_push": 7, "days_rel": 119, "gap_med": 7.5, "n_releases_24m": 17}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 12449, forks 1247 (observed 2026-08-28T04:10:52.742598+00:00)

## What it is
Tonic is a Rust implementation of gRPC over HTTP/2, providing async/await client and server support built on hyper and tokio, with prost-based codegen from protobuf definitions. It is designed as a high-performance, interoperable core building block for production Rust systems.

## Use cases
- build a gRPC server in Rust
- create a gRPC client from protobuf definitions
- implement bidirectional streaming RPCs
- add TLS-secured gRPC services
- generate Rust client/server code from .proto files
- build microservices communicating over gRPC
- add load balancing and health checking to gRPC channels

## When to choose
- you need native gRPC in Rust with first-class async/await support
- you want high-performance HTTP/2 RPC between Rust services
- you need protobuf-based codegen for clients and servers
- you require streaming, TLS, load balancing, or custom metadata in gRPC
- you want an interoperable gRPC implementation that works with other language stacks

## When to avoid
- you need a simple REST or JSON API rather than gRPC
- your project does not use async Rust or the tokio ecosystem
- you need gRPC-Web support in the browser directly
- you want a C-binding-based gRPC implementation matching the official grpc core exactly

## Facets
- artifact type: library
- maturity: stable
- function: rpc, http-server, http-client, middleware, serialization
- domain: backend, web-development, apis, developer-tools
- platform: rust, cross-platform, windows
- tags: grpc, tonic, http2, protobuf, async, tokio, prost, codegen, streaming, tls, linux, macos

## Member repositories
- grpc/grpc-rust (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:52.742598+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:14:03.675867+00:00, confidence not recorded.
  - readme: https://github.com/grpc/grpc-rust (fetched 2026-08-28T04:10:52.742598+00:00, sha 37864a6c6435)
  - homepage: https://docs.rs/tonic (fetched 2026-08-29T08:10:59.190377+00:00, sha a30c4c07f38a)
  - site_page: https://docs.rs/ (fetched 2026-08-29T08:10:59.200060+00:00, sha 82f76ab42a7c)
  - site_page: https://docs.rs/crate/tonic/latest (fetched 2026-08-29T08:10:59.203149+00:00, sha 3187e5068f4a)
  - site_page: https://docs.rs/crate/tonic/latest/features (fetched 2026-08-29T08:10:59.205749+00:00, sha ed1bcf0cc260)
  - site_page: https://docs.rs/about (fetched 2026-08-29T08:10:59.207720+00:00, sha 29ab7986fbf5)
  - site_page: https://docs.rs/about/badges (fetched 2026-08-29T08:10:59.209464+00:00, sha 6588cac258af)
  - site_page: https://docs.rs/about/builds (fetched 2026-08-29T08:10:59.211305+00:00, sha 811231ca4680)
  - site_page: https://docs.rs/about/metadata (fetched 2026-08-29T08:10:59.213118+00:00, sha 0dcdccb2b2b2)
  - site_page: https://docs.rs/about/redirections (fetched 2026-08-29T08:10:59.214670+00:00, sha 1b1efd93105f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
