protoclaw

protoc in zig (WIP)

MIT License

Stars
7
Committers
1

protoclaw

this doesnt work yet, please do not use

Fully self-contained Protobuf compiler for Zig.

Table of Contents

Usage

CLI

build.zig Integration

You can use protoclaw.GenerateStep to generate Zig sources from Protobuf schemas in your build.zig. See our build.zig for an example.

References

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

License

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.