feat: add providers

This commit is contained in:
2026-03-05 21:29:06 +01:00
parent 126776f389
commit cad8c0e307
2 changed files with 4 additions and 2 deletions

2
Cargo.lock generated
View File

@@ -1728,8 +1728,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "758025cb5fccfd3bc2fd74708fd4682be41d99e5dff73c377c0646c6012c73a4"
dependencies = [
"aws-lc-rs",
"log",
"once_cell",
"ring",
"rustls-pki-types",
"rustls-webpki",
"subtle",

View File

@@ -31,7 +31,7 @@ tokio-postgres = { version = "0.7", optional = true, features = [
] }
chrono = { version = "0.4", optional = true }
tokio-postgres-rustls = { version = "0.13", optional = true }
rustls = { version = "0.23", optional = true }
rustls = { version = "0.23", optional = true, default-features = false }
rustls-native-certs = { version = "0.8", optional = true }
@@ -43,3 +43,5 @@ tracing-test = { version = "0.2.5", features = ["no-env-filter"] }
default = []
postgres = ["dep:tokio-postgres", "dep:chrono"]
postgres-tls = ["postgres", "dep:tokio-postgres-rustls", "dep:rustls", "dep:rustls-native-certs"]
postgres-tls-ring = ["postgres-tls", "rustls/ring"]
postgres-tls-aws-lc-rs = ["postgres-tls", "rustls/aws_lc_rs"]