#protobuf #protoc #proto #serialization #google #pure #compatible

bin+lib protobuf-parse2

Parse .proto files. Files are parsed into a protobuf::descriptor::FileDescriptorSet object using either: pure rust parser (no dependencies) protoc binary (more reliable and compatible with Google’s implementation)

4 releases

4.0.0-alpha.4 Nov 3, 2023
4.0.0-alpha.3 Apr 7, 2023
4.0.0-alpha.2 Aug 23, 2022

#946 in Encoding

Download history 127/week @ 2023-12-14 183/week @ 2023-12-21 117/week @ 2023-12-28 139/week @ 2024-01-04 189/week @ 2024-01-11 125/week @ 2024-01-18 103/week @ 2024-01-25 265/week @ 2024-02-01 92/week @ 2024-02-08 252/week @ 2024-02-15 189/week @ 2024-02-22 152/week @ 2024-02-29 209/week @ 2024-03-07 148/week @ 2024-03-14 180/week @ 2024-03-21 255/week @ 2024-03-28

799 downloads per month
Used in 8 crates (2 directly)

MIT license

1.5MB
34K SLoC

Parse .proto files

Parse .proto file definitions, not the protobuf text format serialization.

Files can be parsed using pure Rust parser (mod pure) or using the protoc command (mod protoc).

This crate is not meant to be used directly, but rather through the protobuf-codegen crate. If you think this crate might be useful to you, please consider creating an issue, until that this crate is considered to have no stable API.


lib.rs:

Parse .proto files

Parse .proto file definitions, not the protobuf text format serialization.

Files can be parsed using pure Rust parser (mod pure) or using the protoc command (mod protoc).

This crate is not meant to be used directly, but rather through the protobuf-codegen crate. If you think this crate might be useful to you, please consider creating an issue, until that this crate is considered to have no stable API.

Dependencies

~3–14MB
~155K SLoC