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

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

cid multiaddr multiaddress multibase multicodec multiformats multihash zig

Last synced: 16 days ago
JSON representation

Zig implementation of the multiformats https://github.com/multiformats/multiformats.

Awesome Lists containing this project

README

        

[![build](https://github.com/zen-eth/multiformats-zig/actions/workflows/check.yml/badge.svg?branch=main)](https://github.com/zen-eth/multiformats-zig/actions/workflows/check.yml)

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

## Build
```bash
git clone --recurse-submodules [email protected]:zen-eth/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/zen-eth/multiformats-zig/archive/main.tar.gz
```

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

## License
MIT