Skip to content

Commit c7f68be

Browse files
authored
Merge pull request #2643 from Shnatsel/really-optional-rayon
Make rayon optional when exr is enabled
2 parents 3cac621 + 42c5cbe commit c7f68be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ num-traits = { version = "0.2.0" }
4343
# Optional dependencies
4444
color_quant = { version = "1.1", optional = true }
4545
dav1d = { version = "0.10.3", optional = true }
46-
exr = { version = "1.5.0", optional = true }
46+
exr = { version = "1.74.0", default-features = false, optional = true }
4747
gif = { version = "0.13.1", optional = true }
4848
image-webp = { version = "0.2.0", optional = true }
4949
mp4parse = { version = "0.17.0", optional = true }
@@ -86,7 +86,7 @@ tiff = ["dep:tiff"]
8686
webp = ["dep:image-webp"]
8787

8888
# Other features
89-
rayon = ["dep:rayon", "ravif?/threading"] # Enables multi-threading
89+
rayon = ["dep:rayon", "ravif?/threading", "exr?/rayon"] # Enables multi-threading
9090
nasm = ["ravif?/asm"] # Enables use of nasm by rav1e (requires nasm to be installed)
9191
color_quant = ["dep:color_quant"] # Enables color quantization
9292
avif-native = ["dep:mp4parse", "dep:dav1d"] # Enable native dependency libdav1d

0 commit comments

Comments
 (0)