Make rayon truly optional

This commit is contained in:
Anhil 2020-09-28 19:16:09 +03:00 committed by GitHub
parent a6fa079e64
commit 06c3a0bff9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ itertools = "^0.9.0"
zopfli = "^0.4.0"
miniz_oxide = "0.4"
rgb = "0.8.25"
indexmap = { version = "1.6.0", features = ["rayon"] }
indexmap = "1.6.0"
libdeflater = "0.5.0"
log = "0.4.11"
stderrlog = { version = "0.5.0", optional = true }
@ -72,7 +72,7 @@ binary = [
"stderrlog",
]
default = ["binary", "parallel"]
parallel = ["rayon"]
parallel = ["rayon", "indexmap/rayon"]
[lib]
name = "oxipng"