Skip to content

Commit

Permalink
Put AVIF native decoder behind conditional compilation instead of a g…
Browse files Browse the repository at this point in the history
…lobal disable
  • Loading branch information
foresterre committed Jan 3, 2025
1 parent d137bf3 commit df2ffe2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ changes.

### Notable dependency updates

- Updated [image](https://github.com/image-rs/image) to 0.25.2
- Updated [image](https://github.com/image-rs/image) to 0.25.5

### Disabled

- Disabled AVIF decoder for now due to cross-platform compilation issues (dav1d-rs).
- Disabled AVIF decoder by default due to cross-platform compilation issues (enable on compile time using feature "dav1d"; requires libdav1d to be present).

## [0.22.4] - 2023-09-17

Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ yare = "3"
default = ["imageproc-ops", "nasm"]
imageproc-ops = ["sic_core/imageproc-ops", "sic_cli_ops/imageproc-ops", "sic_image_engine/imageproc-ops", "sic_parser/imageproc-ops"]
nasm = ["sic_core/nasm"]
dav1d = ["sic_core/dav1d"]

output-test-images = []

Expand Down
1 change: 1 addition & 0 deletions crates/sic_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ thiserror = "2"

[features]
nasm = ["image/nasm"]
dav1d = ["image/avif-native"]
imageproc-ops = ["imageproc", "ab_glyph"]

0 comments on commit df2ffe2

Please sign in to comment.