From 9747bc151b10ccd32caa874594e7cb98f2844dca Mon Sep 17 00:00:00 2001 From: "Heinz N. Gies" Date: Tue, 23 May 2023 11:34:05 +0200 Subject: [PATCH] Update src/acceptor.rs Co-authored-by: Dirkjan Ochtman --- src/acceptor.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/acceptor.rs b/src/acceptor.rs index 3f6ef6e..de4884d 100644 --- a/src/acceptor.rs +++ b/src/acceptor.rs @@ -12,10 +12,9 @@ use std::sync::Arc; use tokio::io::{AsyncRead, AsyncWrite, ReadBuf}; mod builder; - pub use builder::AcceptorBuilder; +use builder::WantsTlsConfig; -use self::builder::WantsTlsConfig; enum State { Handshaking(tokio_rustls::Accept), Streaming(tokio_rustls::server::TlsStream),