tokio-postgres-generic-rustls/Cargo.toml

34 lines
1.1 KiB
TOML
Raw Normal View History

2024-05-03 16:56:02 +00:00
[package]
name = "tokio-postgres-generic-rustls"
2024-05-03 20:03:07 +00:00
description = "rustls-backed TLS for tokio-postgres without a required crypto backend"
2024-05-03 16:56:02 +00:00
version = "0.1.0"
2024-05-03 20:03:07 +00:00
authors = ["asonix <asonix@asonix.dog>"]
readme = "README.md"
repository = "https://git.asonix.dog/asonix/tokio-postgres-generic-rustls"
2024-05-04 03:04:10 +00:00
license = "MIT OR Apache-2.0"
2024-05-03 16:56:02 +00:00
edition = "2021"
2024-05-03 20:03:07 +00:00
[package.metadata.docs.rs]
all-features = true
2024-05-03 16:56:09 +00:00
[features]
aws-lc-rs = ["dep:aws-lc-rs"]
ring = ["dep:ring"]
rustcrypto = ["dep:sha2"]
2024-05-03 16:56:02 +00:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
2024-05-03 16:56:09 +00:00
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"
2024-05-03 20:03:07 +00:00
[dev-dependencies]
rustls = { version = "0.23.5", default-features = true }
aws-lc-rs = { version = "1.7.0", optional = false }