Zig implementation of all seven UUID versions.
- Add
uuid
dependency tobuild.zig.zon
.
zig fetch --save https://github.com/tensorush/zig-uuid/archive/<git_tag_or_commit_hash>.tar.gz
- Use
uuid
dependency inbuild.zig
.
const uuid_dep = b.dependency("uuid", .{
.target = target,
.optimize = optimize,
});
const uuid_mod = uuid_dep.module("Uuid");
<compile>.root_module.addImport("Uuid", uuid_mod);