SkillAgentSearch skills...

Zlib

zlib ported to the zig build system

Install / Use

/learn @allyourcodebase/Zlib
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

zlib

This is zlib, packaged for Zig.

How to use it

First, update your build.zig.zon:

zig fetch --save https://github.com/allyourcodebase/zlib/archive/refs/tags/1.3.1.tar.gz

Next, add this snippet to your build.zig script:

const zlib_dep = b.dependency("zlib", .{
    .target = target,
    .optimize = optimize,
});
your_compilation.linkLibrary(zlib_dep.artifact("z"));

This will provide zlib as a static library to your_compilation.

View on GitHub
GitHub Stars63
CategoryDevelopment
Updated20d ago
Forks14

Languages

Zig

Security Score

95/100

Audited on Mar 7, 2026

No findings