https://github.com/ipld/libipld
Rust IPLD library
https://github.com/ipld/libipld
Last synced: 6 months ago
JSON representation
Rust IPLD library
- Host: GitHub
- URL: https://github.com/ipld/libipld
- Owner: ipld
- License: apache-2.0
- Created: 2019-06-28T13:00:37.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-05-10T08:33:19.000Z (about 1 year ago)
- Last Synced: 2025-11-17T03:10:22.928Z (7 months ago)
- Language: Rust
- Homepage:
- Size: 755 KB
- Stars: 144
- Watchers: 11
- Forks: 41
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
> # ⛔️ DEPRECATED: [libipld](https://github.com/ipld/libipld) has been superseded by [ipld-core](https://github.com/ipld/rust-ipld-core)
> The migration to `ipld-core` should be straight forward. If you run into problems during the migration or need help, feel free to [open a bug report on the `ipld-core` repo](https://github.com/ipld/rust-ipld-core/issues).
# Rust IPLD library
> Basic rust ipld library supporting `dag-cbor`, `dag-json` and `dag-pb` formats.
Originally authored by [@dvc94ch](https://github.com/dvc94ch) as a part of the [ipfs-rust](https://github.com/ipfs-rust/) project.
The `Ipld` enum from the `libipld-core` crate is the central piece that most of the users of this library use.
The codec implementations use custom traits. In order to be more compatible with the rest of the Rust ecosystem, it's *strongly recommended*, to use new implementations, that use [Serde](https://serde.rs/) as a basis instead. Currently, the list of implementations is limited, please let us know if you crate one and we'll add it to the list:
- DAG-CBOR: https://github.com/ipld/serde_ipld_dagcbor
## Community
For chats with the developers and the community: Join us in any of these (bridged) locations:
- On Matrix: [#ipld:ipfs.io](https://matrix.to/#/#ipld:ipfs.io)
- On Discord: join the [IPLD community on IPFS Discord](https://discord.gg/xkUC8bqSCP).
## License
Dual licensed under MIT or Apache License (Version 2.0). See [LICENSE-MIT](./LICENSE-MIT) and [LICENSE-APACHE](./LICENSE-APACHE) for more details.