This is the zig implementation of the multiformats spec.
git clone --recurse-submodules [email protected]:zen-eth/multiformats-zig.git
cd multiformats-zig
zig build test --summary allzig build-exe src/generate.zig
./generatezig fetch --save https://github.com/zen-eth/multiformats-zig/archive/main.tar.gzconst multiformats = @import("multiformats-zig");git clone --recurse-submodules [email protected]:zen-eth/multiformats-zig.git
cd multiformats-zig
zig build bench --release=fast -Dcode=7tip: The code parameter in the command can refer to the declaration in the MultiBaseCodec.fromCode() in the source file src/multibase.zig.
MIT