https://github.com/ipld/rust-ipld-dagpb
IPLD DAG-PB codec.
https://github.com/ipld/rust-ipld-dagpb
Last synced: 10 months ago
JSON representation
IPLD DAG-PB codec.
- Host: GitHub
- URL: https://github.com/ipld/rust-ipld-dagpb
- Owner: ipld
- License: apache-2.0
- Created: 2024-02-23T14:53:56.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-10T08:33:20.000Z (about 1 year ago)
- Last Synced: 2025-07-29T10:32:00.185Z (11 months ago)
- Language: Rust
- Homepage:
- Size: 68.4 KB
- Stars: 3
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
IPLD DAG-PB codec
=================
[](https://crates.io/crates/ipld-dagpb)
[](https://docs.rs/ipld-dagpb)
This is an implementation of the [IPLD] [DAG-PB] codec. It can be use in conjunction with [ipld-core].
The code is based on [libipld-pb] and was imported with its full history.
DAG-PB is a special IPLD codec in the sense, that it does *not* implement the full [IPLD Data Model]. Therefore it cannot be used easily for structured data (as opposed to the [Serde] based codecs [serde_ipld_dagcbor] and [serde_ipld_dagjson]). It's only possible to encode and decode the data into/from an IPLD object of a [specific shape].
[IPLD]: https://ipld.io/
[DAG-PB]: https://ipld.io/specs/codecs/dag-pb/spec/
[ipld-core]: https://crates.io/crates/ipld-core
[libipld-pb]: https://crates.io/crates/libipld-pb
[IPLD Data Model]: https://ipld.io/docs/data-model/
[Serde]: https://github.com/serde-rs/serde
[serde_ipld_dagcbor]: https://crates.io/crates/serde_ipld_dagcbor
[serde_ipld_dagjson]: https://crates.io/crates/serde_ipld_dagjson
[specific shape]: https://ipld.io/specs/codecs/dag-pb/spec/#logical-format
License
-------
Licensed under either of
* Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.