Make this a package in Zig's package manager.
2 files changed, 15 insertions(+), 0 deletions(-)

M build.zig
A => build.zig.zon
M build.zig +4 -0
@@ 11,6 11,10 @@ pub fn build(b: *Build) void {
         .optimize = mode,
     });
     b.installArtifact(lib);
+    _ = b.addModule(
+        "sodium-wrapper",
+        .{ .root_source_file = b.path("src/sodium.zig") },
+    );
 
     var tests = b.addTest(.{
         .root_source_file = b.path("src/sodium.zig"),

          
A => build.zig.zon +11 -0
@@ 0,0 1,11 @@ 
+.{
+    .name = "sodium-wrapper",
+    .version = "0.0.1",
+    .dependencies = .{},
+    .minimum_zig_version = "0.13.0",
+    .paths = .{
+        "src",
+        "build.zig",
+        "build.zig.zon",
+    },
+}