Zig bindings to ludocode/mpack.
The underlying library is excellent (and ~60K). We just add a nice Zig wrapper.
The bindings pretty closely match the underlying C API, with a handful exceptions:
- We convert to zig-style errors for use with
try
/catch
These bindings are incomplete, please open a PR (or an issue) if there is something you need and we don't have.
In particular, we don't include bindings to the Node API (yet). See issue #4
Type reflection doesn't work with structs. This is fairly difficult to do when input is a map and the fields can be in any order :(