Cargo Features
[dependencies]
chaindexing = { version = "0.1.80", default-features = false, features = ["postgres", "live-states"] }
- default = postgres
-
The
postgresfeature is set by default wheneverchaindexingis added withoutsomewhere in the dependency tree.default-features = false - postgres default = tokio-postgres
-
Affects
chaindexing::ChaindexingRepo,chaindexing::ChaindexingRepoPool,chaindexing::ChaindexingRepoConn,chaindexing::ChaindexingRepoClient,chaindexing::ChaindexingRepoTxnClient… - live-states = once_cell
-
Affects
chaindexing::state_bus,state_bus::Message,state_bus::subscribe…
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.