sunset_async/
lib.rs

1//! Async for Sunset SSH
2//!
3//! This provides async for Sunset SSH.
4#![no_std]
5#![forbid(unsafe_code)]
6// avoid mysterious missing awaits
7#![deny(unused_must_use)]
8
9mod async_channel;
10mod async_sunset;
11mod client;
12mod server;
13
14// TODO: if SSHServer and SSHClient don't specialise much then
15// they could share a common implementation. Wait and see
16pub use client::SSHClient;
17pub use server::SSHServer;
18
19pub use async_channel::{ChanIn, ChanInOut, ChanOut};
20
21pub use async_sunset::{
22    io_buf_copy, io_copy, ProgressHolder, SunsetMutex, SunsetRawMutex,
23};
24pub use async_sunset::{io_buf_copy_noreaderror, io_copy_nowriteerror};