fix warning when no compression is used
Some checks failed
Rust / build (pull_request) Failing after 2m13s
Some checks failed
Rust / build (pull_request) Failing after 2m13s
This commit is contained in:
parent
fe1aa3ebd1
commit
b69e7df635
1 changed files with 2 additions and 1 deletions
|
|
@ -2,8 +2,9 @@
|
|||
use bzip2::read::{BzDecoder, BzEncoder};
|
||||
#[cfg(feature = "compression_zlib")]
|
||||
use flate2::{FlushCompress, FlushDecompress, Status};
|
||||
#[allow(unused, reason = "Traits are used depending on enabled features")]
|
||||
use log::error;
|
||||
#[allow(unused)]
|
||||
#[allow(unused, reason = "Traits are used depending on enabled features")]
|
||||
use std::io::{Read, Write};
|
||||
#[cfg(feature = "compression_zstd")]
|
||||
use zstd::{Decoder as ZstdDecoder, Encoder as ZstdEncoder};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue