mirror of https://github.com/fafhrd91/actix-net
Apply suggestions from code review
This commit is contained in:
parent
b3f9f8ac25
commit
d8965556d2
|
@ -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`
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue