Cargo Features
[dependencies]
dendrite = { version = "0.14.1", default-features = false, features = ["all", "auth", "elasticsearch", "mongodb", "dendrite_macros"] }
- default all? = dendrite_macros
-
The
dendrite_macros
feature is set by default wheneverdendrite
is added without
somewhere in the dependency tree.default-features = false - all = auth, default, elasticsearch, mongodb
- auth all? = dendrite_auth
- elasticsearch all? = dendrite_elasticsearch
- mongodb all? = dendrite_mongodb
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.
- dendrite_auth auth?
-
Affects
dendrite::auth
… - dendrite_macros default
-
Affects
dendrite::macros
… - dendrite_elasticsearch elasticsearch?
-
Affects
dendrite::elasticsearch
… - dendrite_mongodb mongodb?
-
Affects
dendrite::mongodb
…