fix warning when no compression is used
Some checks failed
Rust / build (pull_request) Failing after 2m13s

This commit is contained in:
Vinzenz Schroeter 2025-03-25 21:46:18 +01:00
parent fe1aa3ebd1
commit b69e7df635

View file

@ -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};