Home

Awesome

build

Multiformats zig

This is the zig implementation of the multiformats spec.

Build

git clone --recurse-submodules git@github.com:optimism-java/multiformats-zig.git
cd multiformats-zig
zig build test --summary all

Generate the code

zig build-exe src/generate.zig
./generate

Add to your project

zig fetch --save https://github.com/zen-eth/multiformats-zig/archive/main.tar.gz

Usage

const multiformats = @import("multiformats-zig");

License

MIT