Skip to content

Commit

Permalink
Always use rust backend of flate2
Browse files Browse the repository at this point in the history
Also fixes compiling with --no-default-features
  • Loading branch information
mvdnes committed Jan 6, 2018
1 parent 30236e9 commit 50b57f4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Library to support the reading and writing of zip files.
"""

[dependencies]
flate2 = { version = "1.0", default-features = false }
flate2 = { version = "1.0", default-features = false, features = ["rust_backend"]}
time = "0.1"
podio = "0.1"
msdos_time = "0.1"
Expand All @@ -22,5 +22,4 @@ bzip2 = { version = "0.3", optional = true }
walkdir = "1.0"

[features]
default = ["bzip2", "flate2/default"]
rust_backend = ["flate2/rust_backend"]
default = ["bzip2"]

0 comments on commit 50b57f4

Please sign in to comment.