Cargo Features

[dependencies]
postgres-tx-retry = { version = "0.0.3", default-features = false, features = ["async", "sync"] }
default = async

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

async default = deadpool, deadpool-postgres, tokio-postgres

Affects postgres-tx-retry::AsyncResult, postgres-tx-retry::tx

sync = postgres, r2d2, r2d2_postgres, tokio

Affects postgres-tx-retry::Pool, postgres-tx-retry::tx_sync

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.

deadpool async

Enables deadpool ^0.9

deadpool-postgres async

Enables deadpool-postgres ^0.10

postgres sync?
r2d2 sync?
r2d2_postgres sync?
tokio sync?
tokio-postgres async