Enable redis tls-rustls feature.

Fixes #170.
This commit is contained in:
Orne Brocaar 2023-04-26 11:58:59 +01:00
parent fe0ef398ec
commit de90b7d284
2 changed files with 31 additions and 7 deletions

36
Cargo.lock generated
View File

@ -577,7 +577,7 @@ dependencies = [
"hyper-rustls",
"lazy_static",
"pin-project-lite",
"rustls",
"rustls 0.20.8",
"tokio",
"tower",
"tracing",
@ -1758,7 +1758,7 @@ dependencies = [
"hyper",
"hyper-rustls",
"ring",
"rustls",
"rustls 0.20.8",
"rustls-pemfile",
"serde",
"serde_json",
@ -2059,7 +2059,7 @@ dependencies = [
"http",
"hyper",
"log",
"rustls",
"rustls 0.20.8",
"rustls-native-certs",
"tokio",
"tokio-rustls",
@ -3279,6 +3279,8 @@ dependencies = [
"percent-encoding",
"r2d2",
"rand",
"rustls 0.21.0",
"rustls-native-certs",
"ryu",
"sha1_smol",
"url",
@ -3359,7 +3361,7 @@ dependencies = [
"once_cell",
"percent-encoding",
"pin-project-lite",
"rustls",
"rustls 0.20.8",
"rustls-pemfile",
"serde",
"serde_json",
@ -3495,6 +3497,18 @@ dependencies = [
"webpki",
]
[[package]]
name = "rustls"
version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "07180898a28ed6a7f7ba2311594308f595e3dd2e3c3812fa0a80a47b45f17e5d"
dependencies = [
"log",
"ring",
"rustls-webpki",
"sct",
]
[[package]]
name = "rustls-connector"
version = "0.16.1"
@ -3502,7 +3516,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c6a18f8d10f71bce9bca6eaeb80429460e652f3bcf0381f0c5f8954abf7b3b8"
dependencies = [
"log",
"rustls",
"rustls 0.20.8",
"rustls-native-certs",
"webpki",
]
@ -3528,6 +3542,16 @@ dependencies = [
"base64 0.21.0",
]
[[package]]
name = "rustls-webpki"
version = "0.100.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d6207cd5ed3d8dca7816f8f3725513a34609c0c765bf652b8c3cb4cfd87db46b"
dependencies = [
"ring",
"untrusted",
]
[[package]]
name = "rustversion"
version = "1.0.12"
@ -4152,7 +4176,7 @@ version = "0.23.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59"
dependencies = [
"rustls",
"rustls 0.20.8",
"tokio",
"webpki",
]

View File

@ -34,7 +34,7 @@ diesel = { version = "2.0", features = [
diesel_migrations = { version = "2.0" }
r2d2 = "0.8"
bigdecimal = "0.3"
redis = { version = "0.23", features = ["r2d2", "cluster"] }
redis = { version = "0.23", features = ["r2d2", "cluster", "tls-rustls"] }
pq-sys = { version = "0.4", features = ["pkg-config"] }
# Logging