Skip to content

Msgpack library for Zig (bindings to ludocode/mpack)

License

Notifications You must be signed in to change notification settings

Techcable/zig-mpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zig-mpack

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:

  1. We convert to zig-style errors for use with try/catch

TODO?

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 :(

About

Msgpack library for Zig (bindings to ludocode/mpack)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages