5 releases
0.2.1 | May 22, 2024 |
---|---|
0.2.0 | Mar 26, 2024 |
0.1.2 | Mar 18, 2024 |
0.1.1 | Feb 23, 2024 |
0.1.0 | Feb 23, 2024 |
#1505 in Encoding
610 downloads per month
Used in 2 crates
21KB
438 lines
IPLD DAG-PB codec
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.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Dependencies
~2.5MB
~52K SLoC