mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 15:14:08 +00:00
525 B
525 B
ZAP Release {tag}
Updates
{annotation}
Using it
In your zig project folder (where build.zig
is located), run:
zig fetch --save "git+https://github.com/zigzap/zap#{tag}"
Then, in your build.zig
's build
function, add the following before
b.installArtifact(exe)
:
const zap = b.dependency("zap", .{
.target = target,
.optimize = optimize,
.openssl = false, // set to true to enable TLS support
});
exe.root_module.addImport("zap", zap.module("zap"));