grace/htmlua

HTML Templating Engine

git clone https://git.gae.moe/grace/htmlua

Grace Yoder55a1697

1.0.0-alpha
2.5 KiB52 linesraw
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 = .htmlua,
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 = 0xb94bab7ca04adb0c, // 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",
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        .tree_sitter = .{
36            .url = "git+https://github.com/tree-sitter/zig-tree-sitter.git#b562510b5563dcf3b7fcac4a5fe9d60834c84667",
37            .hash = "tree_sitter-0.26.0-8heIf-vDAQDh0HhAAUVwVZFmLrwSKMZl5gRaVFqtas0W",
38        },
39        .eazy_zig_tree_sitter = .{
40            .url = "git+https://git.gae.moe/grace/eazy-zig-tree-sitter.git#8d1fa80a0e225282f607a1e2b2504cfdbf427cfa",
41            .hash = "eazy_zig_tree_sitter-0.0.0-QEABqToEAwCwlPVt4G7QS6E6vicz4SISg8N93xRr8t8K",
42        },
43    },
44    .paths = .{
45        "build.zig",
46        "build.zig.zon",
47        "src",
48        // For example...
49        //"LICENSE",
50        //"README.md",
51    },
52}