Apply suggestions from code review

This commit is contained in:
Rob Ede 2021-10-18 16:03:56 +01:00 committed by GitHub
parent b3f9f8ac25
commit d8965556d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -1,10 +1,11 @@
# Changes
## Unreleased - 2021-xx-xx
* Update `tokio-rustls` to `0.23`, which uses `rustls` `0.20`.
* Brought in `rustls-pemfile` as a dev-dependency, to show updated usage for the
`tcp-rustls` example.
* Removed a re-export of `Session` from `rustls`, as it seems to longer exist.
* Update `tokio-rustls` to `0.23` which uses `rustls` `0.20`. [#396]
* Removed a re-export of `Session` from `rustls` as it no longer exist. [#396]
[#396]: https://github.com/actix/actix-net/pull/396
## 3.0.0-beta.5 - 2021-03-29
* Changed `connect::ssl::rustls::RustlsConnectorService` to return error when `DNSNameRef`

View File

@ -35,8 +35,7 @@ use actix_service::ServiceFactoryExt as _;
use actix_tls::accept::rustls::{Acceptor as RustlsAcceptor, TlsStream};
use futures_util::future::ok;
use log::info;
use rustls::server::ServerConfig;
use rustls::{Certificate, PrivateKey};
use rustls::{server::ServerConfig, Certificate, PrivateKey};
use rustls_pemfile::{certs, rsa_private_keys};
#[actix_rt::main]