Skip to content

Releases: Chiissu/zig-uuid

v0.9.0

26 Jan 16:46
b2ab1cc
Compare
Choose a tag to compare

How to install

  1. 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",
        },
        ...
    }
    ...
}
  1. Add this to your build.zig
    const uuid = b.dependency("uuid", .{
        .target = target,
        .optimize = optimize,
    });
    exe.addModule("uuid", uuid.module("uuid"));
  1. You can now use UUID in your project
const uuid = @import("uuid");
vibe