Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 506 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 506 Bytes

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