Proto.zig: proto2 package in zig 0.16.0

proto.zig


I really needed proto2 support in zig, so I made a package supporting that.

This even has support for the archaic groups feature.

This was mainly an excuse to try out the new io interface :slight_smile:.
I tried to keep it lean when it comes to codegen. No functions are generated in the types, like it would in zig-protobuf.
Only encode & decode support has been implemented, no json or streaming support.

Supported Zig versions

Only supporting 0.16.0 as of now.

AI / LLM usage disclosure

I used AI to diagnose errors during testing. The code is not AI generated.