[package] name = "tokio-postgres-generic-rustls" description = "rustls-backed TLS for tokio-postgres without a required crypto backend" version = "0.1.0" authors = ["asonix "] readme = "README.md" repository = "https://git.asonix.dog/asonix/tokio-postgres-generic-rustls" license = "MIT OR Apache-2.0" edition = "2021" [package.metadata.docs.rs] all-features = true [features] aws-lc-rs = ["dep:aws-lc-rs"] ring = ["dep:ring"] rustcrypto = ["dep:sha2"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] aws-lc-rs = { version = "1.7.0", optional = true } ring = { version = "0.17.8", optional = true } rustls = { version = "0.23.5", default-features = false } sha2 = { version = "0.10.8", optional = true } tokio = { version = "1.37.0", default-features = false } tokio-postgres = { version = "0.7.10", default-features = false, features = ["runtime"] } tokio-rustls = { version = "0.26.0", default-features = false } x509-cert = "0.2.5" [dev-dependencies] rustls = { version = "0.23.5", default-features = true } aws-lc-rs = { version = "1.7.0", optional = false }