Skip to content

Commit

Permalink
chore: bump dependency versions (#3)
Browse files Browse the repository at this point in the history
Co-authored-by: ravenclaw900 <[email protected]>
  • Loading branch information
MichaIng and ravenclaw900 authored Dec 20, 2023
1 parent 3153a1c commit 55b84f0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
17 changes: 8 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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"] }
1 change: 0 additions & 1 deletion src/tlsconfig.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)?;

Expand Down

0 comments on commit 55b84f0

Please sign in to comment.