# 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 = "tokio-postgres-generic-rustls" version = "0.1.0" authors = ["asonix "] description = "rustls-backed TLS for tokio-postgres without a required crypto backend" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://git.asonix.dog/asonix/tokio-postgres-generic-rustls" [package.metadata.docs.rs] all-features = true [dependencies.aws-lc-rs] version = "1.7.0" optional = true [dependencies.ring] version = "0.17.8" optional = true [dependencies.rustls] version = "0.23.5" default-features = false [dependencies.sha2] version = "0.10.8" optional = true [dependencies.tokio] version = "1.37.0" default-features = false [dependencies.tokio-postgres] version = "0.7.10" features = ["runtime"] default-features = false [dependencies.tokio-rustls] version = "0.26.0" default-features = false [dependencies.x509-cert] version = "0.2.5" [dev-dependencies.aws-lc-rs] version = "1.7.0" optional = false [dev-dependencies.rustls] version = "0.23.5" default-features = true [features] aws-lc-rs = ["dep:aws-lc-rs"] ring = ["dep:ring"] rustcrypto = ["dep:sha2"]