https://github.com/tensorush/zig-quickphf
Zig port of quickphf library for static hash map generation.
https://github.com/tensorush/zig-quickphf
quickphf zig zig-library zig-package
Last synced: 4 months ago
JSON representation
Zig port of quickphf library for static hash map generation.
- Host: GitHub
- URL: https://github.com/tensorush/zig-quickphf
- Owner: tensorush
- License: mit
- Created: 2024-03-25T20:41:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-04T13:55:42.000Z (4 months ago)
- Last Synced: 2025-03-04T14:35:34.700Z (4 months ago)
- Topics: quickphf, zig, zig-library, zig-package
- Language: Zig
- Homepage: https://tensorush.github.io/zig-quickphf/
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zig-quickphf
## Zig port of [quickphf library](https://github.com/dtrifuno/quickphf) for static hash map generation.
### Usage
- Add `quickphf` dependency to `build.zig.zon`.
```sh
zig fetch --save git+https://github.com/tensorush/zig-quickphf
```- Use `quickphf` dependency in `build.zig`.
```zig
const quickphf_dep = b.dependency("quickphf", .{
.target = target,
.optimize = optimize,
});
const quickphf_mod = quickphf_dep.module("quickphf");
.root_module.addImport("quickphf", quickphf_mod);
```