Skip to content

Commit

Permalink
Make libwebp neon an opt-in feature
Browse files Browse the repository at this point in the history
  • Loading branch information
lilith committed Jan 21, 2025
1 parent b59778d commit f2c7524
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,12 @@ jobs:
os: ubuntu-24-arm-32gb
target-cpu: generic
target: aarch64-unknown-linux-gnu
features: neon

- name: win32
os: windows-2019
target: i686-pc-windows-msvc
cross: true
cross: 'true'

- name: x86_64-unknown-linux-musl
os: ubuntu-24.04
Expand Down
4 changes: 3 additions & 1 deletion imageflow_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ rgb = { version = "0.8", features = ["argb"] }
imagequant = "4"
lodepng = "3"
flate2 = { version = "1.0", features = ["zlib"], default-features = false }
libwebp-sys = { version = "0.12", features = ["neon"] }
libwebp-sys = { version = "0.12"}
libz-sys = { version="1", features = ["static"] }
zune-bmp = "0.5.0-rc4"

Expand Down Expand Up @@ -89,6 +89,8 @@ rand = "*"
default = []
nightly = []
c_rendering = []
neon = ["libwebp-sys/neon"]

[[bench]]
name="bench_graphics"
path = "benches/bench_graphics.rs"
Expand Down

0 comments on commit f2c7524

Please sign in to comment.