Make rayon truly optional (#318)
This commit is contained in:
parent
9d67d9d4bd
commit
adcc64c1b1
1 changed files with 2 additions and 2 deletions
|
|
@ -36,7 +36,7 @@ itertools = "^0.9.0"
|
|||
zopfli = { version = "^0.4.0", optional = true }
|
||||
miniz_oxide = "0.4"
|
||||
rgb = "0.8.25"
|
||||
indexmap = { version = "1.6.0", features = ["rayon"] }
|
||||
indexmap = "1.6.0"
|
||||
libdeflater = { version = "0.5.0", optional = true }
|
||||
log = "0.4.11"
|
||||
stderrlog = { version = "0.5.0", optional = true }
|
||||
|
|
@ -72,7 +72,7 @@ binary = [
|
|||
"stderrlog",
|
||||
]
|
||||
default = ["binary", "parallel", "libdeflater", "zopfli"]
|
||||
parallel = ["rayon"]
|
||||
parallel = ["rayon", "indexmap/rayon"]
|
||||
|
||||
[lib]
|
||||
name = "oxipng"
|
||||
|
|
|
|||
Loading…
Reference in a new issue