1
0
mirror of https://github.com/actix/examples synced 2025-06-28 18:00:37 +02:00

bump to rc.1

This commit is contained in:
Rob Ede
2022-02-02 00:44:58 +00:00
parent 61fc66c5e5
commit c960da6bdb
25 changed files with 122 additions and 369 deletions

View File

@ -6,8 +6,8 @@ edition = "2018"
[dependencies]
actix-tls = "3.0"
actix-web = { version = "4.0.0-beta.21", features = ["rustls"] }
actix-web = { version = "4.0.0-rc.1", features = ["rustls"] }
env_logger = "0.9"
log = "0.4"
rustls = "0.20.2"
rustls-pemfile = "0.2.1"
rustls-pemfile = "0.2.1"

View File

@ -19,6 +19,7 @@ const CA_CERT: &str = "certs/rootCA.pem";
const SERVER_CERT: &str = "certs/server-cert.pem";
const SERVER_KEY: &str = "certs/server-key.pem";
#[allow(dead_code)] // it is debug printed
#[derive(Debug, Clone)]
struct ConnectionInfo {
bind: SocketAddr,