Release v0.10.5
ZAP Release v0.10.5
Updates
A quick one. I was so fascinated by @TesseractCat's PR that I implemented
the same logic for all other forms of endpoints: regular endpoints,
authenticating endpoints, and middleware endpoints.
- see #171 from Tesseract22 : provide defaults to unprovided method
handlers in zap.App - the default handlers now return 405 - method not allowed, and also log
a message
I also fixed port numbers in tests so they don't cross-talk to each
other when run in parallel by the zig test runner.
Using it
In your zig project folder (where build.zig
is located), run:
zig fetch --save "git+https://github.com/zigzap/zap#v0.10.5"
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"));