Cargo Features
[dependencies]
loco-extras = { version = "0.4.0", default-features = false, features = ["full", "initializer-prometheus", "initializer-extra-db", "initializer-multi-db", "initializer-normalize-path", "serde"] }
- default = full
-
The
full
feature is set by default wheneverloco-extras
is added without
somewhere in the dependency tree.default-features = false - full default = initializer-extra-db, initializer-multi-db, initializer-normalize-path, initializer-prometheus
- initializer-prometheus full
-
Enables axum-prometheus ^0.6.1
initializer
Affects
initializers::prometheus
… - initializer-extra-db full
-
Affects
initializers::extra_db
… - initializer-multi-db full
-
Enables serde_json
Affects
initializers::multi_db
… - initializer-normalize-path full
-
Enables tower ^0.4 and tower-http ^0.5.0
Affects
initializers::normalize_path
…