feat: add providers
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -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",
|
||||
|
||||
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user