Skip to content

blockblaz/peer-id

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

peer-id

Zig implementation of libp2p peer-id.

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/peer-id

In your build.zig:

const peer_id_dep = b.dependency("peer_id", .{
    .target = target,
    .optimize = optimize,
});
const peer_id_module = peer_id_dep.module("peer_id");
root_module.addImport("peer_id", peer_id_module);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages