Cargo Features
[dependencies]
zbars = { version = "0.2.0", default-features = false, features = ["from_image", "zbar_fork_if_available"] }
- default = from_image, zbar_fork_if_available
-
These default features are set whenever
zbars
is added without
somewhere in the dependency tree.default-features = false - from_image default = image
-
Affects
image::from_image
… - zbar_fork_if_available default
-
There is a fork of zbar that is more activly developed (https://github.com/procxx/zbar)
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.
- image from_image
-
Enables image ^0.19.0