tensorush/zig-exhaustigen
Zig port of exhaustigen-rs library for exhaustive testing.
exhaustigen dependency to build.zig.zon:zig fetch --save git+https://github.com/tensorush/zig-exhaustigen.git
exhaustigen dependency in build.zig:const exhaustigen_dep = b.dependency("exhaustigen", .{
.target = target,
.optimize = optimize,
});
const exhaustigen_mod = exhaustigen_dep.module("exhaustigen");
const root_mod = b.createModule(.{
.target = target,
.optimize = optimize,
.imports = &.{
.{ .name = "exhaustigen", .module = exhaustigen_mod },
},
});