Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zen-eth/multiformats-zig

This is the zig implementation of the multiformats https://github.com/multiformats/multiformats.
https://github.com/zen-eth/multiformats-zig

multibase multicodec multiformats multihash zig

Last synced: about 1 month ago
JSON representation

This is the zig implementation of the multiformats https://github.com/multiformats/multiformats.

Awesome Lists containing this project

README

        

# Multiformats zig
This is the zig implementation of the multiformats [spec](https://github.com/multiformats/multiformats).

## Build
```bash
git clone --recurse-submodules [email protected]:optimism-java/multiformats-zig.git
cd multiformats-zig
zig build test --summary all
```

## Generate the code
```bash
zig build-exe src/generate.zig
./generate
```

## Add to your project
```bash
zig fetch --save https://github.com/optimism-java/multiformats-zig/archive/main.tar.gz
```

## Usage
```zig
const multiformats = @import("multiformats-zig");
```

## License
MIT