Skip to content

tensorush/zig-quickphf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zig-quickphf

Zig port of quickphf library for static hash map generation.

Usage

  1. Add quickphf dependency to build.zig.zon:
zig fetch --save git+https://github.com/tensorush/zig-quickphf.git
  1. Use quickphf dependency in build.zig:
const quickphf_dep = b.dependency("quickphf", .{
    .target = target,
    .optimize = optimize,
});
const quickphf_mod = quickphf_dep.module("quickphf");

...
    .imports = &.{
        .{ .name = "quickphf", .module = quickphf_mod },
    },
...

About

Zig port of quickphf library for static hash map generation.

Topics

Resources

License

Stars

Watchers

Forks

Languages