Cargo Features
[dependencies]
mdd = { version = "0.1.1", default-features = false, features = ["full", "repository", "actix", "math", "virus", "getters", "logging", "setters", "builder", "hexadecimal", "bytes", "json", "to", "service", "observer", "diesel", "toml"] }
- default = full
-
The
full
feature is set by default whenevermdd
is added without
somewhere in the dependency tree.default-features = false - full default = actix, bincode, builder, bytes, getters, hexadecimal, json, logging, math, observer, repository, setters, to, virus
- repository full = diesel, r2d2, redis
-
Affects
mdd::repository
… - actix full = actix-web
-
Affects
mdd::actix
… - math full
-
Affects
mdd::math
… - virus full
-
Affects
mdd::virus
… - getters full
-
Affects
mdd::getters
… - logging full = chrono, colorful
-
Affects
mdd::logging
… - setters full
-
Affects
mdd::setters
… - builder full
-
Affects
mdd::builder
… - hexadecimal full = hex
-
Affects
mdd::hexadecimal
… - bytes full
-
Affects
mdd::bytes
… - json full = serde, serde_json
-
Affects
mdd::json
… - to full
-
Affects
mdd::to
… - service
-
Affects
mdd::service
… - observer full
-
Affects
mdd::observer
… - diesel repository?
-
Enables diesel
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.
- actix-web actix?
- bincode full
- chrono logging?
- colorful logging?
- hex hexadecimal?
- r2d2 repository?
- redis repository?
- serde json?
- serde_json json?
- toml implicit feature