Installation
Add tofu to build.zig.zon:
Add tofu to build.zig:
Add dependency
const tofu: *build.Dependency = b.dependency("tofu", .{
.target = target,
.optimize = optimize,
});
For any xyz_mod module that uses tofu, add the following code
xyz_mod.addImport("tofu", tofu.module("tofu"));