Install
Copy, paste, build.
The lines below are shell and build.zig lines for your project. They are written text, not working code from this repo.
Fetch the package
It writes the dependency into your build.zig.zon.
Add it to build.zig
Put these lines after your exe:
const paternitas = b.dependency("paternitas", .{
.target = target,
.optimize = optimize,
});
exe.root_module.addImport("paternitas", paternitas.module("paternitas"));
Import it
Requirements
- Zig 0.16.0.
stdonly. No other dependency.