Once https://github.com/multiformats/rust-cid/pull/140 is merged, only the Arbitrary implementations require the multihash-codetable. That's quite a big dependency, hence it would make sense to hard-code the codec and use the sha2 crate directly.
This way multihash-codetable can be moved into the dev-dependency section.
Once https://github.com/multiformats/rust-cid/pull/140 is merged, only the
Arbitrary
implementations require themultihash-codetable
. That's quite a big dependency, hence it would make sense to hard-code the codec and use thesha2
crate directly.This way
multihash-codetable
can be moved into the dev-dependency section.