A versatile libary.
The goal of this library is to create a general library of basic functional functions
Now, this library is developing!
.ini
parse
zig version: 0.12.0
or higher!
- Add to
build.zig.zon
# It is recommended to replace the following branch with commit id
zig fetch --save https://github.com/jinzhongjia/zTroy/archive/main.tar.gz
# Of course, you can also use git+https to fetch this package!
- Config
build.zig
Add this:
// To standardize development, maybe you should use `lazyDependency()` instead of `dependency()`
// more info to see: https://ziglang.org/download/0.12.0/release-notes.html#toc-Lazy-Dependencies
const zTroy = b.dependency("zTroy", .{
.target = target,
.optimize = optimize,
});
// add module
exe.root_module.addImport("tory", zTroy.module("troy"));
Waiting to be added!