Skip to content

Commit

Permalink
fix: expose MultihashDigest trait in codetable (#304)
Browse files Browse the repository at this point in the history
The trait needs to be public for things like:

    Code::try_from(0x12).digest(&[0xb0, 0xba])
  • Loading branch information
mriise authored May 2, 2023
1 parent 1023226 commit 50b43cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codetable/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

mod hasher_impl;

use multihash_derive::MultihashDigest;
pub use multihash_derive::MultihashDigest;

#[cfg(feature = "blake2b")]
pub use crate::hasher_impl::blake2b::{Blake2b256, Blake2b512, Blake2bHasher};
Expand Down

0 comments on commit 50b43cd

Please sign in to comment.