18 releases (breaking)

0.16.0 Jan 23, 2023
0.15.0 Nov 23, 2022
0.14.0 Aug 24, 2022
0.13.1 Mar 8, 2022
0.3.0 May 22, 2020

#2349 in Encoding

Download history 1637/week @ 2024-07-20 1720/week @ 2024-07-27 2070/week @ 2024-08-03 1937/week @ 2024-08-10 2426/week @ 2024-08-17 2008/week @ 2024-08-24 2853/week @ 2024-08-31 3059/week @ 2024-09-07 2253/week @ 2024-09-14 3367/week @ 2024-09-21 2210/week @ 2024-09-28 3341/week @ 2024-10-05 2302/week @ 2024-10-12 2253/week @ 2024-10-19 1925/week @ 2024-10-26 1676/week @ 2024-11-02

9,008 downloads per month
Used in 50 crates (2 directly)

MIT/Apache

86KB
2K SLoC

Rust IPLD library

Basic rust ipld library supporting dag-cbor, dag-json and dag-pb formats.

Originally authored by @dvc94ch as a part of the 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 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:

Community

For chats with the developers and the community: Join us in any of these (bridged) locations:

License

Dual licensed under MIT or Apache License (Version 2.0). See LICENSE-MIT and LICENSE-APACHE for more details.


lib.rs:

Json codec.

Dependencies

~3MB
~63K SLoC