Cargo Features
[dependencies]
libavif-sys = { version = "0.17.0+libavif.1.0.4", default-features = false, features = ["codec-rav1e", "codec-dav1d", "codec-aom"] }
- default = codec-dav1d, codec-rav1e
-
These default features are set whenever
libavif-sys
is added without
somewhere in the dependency tree.default-features = false - codec-rav1e default = rav1e
- codec-dav1d default = libdav1d-sys
- codec-aom = libaom-sys
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.