Skip to content

blockblaz/enr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

enr

Ethereum Node Records (ENR) utility in Zig.

Prerequisites

  • Zig 0.14.1

Building

To build the project, run the following command in the root directory of the project:

zig build -Doptimize=ReleaseSafe

Running Tests

To run the tests, run the following command in the root directory of the project:

zig build test --summary all

Docs

To generate documentation for the project, run the following command in the root directory of the project:

zig build docs

Usage

Update build.zig.zon:

zig fetch --save git+https://github.com/blockblaz/enr

In 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);

About

About Ethereum Node Records (ENR)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages