This is picohttpparser packaged for Zig
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"));