// SPDX-FileCopyrightText: © 2026 Jeffrey C. Ollie // SPDX-License-Identifier: MIT .{ .name = .datetime, .version = "0.0.3", .minimum_zig_version = "0.17.0", .fingerprint = 0x93f3c6caefdaebeb, .dependencies = .{ // Three, and none of them unconditional. moment.js and the three // CLDR packages the tables are generated from are declared in // `upstream/build.zig.zon` instead: the tables themselves are // committed, so a build reads them rather than their sources, and // 143 MB stays out of anything that reads this manifest. // // The IANA timezone database, used only when the build asks for // embedded timezone data with -Dembed-tzdata. Both halves are // lazy, so an ordinary build neither fetches nor compiles them. // // These are the two gzip archives IANA publishes; together they // hold exactly what tzdb-2026c.tar.lz holds, which Zig's package // manager cannot read because it does not support lzip. .tzcode = .{ .url = "https://data.iana.org/time-zones/releases/tzcode2026f.tar.gz", .hash = "N-V-__8AAIOpDwArTWlivKjXIyxeLWkhCG3-bxprFW6tb094", .lazy = true, }, .tzdata = .{ .url = "https://data.iana.org/time-zones/releases/tzdata2026f.tar.gz", .hash = "N-V-__8AABivFQAnbHKeR2zPOnqTGTh1UamCtvXl06eSEe-C", .lazy = true, }, // Win32 bindings, used only on Windows, where `GetDynamicTimeZoneInformation` // is the only way to ask the machine which zone it is set to. Lazy // so that builds for other targets never fetch it. .zigwin32 = .{ .url = "https://github.com/marlersoft/zigwin32/archive/fb2645891520f3e99931db17a7eba04057e87e89.tar.gz", .hash = "win32-42.0.39-preview-mX5pFc794wMcrMyFgsO1c4csBdowhpiqqwIyN_xjqI5z", .lazy = true, }, }, .paths = .{ "build.zig", "build.zig.zon", "README.md", "LICENSES", "REUSE.toml", "src", "tools", // The project of its own that holds the heavy dependencies; see the // comment above. "upstream", }, }