Skip to content

Commit ddf3bdd

Browse files
committed
chore: do not 'use' unused types
1 parent ff6be4a commit ddf3bdd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bitar/src/chunk.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
use bytes::Bytes;
33
use std::fmt;
44

5-
use crate::{Compression, CompressionAlgorithm, CompressionError, HashSum};
5+
#[cfg(feature = "compress")]
6+
use crate::Compression;
7+
use crate::{CompressionAlgorithm, CompressionError, HashSum};
68

79
/// A single chunk.
810
///

0 commit comments

Comments
 (0)