feat: re-export native-tls (#24)
Signed-off-by: Cheng JIANG <jiang.cheng@vip.163.com>
This commit is contained in:
parent
e8a8a59971
commit
c3bf063eb6
@ -30,7 +30,7 @@
|
||||
|
||||
use tokio::io::{AsyncRead, AsyncWrite};
|
||||
|
||||
use native_tls::{Error, HandshakeError, MidHandshakeTlsStream};
|
||||
use crate::native_tls::{Error, HandshakeError, MidHandshakeTlsStream};
|
||||
use std::fmt;
|
||||
use std::future::Future;
|
||||
use std::io::{self, Read, Write};
|
||||
@ -361,3 +361,8 @@ impl<S: AsyncRead + AsyncWrite + Unpin> Future for MidHandshake<S> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// re-export native_tls
|
||||
pub mod native_tls {
|
||||
pub use native_tls::*;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user