mirror of
https://github.com/allyourcodebase/picohttpparser.git
synced 2026-11-17 01:20:29 +00:00
picohttpparser ported to the Zig build system
- Zig 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github/workflows | ||
| .gitignore | ||
| build.zig | ||
| build.zig.zon | ||
| README.md | ||
picohttpparser
This is picohttpparser packaged for Zig
zig version compatibility
- master targets Zig 0.14.0
- zig-master targets Zig master
Installation
Use zig fetch:
zig fetch --save git+https://github.com/allyourcodebase/picohttpparser#master
You can then import picohttpparser in your build.zig:
const picohttpparser = b.dependency("picohttpparser", .{
.target = target,
.optimize = optimize,
});
your_exe.addIncludePath(picohttpparser.path("."));
your_exe.linkLibrary(picohttpparser.artifact("picohttpparser"));