Closed TheBlindM closed 1 year ago
Hi @TheBlindM
Please enable async-io
feature then try connect
let mut session = AsyncSession::<async_ssh2_lite::AsyncIoTcpStream>::connect(addr, None).await?;
session.handshake().await?;
Or
async-ssh2-lite = "0.4.6"
Looks like the problem with async-io version.
Hi @TheBlindM
Please enable
async-io
feature then try connectlet mut session = AsyncSession::<async_ssh2_lite::AsyncIoTcpStream>::connect(addr, None).await?; session.handshake().await?;
Or
async-ssh2-lite = "0.4.6"
Looks like the problem with async-io version.
async-ssh2-lite = "0.4.6"
async-io = {version = "1.13.0",default-features = false, optional = true}
Unresolved reference: AsyncIoTcpStream
.
how enable async-io?
how enable async-io?
async-ssh2-lite = {version = "0.4.6", features = ["async-io"] }
code:
err_msg: