|
1 | 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 | 2 | .name = .webui, |
10 | | - // This is a [Semantic Version](https://semver.org/). |
11 | | - // In a future version of Zig it will be used for package deduplication. |
12 | 3 | .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 | 4 | .fingerprint = 0xac5d87f27f1c5d35, // 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 | 5 | .minimum_zig_version = "0.16.0-dev.2984+cb7d2b056", |
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 | 6 | .dependencies = .{ |
35 | 7 | .tls = .{ |
36 | | - .url = "https://github.com/ianic/tls.zig/archive/0e6ffd58f75832647fbcc94977cc0d7880c894dc.tar.gz", |
| 8 | + .url = "git+https://github.com/ianic/tls.zig#0e6ffd58f75832647fbcc94977cc0d7880c894dc", |
37 | 9 | .hash = "tls-0.1.0-ER2e0lWpBQBMRW-oQxwuf5xqwPGor7Vs_W_xQdUHx7Qu", |
38 | 10 | }, |
39 | 11 | .zhttp = .{ |
40 | | - .url = "https://github.com/SmallThingz/zhttp/archive/edcb948fd02b04e1fc7d21a2a13c915adb62f81c.tar.gz", |
| 12 | + .url = "git+https://github.com/SmallThingz/zhttp#edcb948fd02b04e1fc7d21a2a13c915adb62f81c", |
41 | 13 | .hash = "zhttp-0.0.0-I8z-vVP2DQDLzRNPANlHJlGbitE6gUaV03_2pJeXYtFu", |
42 | 14 | }, |
43 | 15 | }, |
|
0 commit comments