Cargo Features
[dependencies]
dg_xch_core = { version = "2.0.3", default-features = false, features = ["mysql", "postgres", "metrics", "paperclip"] }
- default = postgres, sqlx
-
These default features are set whenever
dg_xch_core
is added without
somewhere in the dependency tree.default-features = false - mysql
- postgres default
- metrics
-
Enables prometheus
Affects
farmer::FarmerSharedState.metrics
,farmer::FarmerMetrics
,harvester::HarvesterState.metrics
,harvester::HarvesterMetrics
…
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.