multihash: Use `Bytes` instead of `Vec<u8>` internally.
To improve the efficiency of cloning multi-hashes (e.g. as the
representation of `PeerId`s), this PR replaces the `Vec<u8>`
representation with `Bytes`. The API is kept backwards
compatible and does not leak the representation type.
* Bump to 0.7.0
* Update CHANGELOG.md
Co-Authored-By: tomaka <pierre.krieger1708@gmail.com>
* Update for #1078
* New version of multihash and multiaddr as well
* Add support for unsigned varints
* Depend on unsigned-varint 0.2 without default features
* Change hash code type from u8 to u64
* Fix hash codes and enum variants for BLAKE2 to fit the standard (see #524)
* Run cargo fmt on crate
* Expand hash_types test to include all variants
* Add support for BLAKE2b-512 and BLAKE2s-256
* Depend on blake2 crate 0.7 with no default features
* Update encode! macro for support for blake2 crate
* Update all tests to include BLAKE2b-512 and BLAKE2s-256
* Reduce hash code size from u64 to u16
* Fix typo in doc comment
* Bump tiny-keccak to version 1.4
* Remove unnecessary default-features = false in Cargo.toml