Rename safe-rust-zstd to zstd-safe-rust

This commit is contained in:
Sergey "Shnatsel" Davidoff committed 2026-03-06 09:36:09 +00:00
1 parent 61dbcc1392
commit 19caae4f53
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -659,7 +659,7 @@ impl Image {
)),
#[cfg(feature = "zstd")]
CompressionMethod::ZSTD => Box::new(zstd::Decoder::new(reader)?),
#[cfg(all(not(feature = "zstd"), feature = "safe-rust-zstd"))]
#[cfg(all(not(feature = "zstd"), feature = "zstd-safe-rust"))]
CompressionMethod::ZSTD => Box::new(
ruzstd::decoding::StreamingDecoder::new(reader)
.map_err(|e| std::io::Error::other(e))?,