Ethereum Node Records (ENR) utility in Zig.
- Zig 0.14.1
To build the project, run the following command in the root directory of the project:
zig build -Doptimize=ReleaseSafeTo run the tests, run the following command in the root directory of the project:
zig build test --summary allTo generate documentation for the project, run the following command in the root directory of the project:
zig build docsUpdate build.zig.zon:
zig fetch --save git+https://github.com/blockblaz/enrIn your build.zig:
const enr_dep = b.dependency("zig_enr", .{
.target = target,
.optimize = optimize,
});
const enr_module = enr_dep.module("zig-enr");
root_module.addImport("zig-enr", enr_module);