Skip to content

tensorush/zig-uuid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);