diff --git a/Cargo.toml b/Cargo.toml index 2ff23f0..5beed70 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "flexible-hyper-server-tls" -version = "0.1.2-alpha.1" +version = "0.1.2" edition = "2021" license = "MIT OR Apache-2.0" description = "Easily choose between HTTP or HTTPS when using hyper" @@ -11,13 +11,12 @@ exclude = ["examples/certs"] [dependencies] futures-util = { version = "0.3.28", default-features = false, features = ["std"] } -hyper = { version = "0.14.27", features = ["server", "tcp"] } -rustls-pemfile = "2.0.0-alpha.1" -thiserror = "1.0.44" -tokio = { version = "1.29.1", features = ["net", "time"] } -tokio-rustls = "0.25.0-alpha.1" +hyper = { version = "0.14.28", features = ["server", "tcp"] } +rustls-pemfile = "2.0.0" +thiserror = "1.0.51" +tokio = { version = "1.35.1", features = ["net", "time"] } +tokio-rustls = "0.25.0" [dev-dependencies] -hyper = { version = "0.14.27", features = ["http1", "http2"] } -tokio = { version = "1.29.1", features = ["rt", "macros"] } - +hyper = { version = "0.14.28", features = ["http1", "http2"] } +tokio = { version = "1.35.1", features = ["rt", "macros"] } diff --git a/src/tlsconfig.rs b/src/tlsconfig.rs index 93b7e36..0e1e3d7 100644 --- a/src/tlsconfig.rs +++ b/src/tlsconfig.rs @@ -92,7 +92,6 @@ fn get_tlsacceptor_from_readers( }; let mut cfg = rustls::server::ServerConfig::builder() - .with_safe_defaults() .with_no_client_auth() .with_single_cert(certs, key)?;