Feature request: expose a zig module
I was curious if you would accept exposing a zig module for cyber so it could be imported directly in a zig project without going through the c api?
This seems like a duplicate of https://github.com/fubark/cyber/issues/86.
@sno2 Isn't that specifically about tooling?
But I concur, having a direct Zig API would be very much appreciated!
I have started to improve capi.zig, so you can expect something in the next commit. But it's not comprehensive, I've only included things I've needed to use for testing. It's essentially a wrapper over the the flat C functions as Zig methods.
Edit: Actually it's already there. If you're unsure of how to use it I would just do a grep for usages. For example ZVM is the Zig wrapper for VM. But there is no Zig module for it, if someone is interested I'd welcome the PR.