[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-5473":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":10,"pushedAt":10,"updatedAt":28,"readmeContent":29,"aiSummary":30,"trendingCount":16,"starSnapshotCount":16,"syncStatus":31,"lastSyncTime":10,"discoverSource":32},5473,"tonic","hyperium\u002Ftonic","hyperium","A native gRPC client & server implementation with async\u002Fawait support.","https:\u002F\u002Fdocs.rs\u002Ftonic",null,"Rust",12056,1211,12015,352,0,31,44.25,"MIT License",false,"master",[23,24,25,26,27],"async","grpc","proto","rpc","rust","2026-06-12 02:01:10","![](https:\u002F\u002Fgithub.com\u002Fhyperium\u002Ftonic\u002Fraw\u002Fmaster\u002F.github\u002Fassets\u002Ftonic-banner.svg?sanitize=true)\n\n\nA rust implementation of [gRPC], a high performance, open source, general\nRPC framework that puts mobile and HTTP\u002F2 first.\n\n> **Note**: tonic's [master](https:\u002F\u002Fgithub.com\u002Fhyperium\u002Ftonic) branch is\n> currently preparing breaking changes. For the most recently *released* code,\n> look to the [0.14.x branch](https:\u002F\u002Fgithub.com\u002Fhyperium\u002Ftonic\u002Ftree\u002Fv0.14.x).\n\n[`tonic`] is a gRPC over HTTP\u002F2 implementation focused on high performance, interoperability, and flexibility. This library was created to have first class support of async\u002Fawait and to act as a core building block for production systems written in Rust.\n\n[![Crates.io](https:\u002F\u002Fimg.shields.io\u002Fcrates\u002Fv\u002Ftonic)](https:\u002F\u002Fcrates.io\u002Fcrates\u002Ftonic)\n[![Documentation](https:\u002F\u002Fdocs.rs\u002Ftonic\u002Fbadge.svg)](https:\u002F\u002Fdocs.rs\u002Ftonic)\n[![Crates.io](https:\u002F\u002Fimg.shields.io\u002Fcrates\u002Fl\u002Ftonic)](LICENSE)\n\n\n[Examples] | [Website] | [Docs] | [Chat][discord]\n\n## Overview\n\n[`tonic`] is composed of three main components: the generic gRPC implementation, the high performance HTTP\u002F2\nimplementation and the codegen powered by [`prost`]. The generic implementation can support any HTTP\u002F2\nimplementation and any encoding via a set of generic traits. The HTTP\u002F2 implementation is based on [`hyper`],\na fast HTTP\u002F1.1 and HTTP\u002F2 client and server built on top of the robust [`tokio`] stack. The codegen\ncontains the tools to build clients and servers from [`protobuf`] definitions.\n\n## Features\n\n- Bi-directional streaming\n- High performance async io\n- Interoperability\n- TLS backed by [`rustls`]\n- Load balancing\n- Custom metadata\n- Authentication\n- Health Checking\n\n## Getting Started\n\n- The [`helloworld`][helloworld-tutorial] tutorial provides a basic example of using `tonic`, perfect for first time users!\n- The [`routeguide`][routeguide-tutorial] tutorial provides a complete example of using `tonic` and all its features.\n\nExamples can be found in [`examples`] and for more complex scenarios [`interop`]\nmay be a good resource as it shows examples of many of the gRPC features.\n\n### Rust Version\n\n`tonic`'s MSRV is `1.88`.\n\n### Dependencies\n\n[`tonic-build`] uses `protoc` [Protocol Buffers compiler] in some APIs which compile Protocol Buffers resource files such as [`tonic_build::compile_protos()`].\n\n[Protocol Buffers compiler]: https:\u002F\u002Fprotobuf.dev\u002Fdownloads\u002F\n[`tonic_build::compile_protos()`]: https:\u002F\u002Fdocs.rs\u002Ftonic-build\u002Flatest\u002Ftonic_build\u002Ffn.compile_protos.html\n\n## Getting Help\n\nFirst, see if the answer to your question can be found in the API documentation.\nIf the answer is not there, there is an active community in\nthe [Tonic Discord channel][discord]. We would be happy to try to answer your\nquestion. If that doesn't work, try opening an [issue] with the question.\n\n[issue]: https:\u002F\u002Fgithub.com\u002Fhyperium\u002Ftonic\u002Fissues\u002Fnew\u002Fchoose\n\n## Project Layout\n\n- [`tonic`]: Generic gRPC and HTTP\u002F2 client\u002Fserver implementation.\n- [`tonic-build`]: [`prost`] based service codegen.\n- [`tonic-types`]: [`prost`] based grpc utility types including support for gRPC Well Known Types.\n- [`tonic-health`]: Implementation of the standard [gRPC health checking service][healthcheck].\n  Also serves as an example of both unary and response streaming.\n- [`tonic-reflection`]: A tonic based gRPC reflection implementation.\n- [`examples`]: Example gRPC implementations showing off tls, load balancing and bi-directional streaming.\n- [`interop`]: Interop tests implementation.\n\n## Contributing\n\n:balloon: Thanks for your help improving the project! We are so happy to have\nyou! We have a [contributing guide][guide] to help you get involved in the Tonic\nproject.\n\n[guide]: CONTRIBUTING.md\n\n## License\n\nThis project is licensed under the [MIT license](LICENSE).\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in Tonic by you, shall be licensed as MIT, without any additional\nterms or conditions.\n\n\n[gRPC]: https:\u002F\u002Fgrpc.io\n[`tonic`]: .\u002Ftonic\n[`tonic-build`]: .\u002Ftonic-build\n[`tonic-types`]: .\u002Ftonic-types\n[`tonic-health`]: .\u002Ftonic-health\n[`tonic-reflection`]: .\u002Ftonic-reflection\n[`examples`]: .\u002Fexamples\n[`interop`]: .\u002Finterop\n[`tokio`]: https:\u002F\u002Fgithub.com\u002Ftokio-rs\u002Ftokio\n[`hyper`]: https:\u002F\u002Fgithub.com\u002Fhyperium\u002Fhyper\n[`prost`]: https:\u002F\u002Fgithub.com\u002Ftokio-rs\u002Fprost\n[`protobuf`]: https:\u002F\u002Fprotobuf.dev\u002F\n[`rustls`]: https:\u002F\u002Fgithub.com\u002Frustls\u002Frustls\n[`interop`]: https:\u002F\u002Fgithub.com\u002Fhyperium\u002Ftonic\u002Ftree\u002Fmaster\u002Finterop\n[Examples]: https:\u002F\u002Fgithub.com\u002Fhyperium\u002Ftonic\u002Ftree\u002Fmaster\u002Fexamples\n[Website]: https:\u002F\u002Fgithub.com\u002Fhyperium\u002Ftonic\n[Docs]: https:\u002F\u002Fdocs.rs\u002Ftonic\n[discord]: https:\u002F\u002Fdiscord.gg\u002F6yGkFeN\n[routeguide-tutorial]: https:\u002F\u002Fgithub.com\u002Fhyperium\u002Ftonic\u002Fblob\u002Fmaster\u002Fexamples\u002Frouteguide-tutorial.md\n[helloworld-tutorial]: https:\u002F\u002Fgithub.com\u002Fhyperium\u002Ftonic\u002Fblob\u002Fmaster\u002Fexamples\u002Fhelloworld-tutorial.md\n[healthcheck]: https:\u002F\u002Fgrpc.io\u002Fdocs\u002Fguides\u002Fhealth-checking\u002F\n","tonic 是一个用 Rust 语言实现的 gRPC 客户端和服务器库，支持异步\u002F等待功能。该项目专注于高性能、互操作性和灵活性，通过使用 async\u002Fawait 提供一流的异步编程体验，并基于 hyper 和 tokio 技术栈构建了高效的 HTTP\u002F2 实现。此外，tonic 还提供了双向流处理、TLS 加密、负载均衡及自定义元数据等特性。适用于需要高并发处理能力且对性能有较高要求的应用场景，如微服务架构下的服务间通信、移动应用后端服务等。",2,"top_language"]