The universal transpiler collection
Usage
- Add
utcas 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
utcas 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"));
Development
License
utc is released under the MIT license