Cargo Features
[dependencies]
zbar-rs = { version = "0.2.7", default-features = false, features = ["from_image", "zbar_fork_if_available"] }
- default = from_image, zbar_fork_if_available
-
These default features are set whenever
zbar-rs
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