diff options
| author | Alexander Leonhardt <equinox.salexander@gmail.com> | |
|---|---|---|
| 2026-06-27 02:29:17 +0200 | ||
| committer | Alexander Leonhardt <equinox.salexander@gmail.com> | |
| 2026-07-01 19:41:49 +0200 | ||
| commit | f3ab0bf0acbd287b45426bb535acea7633b79b2d (patch) | |
| tree | 00277256e934078516d98b03e4bae7193ae94ce5 /build.zig.zon | |
| download | totp-f3ab0bf0acbd287b45426bb535acea7633b79b2d.tar.gz totp-f3ab0bf0acbd287b45426bb535acea7633b79b2d.tar.bz2 totp-f3ab0bf0acbd287b45426bb535acea7633b79b2d.zip | |
Added implementation of the time-based-one-time-password algorithm and on-device encryptionHEADmaster
Diffstat (limited to 'build.zig.zon')
| -rw-r--r-- | build.zig.zon | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/build.zig.zon b/build.zig.zon new file mode 100644 index 0000000..bf86b3d --- /dev/null +++ b/build.zig.zon @@ -0,0 +1,48 @@ +.{ + // This is the default name used by packages depending on this one. For + // example, when a user runs `zig fetch --save <url>`, this field is used + // as the key in the `dependencies` table. Although the user can choose a + // different name, most users will stick with this provided value. + // + // It is redundant to include "zig" in this name because it is already + // within the Zig package namespace. + .name = .totp, + // This is a [Semantic Version](https://semver.org/). + // In a future version of Zig it will be used for package deduplication. + .version = "0.0.0", + // 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 = 0x9dc4a90460f7bfd5, // Changing this has security and trust implications. + // Tracks the earliest Zig version that the package considers to be a + // supported use case. + .minimum_zig_version = "0.16.0", + // This field is optional. + // Each dependency must either provide a `url` and `hash`, or a `path`. + // `zig build --fetch` can be used to fetch all dependencies of a package, recursively. + // Once all dependencies are fetched, `zig build` no longer requires + // internet connectivity. + .dependencies = .{ + .hidapi = .{ + .url = "git+https://github.com/libusb/hidapi.git#ee022f543807ebfa29e4759076cf1ea2ac7ec7ae", + .hash = "N-V-__8AALweHgDuiQeXchZ42doW1DBFoRQQShq7lX6tLYtI", + }, + }, + .paths = .{ + "build.zig", + "build.zig.zon", + "src", + // For example... + //"LICENSE", + //"README.md", + }, +} |