#protobuf #serialization #no-alloc

no-std micropb-gen

Generate Rust module from Protobuf files

1 unstable release

0.1.0 Jul 14, 2024

#878 in Embedded development

Download history 79/week @ 2024-07-08 33/week @ 2024-07-15 2/week @ 2024-08-12 17/week @ 2024-09-16 15/week @ 2024-09-23 14/week @ 2024-09-30 8/week @ 2024-10-07 19/week @ 2024-10-14

57 downloads per month

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–11MB
~134K SLoC