# 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" rust-version = "1.75" name = "deadpool-postgres" version = "0.14.0" authors = ["Michael P. Jung "] description = "Dead simple async pool for tokio-postgres" readme = "README.md" keywords = [ "async", "database", "pool", "postgres", ] license = "MIT OR Apache-2.0" repository = "https://github.com/bikeshedder/deadpool" [package.metadata.docs.rs] all-features = true [dependencies.async-trait] version = "0.1.80" [dependencies.deadpool] version = "0.12.0" features = ["managed"] default-features = false [dependencies.serde] version = "1.0" features = ["derive"] optional = true package = "serde" [dependencies.tokio] version = "1.29" features = ["rt"] [dependencies.tracing] version = "0.1.37" [dev-dependencies.config] version = "0.14" features = ["json"] [dev-dependencies.dotenvy] version = "0.15.0" [dev-dependencies.futures] version = "0.3.1" [dev-dependencies.futures-util] version = "0.3.30" [dev-dependencies.tokio] version = "1.0" features = [ "macros", "rt-multi-thread", ] [features] default = ["rt_tokio_1"] rt_async-std_1 = ["deadpool/rt_async-std_1"] rt_tokio_1 = ["deadpool/rt_tokio_1"] serde = [ "deadpool/serde", "dep:serde", ] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.tokio-postgres] version = "0.7.9" [target."cfg(target_arch = \"wasm32\")".dependencies.getrandom] version = "0.2" features = ["js"] [target."cfg(target_arch = \"wasm32\")".dependencies.tokio-postgres] version = "0.7.9" default-features = false