#multi-hash #hash #sha #multiformats

yanked mhash

An implementation of the multihash format used in IPFS

Uses old Rust 2015

0.3.0 Jan 7, 2017
0.2.0 Nov 7, 2016
0.1.2 Nov 5, 2016
0.1.1 Nov 5, 2016

#11 in #multiformats


Used in maddr

MIT/Apache

25KB
518 lines

mhash travis-badge cargo-badge license-badge rust-version-badge

A Rust implementation of the multihash format as used in IPFS.

Developing

This project uses clippy and denies warnings in CI builds. To ensure your changes will be accepted please check them with cargo clippy (available via cargo install clippy on nightly rust) before submitting a pull request (along with cargo test as usual).

Both the nightly date and clippy version used in CI are pinned in the .travis.yml as clippy sometimes breaks for a few days after a new nightly is published, feel free to update to a new known good pair anytime as part of a pull request.

There are a few different features available as they affect the dependencies that are brought in and are not needed for all cases. Most of the time you should be able to get away with testing with cargo test --all-features to enable all of them at once. CI builds a few different subsets that are likely to be enabled together.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0.5–3.5MB
~24K SLoC