Skip to content

Commit 81a0265

Browse files
committed
chore!: Drop deprecated deflate-miniz feature flag
1 parent b9a4c5f commit 81a0265

File tree

3 files changed

+0
-15
lines changed

3 files changed

+0
-15
lines changed

Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Library to support the reading and writing of zip files.
1818
"""
1919
edition = "2021"
2020
exclude = ["tests/**", "examples/**", ".github/**", "fuzz_read/**", "fuzz_write/**"]
21-
build = "src/build.rs"
2221

2322
[package.metadata.docs.rs]
2423
all-features = true
@@ -51,7 +50,6 @@ zopfli = { version = "0.8", optional = true }
5150
deflate64 = { version = "0.1.9", optional = true }
5251
lzma-rs = { version = "0.3", default-features = false, optional = true }
5352
xz2 = { version = "0.1.7", optional = true }
54-
proc-macro2 = { version = ">=1.0.60", optional = true } # Override transitive dep on 1.0.59 due to https://github.com/rust-lang/rust/issues/113152
5553

5654
[target.'cfg(any(all(target_arch = "arm", target_pointer_width = "32"), target_arch = "mips", target_arch = "powerpc"))'.dependencies]
5755
crossbeam-utils = "0.8.21"
@@ -75,8 +73,6 @@ _deflate-any = []
7573
_all-features = [] # Detect when --all-features is used
7674
deflate = ["deflate-zopfli", "deflate-flate2"]
7775
deflate-flate2 = ["_deflate-any", "flate2/rust_backend"]
78-
# DEPRECATED: previously enabled `flate2/miniz_oxide` which is equivalent to `flate2/rust_backend`
79-
deflate-miniz = ["deflate", "deflate-flate2"]
8076
deflate-zlib = ["flate2/zlib", "deflate-flate2"]
8177
deflate-zlib-ng = ["flate2/zlib-ng", "deflate-flate2"]
8278
deflate-zopfli = ["zopfli", "_deflate-any"]

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ The features available are:
5050

5151
By default `aes-crypto`, `bzip2`, `deflate`, `deflate64`, `lzma`, `time` and `zstd` are enabled.
5252

53-
The following feature flags are deprecated:
54-
55-
* `deflate-miniz`: Use `flate2`'s default backend for compression. Currently the same as `deflate`.
56-
5753
MSRV
5854
----
5955

src/build.rs

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)