Cargo Features
[dependencies]
prima = { version = "0.5.3", default-features = false, features = ["rendering"] }
- default = rendering
-
The
rendering
feature is set by default wheneverprima
is added without
somewhere in the dependency tree.default-features = false - rendering default = image, imageproc
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 rendering
-
Enables image ^0.23.6
- imageproc rendering
-
Enables imageproc ^0.22.0