ZAP Release v0.11.0
Updates
Update to Zig 0.15.1
This release introduces breaking changes that basically come from
"unmanaged" containers being the default in Zig's std library now. The
rest of Zap hasn't really changed much.
All examples and tests have been updated.
Also, the following contributions made it into the release:
- 3c22e9d - chore: update to latest zig version
- 512c630 - feat: tweak support for additional cookie fields
- 6174c3e - feat: add parition support for cookies in facil.io
Thanks Tesseract22 who kicked off the 0.15 work and Michael!
Using it
In your zig project folder (where build.zig
is located), run:
zig fetch --save "git+https://github.com/zigzap/zap#v0.11.0"
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"));