Cargo Features
[dependencies]
qrcode_gen = { version = "0.1.1", default-features = false, features = ["svg", "png", "bench", "image"] }
- default = image, png, svg
-
These default features are set whenever
qrcode_gen
is added without
somewhere in the dependency tree.default-features = false - svg default
- png default
- bench
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 default
-
Enables image ^0.23