#protobuf #serialization #no-alloc

no-std micropb-gen

Generate Rust module from Protobuf files

1 unstable release

0.1.0 Jul 14, 2024

#1930 in Embedded development

Download history 9/week @ 2024-11-13 3/week @ 2024-11-27 39/week @ 2024-12-04 91/week @ 2024-12-11 47/week @ 2024-12-18 25/week @ 2025-01-01 29/week @ 2025-01-08 23/week @ 2025-01-15 99/week @ 2025-01-22 173/week @ 2025-01-29 116/week @ 2025-02-05 166/week @ 2025-02-12 42/week @ 2025-02-19 80/week @ 2025-02-26

449 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

~3–12MB
~155K SLoC