picohttpparser ported to the Zig build system
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-04-13 19:41:00 +02:00
.github/workflows ci: bump zig version to 0.14.0 2025-03-08 17:56:35 +01:00
.gitignore initial commit 2024-12-20 01:15:44 +01:00
build.zig update build.zig for latest zig 2025-03-01 22:31:22 +01:00
build.zig.zon refetch the dependencies to have the new hash 2025-03-02 01:09:34 +01:00
README.md fix(readme): update targeted zig version 2025-04-13 19:41:00 +02:00

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