Cargo Features

[dependencies]
chaindexing = { version = "0.1.80", default-features = false, features = ["postgres", "live-states"] }
default = postgres

The postgres feature is set by default whenever chaindexing is added without default-features = false somewhere in the dependency tree.

postgres default = tokio-postgres

Affects chaindexing::ChaindexingRepo, chaindexing::ChaindexingRepoPool, chaindexing::ChaindexingRepoConn, chaindexing::ChaindexingRepoClient, chaindexing::ChaindexingRepoTxnClient

live-states = once_cell

Enables sync of tokio

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.

tokio-postgres postgres
once_cell live-states?