Protokit

crates.io img example workflow

Implementation of protocol buffers for rust.

Why not prost/pb-j/rust-protobuf?

Started with my need for proper textformat support.

prototext any_value { [type.googleapis.com/com.example.SomeType] { field1: "hello" } }

After I investigated other crates, I found out that they had other issues (required boxing in rust-protobuf, messy codegen in prost).

Features

pub struct FieldPath { #[field(1, varint, packed)] pub fields: Vec, }

[derive(Default, Debug, Clone, BinProto)]

pub struct FieldMask { #[field(1, nested, repeated)] pub paths: Vec, } ```