Skip to content

Vexu/comptime_hash_map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Comptime HashMap

A statically initiated HashMap, originally a pull request to the Zig std lib #5359.

Installation

Build for Zig 0.13.0.

zig fetch --save git+https://github.com/Vexu/comptime_hash_map

In your build.zig:

const chm = b.dependency("comptime_hash_map", .{});
exe.root_module.addImport("comptime_hash_map", chm.module("comptime_hash_map"));

In your exe module:

const chm = @import("comptime_hash_map");