tokio-rs

prost

tokio-rs

PROST! a Protocol Buffers implementation for the Rust Language

AI 简介

PROST 是一个面向 Rust 语言的 Protocol Buffers(protobuf)序列化实现,用于将 .proto 文件编译为简洁、符合 Rust 惯用风格的结构体与序列化/反序列化代码。其核心特点包括:基于 derive 宏生成可读性强的类型、保留源文件注释、支持对已有 Rust 类型添加序列化属性、使用 bytes::Buf/BufMut 而非标准 I/O 接口、按 protobuf package 自动组织模块、并保留未知枚举值。适用于需要高性能、零成本抽象且强调可维护性的 Rust 后端服务、微服务通信及跨语言数据交换场景。

Rust
Apache License 2.0
4.7k
Stars
629
Forks
31
Watchers
185
Issues

Star 增长

今日0
近 7 天0
近 30 天+8
综合评分30.4
默认分支master