Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.48 KB

README.md

File metadata and controls

38 lines (29 loc) · 1.48 KB

zig-uuid

CI CD DC LC

Zig implementation of all seven UUID versions.

🚀 Usage

  • Add uuid dependency to build.zig.zon.
zig fetch --save https://github.com/tensorush/zig-uuid/archive/<git_tag_or_commit_hash>.tar.gz
  • Use uuid dependency in build.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);