# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "postgres-tx-retry" version = "0.0.3" authors = ["Martin Gallagher "] exclude = [".github"] description = "Transaction retry helpers for PostgreSQL compatibale databases" keywords = [ "postgres", "postgresql", "cockroachdb", ] license = "MIT" repository = "https://github.com/martingallagher/postgres-tx-retry.git" resolver = "2" [package.metadata.docs.rs] features = ["sync"] [dependencies.deadpool] version = "0.9" optional = true [dependencies.deadpool-postgres] version = "0.10" optional = true [dependencies.postgres] version = "0.19" optional = true [dependencies.r2d2] version = "0.8" optional = true [dependencies.r2d2_postgres] version = "0.18" optional = true [dependencies.tokio] version = "1" features = ["rt-multi-thread"] optional = true [dependencies.tokio-postgres] version = "0.7" optional = true [features] async = [ "deadpool", "deadpool-postgres", "tokio-postgres", ] default = ["async"] sync = [ "postgres", "r2d2", "r2d2_postgres", "tokio", ]