Cargo Features
[dependencies]
celery = { version = "0.5.5", default-features = false, features = ["codegen", "extra_content_types", "native-tls", "rustls"] }
- default = codegen, rustls
-
These default features are set whenever
celery
is added without
somewhere in the dependency tree.default-features = false - codegen default = celery-codegen
-
Affects
celery::export
… - extra_content_types = rmp-serde, rmpv, serde-pickle, serde_yaml
- native-tls
-
Enables native-tls of lapin
- rustls default
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.