diff --git a/Cargo.lock b/Cargo.lock index 8526b71..d05146b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -653,12 +653,13 @@ dependencies = [ [[package]] name = "axum-server" -version = "0.7.3" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1ab4a3ec9ea8a657c72d99a03a824af695bd0fb5ec639ccbd9cd3543b41a5f9" +checksum = "b1df331683d982a0b9492b38127151e6453639cd34926eb9c07d4cd8c6d22bfc" dependencies = [ "arc-swap", "bytes", + "either", "fs-err", "http 1.4.0", "http-body 1.0.1", @@ -666,7 +667,6 @@ dependencies = [ "hyper-util", "pin-project-lite", "rustls 0.23.35", - "rustls-pemfile 2.2.0", "rustls-pki-types", "tokio", "tokio-rustls 0.26.4", @@ -2448,7 +2448,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" dependencies = [ "openssl-probe", - "rustls-pemfile 1.0.4", + "rustls-pemfile", "schannel", "security-framework 2.11.1", ] @@ -2474,15 +2474,6 @@ dependencies = [ "base64 0.21.7", ] -[[package]] -name = "rustls-pemfile" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" -dependencies = [ - "rustls-pki-types", -] - [[package]] name = "rustls-pki-types" version = "1.13.1" diff --git a/example7/Cargo.toml b/example7/Cargo.toml index bff9adf..fd94277 100644 --- a/example7/Cargo.toml +++ b/example7/Cargo.toml @@ -7,7 +7,7 @@ publish = false [dependencies] axum = { version = "0.8.7" } axum-extra = { version = "0.12.2" } -axum-server = { version = "0.7", features = ["tls-rustls"] } +axum-server = { version = "0.8", features = ["tls-rustls"] } tokio = { version = "1", features = ["full"] } tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter"] } \ No newline at end of file