Skip to content

Commit ff374a3

Browse files
Remove unnecessary feature-gated import
1 parent d96ba2a commit ff374a3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/multihash.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ use core::convert::TryFrom;
55

66
use core::convert::TryInto;
77
use core::fmt::Debug;
8-
#[cfg(feature = "serde-codec")]
9-
use serde_big_array::BigArray;
108

119
use unsigned_varint::encode as varint_encode;
1210

@@ -82,7 +80,7 @@ pub struct Multihash<const S: usize> {
8280
/// The actual size of the digest in bytes (not the allocated size).
8381
size: u8,
8482
/// The digest.
85-
#[cfg_attr(feature = "serde-codec", serde(with = "BigArray"))]
83+
#[cfg_attr(feature = "serde-codec", serde(with = "serde_big_array::BigArray"))]
8684
digest: [u8; S],
8785
}
8886

0 commit comments

Comments
 (0)