#ipld #codec #traits #definition

libipld-base

Base traits and definitions used by ipld codecs

1 unstable release

0.1.0 Mar 9, 2020

#51 in #ipld


Used in 2 crates

MIT/Apache

15KB
352 lines

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.

Dependencies

~3MB
~43K SLoC