server: update tokio
This commit is contained in:
committed by
nitnelave
parent
c9997d4c17
commit
07de6062ca
@@ -85,7 +85,7 @@ version = "*"
|
||||
|
||||
[dependencies.tokio]
|
||||
features = ["full"]
|
||||
version = "1.17"
|
||||
version = "1.25"
|
||||
|
||||
[dependencies.uuid]
|
||||
features = ["v3"]
|
||||
|
||||
@@ -67,7 +67,7 @@ async fn handle_ldap_stream<Stream, Backend>(
|
||||
) -> Result<Stream>
|
||||
where
|
||||
Backend: BackendHandler + LoginHandler + OpaqueHandler + 'static,
|
||||
Stream: tokio::io::AsyncRead + tokio::io::AsyncWrite,
|
||||
Stream: tokio::io::AsyncRead + tokio::io::AsyncWrite + std::marker::Unpin,
|
||||
{
|
||||
use tokio_stream::StreamExt;
|
||||
let (r, w) = tokio::io::split(stream);
|
||||
|
||||
Reference in New Issue
Block a user