#protobuf #no-alloc #serialization

no-std micropb-gen

Generate Rust module from Protobuf files

1 unstable release

0.1.0 Jul 14, 2024

#2437 in Embedded development

Download history 72/week @ 2024-12-15 1/week @ 2024-12-22 10/week @ 2024-12-29 30/week @ 2025-01-05 30/week @ 2025-01-12 79/week @ 2025-01-19 73/week @ 2025-01-26 200/week @ 2025-02-02 142/week @ 2025-02-09 89/week @ 2025-02-16 69/week @ 2025-02-23 63/week @ 2025-03-02 41/week @ 2025-03-09 76/week @ 2025-03-16 72/week @ 2025-03-23 112/week @ 2025-03-30

303 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