Zig bindings for the Refresh v3 API
We target the latest Mach Nominated Version.
Run the following command
zig fetch --save git+https://github.com/LittleBigRefresh/refresh-api-zig
Next, add the following to your build.zig
const refresh_api_zig = b.dependency("refresh_api", .{});
exe = b.addExecutable(...);
exe.addModule("api", refresh_api_zig.module("refresh-api-zig"));
Then, in your source code, you can import the API as such
const Api = @import("api");