4 releases

0.2.0 Mar 26, 2024
0.1.2 Mar 18, 2024
0.1.1 Feb 23, 2024
0.1.0 Feb 23, 2024

#1263 in Encoding

Download history 186/week @ 2024-02-20 77/week @ 2024-02-27 7/week @ 2024-03-05 82/week @ 2024-03-12 57/week @ 2024-03-19 111/week @ 2024-03-26 36/week @ 2024-04-02

288 downloads per month

MIT/Apache

21KB
434 lines

IPLD DAG-PB codec

Crates.io Documentation

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

at your option.

Dependencies

~2.5MB
~52K SLoC