How to install
- Add this to your build.zig.zon
.{
...
.dependencies = .{
...
.uuid = .{
.url = "https://github.com/Chiissu/zig-uuid/archive/refs/tags/v0.9.0.tar.gz",
.hash = "1220dfa21876b11f67d3eb46ec1ad17c180b6c3934437417d6f13648cfe6f8d22b3e",
},
...
}
...
}
- Add this to your build.zig
const uuid = b.dependency("uuid", .{
.target = target,
.optimize = optimize,
});
exe.addModule("uuid", uuid.module("uuid"));
- You can now use UUID in your project
const uuid = @import("uuid");