From 8414b9a12c227d7cc22c80679e9939e8792602e9 Mon Sep 17 00:00:00 2001 From: Thayne McCombs Date: Sat, 6 Jul 2024 16:12:24 -0600 Subject: [PATCH] Allow using tokio-rustls 0.26 And continue supporting 0.25 Fixes: #44 --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 154387e..ae4de9a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "tls-listener" description = "wrap incoming Stream of connections in TLS" -version = "0.10.0" +version = "0.10.1" authors = ["Thayne McCombs "] repository = "https://github.com/tmccombs/tls-listener" edition = "2018" @@ -22,7 +22,7 @@ pin-project-lite = "0.2.13" thiserror = "1.0.30" tokio = { version = "1.0", features = ["time"] } tokio-native-tls = { version = "0.3.0", optional = true } -tokio-rustls = { version = "0.26.0", optional = true } +tokio-rustls = { version = ">=0.25.0,<0.27", optional = true } tokio-openssl = { version = "0.6.3", optional = true } openssl_impl = { package = "openssl", version = "0.10.32", optional = true }