diff --git a/README.md b/README.md index 2868ee0..a57d38b 100644 --- a/README.md +++ b/README.md @@ -48,14 +48,14 @@ zig fetch --save git+https://git.jcollie.dev/jeff/zig-csv.git#v0.3.0 ``` That records the resolved commit and hash in your `build.zig.zon` under the -name `zig_csv`. Naming a tag pins the release; leaving the `#v0.3.0` off +name `csv`. Naming a tag pins the release; leaving the `#v0.3.0` off pins whatever `main` happened to point at when you ran the command, which is rarely what you want in a committed manifest. Then wire the module up in your `build.zig`: ```zig -const csv_dep = b.dependency("zig_csv", .{ +const csv_dep = b.dependency("csv", .{ .target = target, .optimize = optimize, }); diff --git a/build.zig.zon b/build.zig.zon index 9550b72..99f3472 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,7 +1,7 @@ .{ - .name = .zig_csv, + .name = .csv, .version = "0.3.0", - .fingerprint = 0xb51631650614d5d2, + .fingerprint = 0x8a452570614d5d2, .minimum_zig_version = "0.17.0", .dependencies = .{}, .paths = .{