1
0
mirror of https://github.com/actix/examples synced 2025-06-27 01:27:43 +02:00

use rustls v0.21

This commit is contained in:
Rob Ede
2023-08-29 18:28:12 +01:00
parent 9ac242138a
commit cfea68d5c7
12 changed files with 66 additions and 50 deletions

77
Cargo.lock generated
View File

@ -13,12 +13,11 @@ dependencies = [
]
[[package]]
name = "acme-micro"
version = "0.12.0"
name = "acme-lib"
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a18fb402a32ddc56ef7015df8d575c326ea911887ba9b7661ce18786282e89a3"
checksum = "292ac9d513052341a7f5bdae61f31c4dc93c1dce2598508f52709df08cecc8b0"
dependencies = [
"anyhow",
"base64 0.13.1",
"lazy_static",
"log",
@ -131,9 +130,9 @@ dependencies = [
[[package]]
name = "actix-http"
version = "3.3.1"
version = "3.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c2079246596c18b4a33e274ae10c0e50613f4d32a4198e09c7b93771013fed74"
checksum = "a92ef85799cba03f76e4f7c10f533e66d87c9a7e7055f3391f09000ad8351bc9"
dependencies = [
"actix-codec",
"actix-rt",
@ -142,7 +141,7 @@ dependencies = [
"actix-utils",
"ahash 0.8.3",
"base64 0.21.2",
"bitflags 1.3.2",
"bitflags 2.3.3",
"brotli",
"bytes 1.4.0",
"bytestring",
@ -390,23 +389,24 @@ dependencies = [
[[package]]
name = "actix-tls"
version = "3.0.3"
version = "3.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9fde0cf292f7cdc7f070803cb9a0d45c018441321a78b1042ffbbb81ec333297"
checksum = "a70bd48b6604191a700372f60bdc997db560eff5e4d41a7f00664390b5228b38"
dependencies = [
"actix-codec",
"actix-rt",
"actix-service",
"actix-utils",
"futures-core",
"http",
"log",
"impl-more",
"openssl",
"pin-project-lite 0.2.10",
"tokio 1.29.1",
"tokio-openssl",
"tokio-rustls",
"tokio-rustls 0.24.1",
"tokio-util 0.7.8",
"webpki-roots 0.22.6",
"tracing",
"webpki-roots 0.25.2",
]
[[package]]
@ -421,9 +421,9 @@ dependencies = [
[[package]]
name = "actix-web"
version = "4.3.1"
version = "4.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cd3cb42f9566ab176e1ef0b8b3a896529062b4efc6be0123046095914c4c1c96"
checksum = "0e4a5b5e29603ca8c94a77c65cf874718ceb60292c5a5c3e5f4ace041af462b9"
dependencies = [
"actix-codec",
"actix-http",
@ -435,7 +435,7 @@ dependencies = [
"actix-tls",
"actix-utils",
"actix-web-codegen",
"ahash 0.7.6",
"ahash 0.8.3",
"bytes 1.4.0",
"bytestring",
"cfg-if 1.0.0",
@ -444,7 +444,6 @@ dependencies = [
"encoding_rs",
"futures-core",
"futures-util",
"http",
"itoa 1.0.9",
"language-tags",
"log",
@ -456,7 +455,7 @@ dependencies = [
"serde_json",
"serde_urlencoded",
"smallvec 1.11.0",
"socket2 0.4.9",
"socket2 0.5.3",
"time 0.3.23",
"url",
]
@ -1114,9 +1113,9 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
[[package]]
name = "awc"
version = "3.1.1"
version = "3.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "87ef547a81796eb2dfe9b345aba34c2e08391a0502493711395b36dd64052b69"
checksum = "7fa3c705a9c7917ac0f41c0757a0a747b43bbc29b0b364b081bd7c5fc67fb223"
dependencies = [
"actix-codec",
"actix-http",
@ -1124,7 +1123,6 @@ dependencies = [
"actix-service",
"actix-tls",
"actix-utils",
"ahash 0.7.6",
"base64 0.21.2",
"bytes 1.4.0",
"cfg-if 1.0.0",
@ -1141,7 +1139,7 @@ dependencies = [
"percent-encoding",
"pin-project-lite 0.2.10",
"rand 0.8.5",
"rustls 0.20.8",
"rustls 0.21.5",
"serde",
"serde_json",
"serde_urlencoded",
@ -1157,8 +1155,8 @@ dependencies = [
"env_logger",
"log",
"mime",
"rustls 0.20.8",
"webpki-roots 0.24.0",
"rustls 0.21.5",
"webpki-roots 0.25.2",
]
[[package]]
@ -3819,7 +3817,7 @@ dependencies = [
"rustls 0.20.8",
"rustls-native-certs",
"tokio 1.29.1",
"tokio-rustls",
"tokio-rustls 0.23.4",
]
[[package]]
@ -4617,7 +4615,7 @@ dependencies = [
"env_logger",
"futures-util",
"log",
"rustls 0.20.8",
"rustls 0.21.5",
"rustls-pemfile",
]
@ -4774,7 +4772,7 @@ dependencies = [
"take_mut",
"thiserror",
"tokio 1.29.1",
"tokio-rustls",
"tokio-rustls 0.23.4",
"tokio-util 0.7.8",
"trust-dns-proto",
"trust-dns-resolver",
@ -5117,7 +5115,7 @@ dependencies = [
name = "openssl-auto-le"
version = "1.0.0"
dependencies = [
"acme-micro",
"acme-lib",
"actix-files",
"actix-web",
"anyhow",
@ -6310,6 +6308,7 @@ version = "0.21.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "79ea77c539259495ce8ca47f53e66ae0330a8819f67e23ac96ca02f50e7b7d36"
dependencies = [
"log",
"ring",
"rustls-webpki",
"sct 0.7.0",
@ -6323,7 +6322,7 @@ dependencies = [
"actix-web",
"env_logger",
"log",
"rustls 0.20.8",
"rustls 0.21.5",
"rustls-pemfile",
]
@ -6335,7 +6334,7 @@ dependencies = [
"actix-web",
"env_logger",
"log",
"rustls 0.20.8",
"rustls 0.21.5",
"rustls-pemfile",
]
@ -7193,7 +7192,7 @@ checksum = "804d3f245f894e61b1e6263c84b23ca675d96753b5abfd5cc8597d86806e8024"
dependencies = [
"once_cell",
"tokio 1.29.1",
"tokio-rustls",
"tokio-rustls 0.23.4",
]
[[package]]
@ -7957,6 +7956,16 @@ dependencies = [
"webpki 0.22.0",
]
[[package]]
name = "tokio-rustls"
version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081"
dependencies = [
"rustls 0.21.5",
"tokio 1.29.1",
]
[[package]]
name = "tokio-stream"
version = "0.1.14"
@ -8833,6 +8842,12 @@ dependencies = [
"rustls-webpki",
]
[[package]]
name = "webpki-roots"
version = "0.25.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "14247bb57be4f377dfb94c72830b8ce8fc6beac03cf4bf7b9732eadd414123fc"
[[package]]
name = "websocket"
version = "1.0.0"