Fully self-contained Protobuf compiler for Zig.
build.zig
IntegrationYou can use protoclaw.GenerateStep
to generate Zig sources from Protobuf schemas in your build.zig
.
See our build.zig
for an example.
https://protobuf.com/docs/language-spec https://protobuf.dev/reference/protobuf/proto2-spec/ https://protobuf.dev/reference/protobuf/proto3-spec/
protoc .\example\hello.proto -Iexample --cpp_out=protoc-runs
MIT except for all files in include/
, which are licensed under Protobuf's BSD license, which is can be found at the start of those files or here.