#protobuf #serialization #no-alloc

no-std micropb-gen

Generate Rust module from Protobuf files

1 unstable release

0.1.0 Jul 14, 2024

#1539 in Embedded development

23 downloads per month
Used in opentelemetry-micropb

MIT/Apache

720KB
14K SLoC

micropb-gen

micropb-gen compiles .proto files into Rust. It is intended to be used inside build.rs for build-time code generation.

The entry point of this crate is the Generator type. Configuration of code generator behaviour is handled by the Config type.

Note: micropb-gen requires protoc to be installed on the PATH to run the code generator.

Dependencies

~2–12MB
~140K SLoC