size: 2 KiB
| 1 | .{ |
| 2 | // This is the default name used by packages depending on this one. For |
| 3 | // example, when a user runs `zig fetch --save <url>`, this field is used |
| 4 | // as the key in the `dependencies` table. Although the user can choose a |
| 5 | // different name, most users will stick with this provided value. |
| 6 | // |
| 7 | // It is redundant to include "zig" in this name because it is already |
| 8 | // within the Zig package namespace. |
| 9 | .name = .loa, |
| 10 | // This is a [Semantic Version](https://semver.org/). |
| 11 | // In a future version of Zig it will be used for package deduplication. |
| 12 | .version = "0.0.0", |
| 13 | // Together with name, this represents a globally unique package |
| 14 | // identifier. This field is generated by the Zig toolchain when the |
| 15 | // package is first created, and then *never changes*. This allows |
| 16 | // unambiguous detection of one package being an updated version of |
| 17 | // another. |
| 18 | // |
| 19 | // When forking a Zig project, this id should be regenerated (delete the |
| 20 | // field and run `zig build`) if the upstream project is still maintained. |
| 21 | // Otherwise, the fork is *hostile*, attempting to take control over the |
| 22 | // original project's identity. Thus it is recommended to leave the comment |
| 23 | // on the following line intact, so that it shows up in code reviews that |
| 24 | // modify the field. |
| 25 | .fingerprint = 0x665ccdf0cad9be97, // Changing this has security and trust implications. |
| 26 | // Tracks the earliest Zig version that the package considers to be a |
| 27 | // supported use case. |
| 28 | .minimum_zig_version = "0.16.0-dev.577+c50aa2b95", |
| 29 | // This field is optional. |
| 30 | // Each dependency must either provide a `url` and `hash`, or a `path`. |
| 31 | // `zig build --fetch` can be used to fetch all dependencies of a package, recursively. |
| 32 | // Once all dependencies are fetched, `zig build` no longer requires |
| 33 | // internet connectivity. |
| 34 | .dependencies = .{ |
| 35 | .zlua = .{ |
| 36 | .url = "git+https://github.com/natecraddock/ziglua?ref=main#39f8df588d0864070deffa308ef575bf492777a0", |
| 37 | .hash = "zlua-0.1.0-hGRpC6E9BQDBGKPqzmCRsI6Xd8jH9KohccmX69-L6HyS", |
| 38 | }, |
| 39 | }, |
| 40 | .paths = .{ |
| 41 | "build.zig", |
| 42 | "build.zig.zon", |
| 43 | "src", |
| 44 | // For example... |
| 45 | //"LICENSE", |
| 46 | //"README.md", |
| 47 | }, |
| 48 | } |