Using it
In your zig project folder (where build.zig is located), run:
zig fetch --save "git+https://github.com/42LM/zig-package-manager-example#zig-0.15"Then, in your build.zig's build function, add the following before
b.installArtifact(exe):
const hello = b.dependency("hello", .{
.target = target,
.optimize = optimize,
});
exe.root_module.addImport("hello", hello.module("hello"));