forked from rust-lang/flate2-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request rust-lang#302 from joshtriplett/libz-ng-sys
Add support for native zlib-ng via libz-ng-sys
- Loading branch information
Showing
4 changed files
with
35 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "flate2" | ||
authors = ["Alex Crichton <[email protected]>", "Josh Triplett <[email protected]>"] | ||
version = "1.0.23" | ||
version = "1.0.24" | ||
edition = "2018" | ||
license = "MIT/Apache-2.0" | ||
readme = "README.md" | ||
|
@@ -18,7 +18,8 @@ and raw deflate streams. | |
|
||
[dependencies] | ||
libc = "0.2.65" | ||
libz-sys = { version = "1.1.0", optional = true, default-features = false } | ||
libz-sys = { version = "1.1.8", optional = true, default-features = false } | ||
libz-ng-sys = { version = "1.1.8", optional = true } | ||
cloudflare-zlib-sys = { version = "0.3.0", optional = true } | ||
miniz_oxide = { version = "0.5.0", optional = true, default-features = false } | ||
crc32fast = "1.2.0" | ||
|
@@ -35,6 +36,7 @@ default = ["rust_backend"] | |
any_zlib = [] # note: this is not a real user-facing feature | ||
zlib = ["any_zlib", "libz-sys"] | ||
zlib-ng-compat = ["zlib", "libz-sys/zlib-ng"] | ||
zlib-ng = ["any_zlib", "libz-ng-sys"] | ||
cloudflare_zlib = ["any_zlib", "cloudflare-zlib-sys"] | ||
rust_backend = ["miniz_oxide"] | ||
miniz-sys = ["rust_backend"] # For backwards compatibility |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters