aboutsummaryrefslogtreecommitdiff
path: root/build.zig.zon
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-04-11 22:19:47 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2026-04-11 22:27:02 +0200
commit549e70b084394845e406a2a64d38b45f0e44bb1b (patch)
treeab45fb31c44d80f29a7e0a869f2d6885ce4f8c22 /build.zig.zon
Initial commit
Diffstat (limited to 'build.zig.zon')
-rw-r--r--build.zig.zon45
1 files changed, 45 insertions, 0 deletions
diff --git a/build.zig.zon b/build.zig.zon
new file mode 100644
index 0000000..18cf50d
--- /dev/null
+++ b/build.zig.zon
@@ -0,0 +1,45 @@
+.{
+ .name = .typdown,
+ .version = "0.0.0",
+ .fingerprint = 0x6d0fd8a73f35fe5b, // Changing this has security and trust implications.
+ .minimum_zig_version = "0.15.2",
+ .dependencies = .{
+ // See `zig fetch --save <url>` for a command-line interface for adding dependencies.
+ //.example = .{
+ // // When updating this field to a new URL, be sure to delete the corresponding
+ // // `hash`, otherwise you are communicating that you expect to find the old hash at
+ // // the new URL. If the contents of a URL change this will result in a hash mismatch
+ // // which will prevent zig from using it.
+ // .url = "https://example.com/foo.tar.gz",
+ //
+ // // This is computed from the file contents of the directory of files that is
+ // // obtained after fetching `url` and applying the inclusion rules given by
+ // // `paths`.
+ // //
+ // // This field is the source of truth; packages do not come from a `url`; they
+ // // come from a `hash`. `url` is just one of many possible mirrors for how to
+ // // obtain a package matching this `hash`.
+ // //
+ // // Uses the [multihash](https://multiformats.io/multihash/) format.
+ // .hash = "...",
+ //
+ // // When this is provided, the package is found in a directory relative to the
+ // // build root. In this case the package's hash is irrelevant and therefore not
+ // // computed. This field and `url` are mutually exclusive.
+ // .path = "foo",
+ //
+ // // When this is set to `true`, a package is declared to be lazily
+ // // fetched. This makes the dependency only get fetched if it is
+ // // actually used.
+ // .lazy = false,
+ //},
+ },
+ .paths = .{
+ "build.zig",
+ "build.zig.zon",
+ "src",
+ // For example...
+ //"LICENSE",
+ //"README.md",
+ },
+}