tokio-postgres-generic-rustls/Cargo.toml
asonix 973697bd6c
All checks were successful
/ check (aarch64-unknown-linux-musl) (push) Successful in 51s
/ check (armv7-unknown-linux-musleabihf) (push) Successful in 59s
/ check (x86_64-unknown-linux-musl) (push) Successful in 52s
/ clippy (push) Successful in 29s
/ tests (push) Successful in 30s
/ build (armv7-unknown-linux-musleabihf) (push) Successful in 59s
/ build (x86_64-unknown-linux-musl) (push) Successful in 41s
/ publish-forgejo (push) Successful in 5s
/ publish-crate (push) Successful in 20s
/ build (aarch64-unknown-linux-musl) (push) Successful in 56s
Uppercase OR
2024-05-03 22:04:10 -05:00

33 lines
1.1 KiB
TOML

[package]
name = "tokio-postgres-generic-rustls"
description = "rustls-backed TLS for tokio-postgres without a required crypto backend"
version = "0.1.0"
authors = ["asonix <asonix@asonix.dog>"]
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 }