From ff7d1ede5937b9956e50c6432809bde1586371b3 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Sun, 9 Mar 2025 20:17:17 +0100 Subject: [PATCH] update to zig 0.14.0 build.zig.zon now requires a fingerprint and there was some issue with the name --- build.zig.zon | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/build.zig.zon b/build.zig.zon index c16b3c3..a71b59e 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,13 +1,27 @@ .{ - .name = "zig-totp", + .name = .f, // This is a [Semantic Version](https://semver.org/). // In a future version of Zig it will be used for package deduplication. .version = "0.1.0-dev", + // Together with name, this represents a globally unique package + // identifier. This field is generated by the Zig toolchain when the + // package is first created, and then *never changes*. This allows + // unambiguous detection of one package being an updated version of + // another. + // + // When forking a Zig project, this id should be regenerated (delete the + // field and run `zig build`) if the upstream project is still maintained. + // Otherwise, the fork is *hostile*, attempting to take control over the + // original project's identity. Thus it is recommended to leave the comment + // on the following line intact, so that it shows up in code reviews that + // modify the field. + .fingerprint = 0x76d32be0e41821b4, // Changing this has security and trust implications. + // This field is optional. // This is currently advisory only; Zig does not yet do anything // with this value. - //.minimum_zig_version = "0.11.0", + //.minimum_zig_version = "0.14.0", // This field is optional. // Each dependency must either provide a `url` and `hash`, or a `path`.