Cargo Features
[dependencies]
pillow = { version = "0.4.3", default-features = false, features = ["full", "http", "routing", "env", "fs", "templates", "macros"] }
- default = http, macros, routing
-
These default features are set whenever
pillow
is added without
somewhere in the dependency tree.default-features = false - full = env, fs, http, templates
- http default full? = pillow-http
-
Affects
pillow::http
… - routing default = pillow-routing
- env full? = pillow-env
- fs full? = pillow-fs
- templates full? = pillow-templates
- macros default = pillow_macros
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.