We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d137bf3 commit 21a242eCopy full SHA for 21a242e
1 file changed
crates/sic_core/Cargo.toml
@@ -11,11 +11,16 @@ edition = "2021"
11
rust-version = "1.61"
12
13
[dependencies]
14
-image = { version = "0.25.5", features = ["rayon"] }
15
imageproc = { version = "0.25.0", optional = true }
16
ab_glyph = { version = "0.2.29", optional = true }
17
thiserror = "2"
18
+[target.'cfg(unix)'.dependencies]
19
+image = { version = "0.25.5", features = ["rayon", "avif-native"] }
20
+
21
+[target.'cfg(not(unix))'.dependencies]
22
+image = { version = "0.25.5", features = ["rayon"] }
23
24
[features]
25
nasm = ["image/nasm"]
26
imageproc-ops = ["imageproc", "ab_glyph"]
0 commit comments