Release v0.1.1-pre
Pre-release
Pre-release
ZAP Release v0.1.1-pre
Updates
release workflow: add manual trigger, use announceybot.exe
Using it
To use in your own projects, put this dependency into your build.zig.zon
:
// zap v0.1.1-pre
.zap = .{
.url = "https://github.com/zigzap/zap/archive/refs/tags/v0.1.1-pre.tar.gz",
.hash = "12206f567408318b76579ab02648412f0fe5d5aceb959503983b7e09149678cd56a7",
}
Here is a complete build.zig.zon
example:
.{
.name = "My example project",
.version = "0.0.1",
.dependencies = .{
// zap v0.1.1-pre
.zap = .{
.url = "https://github.com/zigzap/zap/archive/refs/tags/v0.1.1-pre.tar.gz",
.hash = "12206f567408318b76579ab02648412f0fe5d5aceb959503983b7e09149678cd56a7",
}
}
}
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"));