Rename Reader/Writer to Decoder/Encoder
They do not implement Zig's Reader/Writer interfaces, and might be confusing.
Remove old compatibility hack
Run example program in CI
Better compile error test error message
Use std.meta.Tag instead of deprecated @TagType
Remove remaining inStream()/outStream() use
Fix void union members
See issue #7866 on the zig github repository for more details.
Handle too-big HashMap capacity
Handle reading of invalid enum values
Small cleanup of float reading
Use reader/writer instead of inStream/outStream
Use Arch image; Alpine doesn't have Zig 0.7.0 yet
Port everything so `zig build test` works on 0.7.0
The earlier commit got what I was using working on 0.7.0, but I forgot
to run the test suite to ensure everything was updated. Now I have run
it and all of the tests work.
- The varint tests were failing because the `readVarInt` functions are
private. I moved these tests to `src/bare.zig` because I figure these
are internal details that shouldn't be made public.
Add test for duplicate enum values