1diff --git a/build.zig.zon b/build.zig.zon
2new file mode 100644
3index 0000000000000000000000000000000000000000..0d0a723f63f71f1afa6c8c71cd32414daa07122d
4--- /dev/null
5+++ b/build.zig.zon
6@@ -0,0 +1,10 @@
7+.{
8+ .name = "uf",
9+ .version = "0.0.1",
10+
11+ .dependencies = .{},
12+
13+ .paths = .{
14+ "",
15+ },
16+}
17diff --git a/src/main.zig b/src/main.zig
18index c65a36b41bce665f55e175b5e4d0fba7113be8af..14eb65c02af62dcd3f90b6228567a2fd7bc5e6e2 100644
19--- a/src/main.zig
20+++ b/src/main.zig
21@@ -18,16 +18,16 @@
22 var out_buf: [buf_size]u8 = undefined;
23 var out_index: u32 = 0;
24
25- fn init() *const Self {
26- return &Self{};
27+ fn init() Self {
28+ return Self{};
29 }
30
31- fn flush(_: *const Self, out: Writer) !void {
32+ fn flush(_: Self, out: Writer) !void {
33 _ = try out.write(out_buf[0..out_index]);
34 out_index = 0;
35 }
36
37- fn writeChar(self: *const Self, out: Writer, c: u8) !void {
38+ fn writeChar(self: Self, out: Writer, c: u8) !void {
39 if (out_index >= buf_size) {
40 try self.flush(out);
41 }
42@@ -35,7 +35,7 @@ out_buf[out_index] = c;
43 out_index += 1;
44 }
45
46- fn streamCopy(self: *const Self, in: File, out: File) !void {
47+ fn streamCopy(self: Self, in: File, out: File) !void {
48 const reader = in.reader();
49 const writer = out.writer();
50
51diff --git a/src/root.zig b/src/root.zig
52deleted file mode 100644
53index ecfeade1a3ac1a5959545293ac3f34625b4743ce..0000000000000000000000000000000000000000
54--- a/src/root.zig
55+++ /dev/null
56@@ -1,10 +0,0 @@
57-const std = @import("std");
58-const testing = std.testing;
59-
60-export fn add(a: i32, b: i32) i32 {
61- return a + b;
62-}
63-
64-test "basic add functionality" {
65- try testing.expect(add(3, 7) == 10);
66-}