Installation
Add zig-config to your build.zig.zon:
zig fetch --save git+https://github.com/zig-utils/zig-config
Then wire the module up in build.zig:
const zig_config = b.dependency("zig_config", .{
.target = target,
.optimize = optimize,
});
exe.root_module.addImport("zig_config", zig_config.module("zig_config"));
Requires Zig 0.15.1 or newer.
Or through Pantry:
pantry add zig-config