Skip to content

Commit

Permalink
wip: make avif support an optional feature
Browse files Browse the repository at this point in the history
  • Loading branch information
superyu1337 committed Nov 26, 2024
1 parent ae2bb1f commit 8f7e509
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ statrs = { version = "0.17.0", optional = true }
git = "https://github.com/image-rs/image"
rev = "d6879d9"
default-features = false
features = ["png", "jpeg", "webp", "hdr", "exr", "avif-native"]
features = ["png", "jpeg", "webp", "hdr", "exr"]

[dependencies.plotters]
version = "0.3.4"
Expand All @@ -41,5 +41,6 @@ lto = "thin"
codegen-units = 1

[features]
default = ["video"]
default = ["video", "avif"]
video = ["av-metrics-decoders", "plotters", "statrs", "num-traits"]
avif = ["image/avif-native"]

0 comments on commit 8f7e509

Please sign in to comment.