https://github.com/optimism-java/multiformats-zig
This is the zig implementation of the multiformats https://github.com/multiformats/multiformats.
https://github.com/optimism-java/multiformats-zig
Last synced: 7 months ago
JSON representation
This is the zig implementation of the multiformats https://github.com/multiformats/multiformats.
- Host: GitHub
- URL: https://github.com/optimism-java/multiformats-zig
- Owner: optimism-java
- License: mit
- Created: 2024-11-18T10:33:00.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-16T13:32:28.000Z (11 months ago)
- Last Synced: 2025-01-21T06:11:22.171Z (10 months ago)
- Language: Zig
- Homepage:
- Size: 1.62 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/zen-eth/multiformats-zig/actions/workflows/check.yml)
**Note:the code already transfer to https://github.com/zen-eth/multiformats-zig**
# Multiformats zig
This is the zig implementation of the multiformats [spec](https://github.com/multiformats/multiformats).
## Build
```bash
git clone --recurse-submodules git@github.com: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