We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d96ba2a commit ff374a3Copy full SHA for ff374a3
src/multihash.rs
@@ -5,8 +5,6 @@ use core::convert::TryFrom;
5
6
use core::convert::TryInto;
7
use core::fmt::Debug;
8
-#[cfg(feature = "serde-codec")]
9
-use serde_big_array::BigArray;
10
11
use unsigned_varint::encode as varint_encode;
12
@@ -82,7 +80,7 @@ pub struct Multihash<const S: usize> {
82
80
/// The actual size of the digest in bytes (not the allocated size).
83
81
size: u8,
84
/// The digest.
85
- #[cfg_attr(feature = "serde-codec", serde(with = "BigArray"))]
+ #[cfg_attr(feature = "serde-codec", serde(with = "serde_big_array::BigArray"))]
86
digest: [u8; S],
87
}
88
0 commit comments