robin/maivi

a tiny cute lua web framework

git clone https://git.robinwobin.dev/robin/maivi

robinrefactor!: use custom http server and router53f15f2

main
2.3 KiB51 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 = .maivi,
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 = 0x2e1723a4216ec157, // 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    .dependencies = .{
30        .fern = .{
31            .url = "git+https://git.koi.rip/koi/fern.git#0ffc3e4421010daad5e18272f2f82249def58694",
32            .hash = "fern-0.0.0-iF4X_ZB5AACpf_yE820FAV3m3OFVsQfUro0Z3fk4qqzS",
33        },
34        .zlua = .{
35            .url = "git+https://github.com/natecraddock/ziglua.git#9a520d0bbaac378d2e926c76edb584da104941dc",
36            .hash = "zlua-0.1.0-hGRpCwGVBQCZRZ2QEHLENoYjRj-nNjD500_BmMsXeqT4",
37        },
38        .inspect_lua = .{
39            .url = "git+https://github.com/kikito/inspect.lua.git#a8ca3120dfec48801036eaeff9335ab7a096dd24",
40            .hash = "N-V-__8AAD3aAAD6STygKKb-d3hEp1tPtE7Ia6hET-xKjaX0",
41        },
42    },
43    .paths = .{
44        "build.zig",
45        "build.zig.zon",
46        "src",
47        // For example...
48        //"LICENSE",
49        //"README.md",
50    },
51}