The universal transpiler collection
- Add
utc
as a dependency in yourbuild.zig.zon
.{
.name = "<name_of_your_package>",
.version = "<version_of_your_package>",
.dependencies = .{
.zodbc = .{
.url = "https://github.com/rupurt/utc/archive/<git_tag_or_commit_hash>.tar.gz",
.hash = "<package_hash>",
},
},
}
Set <package_hash>
to 12200000000000000000000000000000000000000000000000000000000000000000
, and Zig will provide the correct found value in an error message.
- Add
utc
as a dependency module in yourbuild.zig
// ...
const utc_dep = b.dependency("utc", .{ .target = target, .optimize = optimize });
exe.root_module.addImport("utc", zodbc_dep.module("utc"));
> nix develop -c $SHELL
> make
> make test
> make run
> make clean
> make build
> make exec
utc
is released under the MIT license