diff --git a/Cargo.toml b/Cargo.toml index fb4ea09..fe5aa95 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "multihash" -version = "1.0.2" +version = "1.0.3" edition = "2021" authors = ["Dave Grantham "] description = "Multihash self-describing cryptographic hash data" diff --git a/src/mh.rs b/src/mh.rs index 2d3541d..29a4fe9 100644 --- a/src/mh.rs +++ b/src/mh.rs @@ -5,7 +5,7 @@ use digest::{Digest, DynDigest}; use multibase::Base; use multicodec::Codec; use multitrait::{Null, TryDecodeFrom}; -use multiutil::{BaseEncoded, CodecInfo, EncodingInfo, Varbytes}; +use multiutil::{BaseEncoded, CodecInfo, DetectedEncoder, EncodingInfo, Varbytes}; use typenum::consts::*; /// the hash codecs currently supported @@ -49,7 +49,7 @@ pub const SAFE_HASH_CODECS: [Codec; 8] = [ pub const SIGIL: Codec = Codec::Multihash; /// a base encoded multihash -pub type EncodedMultihash = BaseEncoded; +pub type EncodedMultihash = BaseEncoded; /// inner implementation of the multihash #[derive(Clone, Default, Eq, Ord, PartialEq, PartialOrd)]