1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 15:14:08 +00:00
zap/tools/announceybot/release-note-template.md
2024-10-14 23:01:09 +02:00

25 lines
525 B
Markdown

# 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)`:
```zig
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"));
```