Skip to content

release-0.0.18

Pre-release
Pre-release
Compare
Choose a tag to compare
@renerocksai renerocksai released this 09 May 03:23
· 456 commits to master since this release

ZAP Release release-0.0.18

Updates:

Just a little fix in debug-logging. Makes watching the UserPassSessionAuth introduced in the previous release more intuitive.

Using it

To use in your own projects, put this dependency into your build.zig.zon:

        // zap release-0.0.18
        .zap = .{
            .url = "https://github.com/zigzap/zap/archive/refs/tags/release-0.0.18.tar.gz",
            .hash = "12202080c00d04324721ea58a5120031109165177e89c5612edc74494f2d119b2a78",
        }

Here is a complete build.zig.zon example:

.{
    .name = "My example project",
    .version = "0.0.1",

    .dependencies = .{
        // zap release-0.0.18
        .zap = .{
            .url = "https://github.com/zigzap/zap/archive/refs/tags/release-0.0.18.tar.gz",
            .hash = "12202080c00d04324721ea58a5120031109165177e89c5612edc74494f2d119b2a78",
        }
    }
}

Then, in your build.zig's build function, add the following before
exe.install():

    const zap = b.dependency("zap", .{
        .target = target,
        .optimize = optimize,
    });
    exe.addModule("zap", zap.module("zap"));
    exe.linkLibrary(zap.artifact("facil.io"));