6 Commits

Author SHA1 Message Date
Pierre Krieger
078fa1cb33
Rework the multihash crate (#403)
* Use Multihash and MultihashRef instead

* Don't use star imports

* Split EncodeError and DecodeError

* Add DecodeOwnedError

* Some cleanup

* Remove Hash::name()

* Some crate root documentation

* Add some more methods

* Fix tests

* Add PartialEq between Multihash and MultihashRef

* Fix the rest of the repo

* Rename hash_data() to digest()

* Add comment about varint

* Remove Error::description impls
2018-08-09 14:51:09 +02:00
Pierre Krieger
57c3103f78
Integrate the multiformats crates (#231)
* Remove the multihash patch

* Integrate the multiformats crates

* Fix not compiling on emscripten
2018-06-01 10:10:00 +02:00
Pierre Krieger
ad4b494621 Remove custom multihash library 2017-11-24 12:20:46 +01:00
Pierre Krieger
c8d6c2f3e6 Rename as_bytes() to to_bytes() 2017-11-23 11:12:05 +01:00
Pierre Krieger
aeceb04d50 General cleanup and rework 2017-11-20 10:30:35 +01:00
Fredrik
88eafc1985 Add multihash crate 2017-11-20 10:30:35 +01:00