sunset
sunset copied to clipboard
SSH for Rust, no_std and elsewhere
this could use an example for non-async, non-std. i had to patch in a custom `getrandom` impl to use: ``` #[path = "espidf.rs"] mod imp; ``` for some reason `if...
When I run ``` git clone https://github.com/mkj/sunset.git cd sunset/async cargo run --example serv1 ``` I get a bunch of compile errors. Have the latest Rust version (1.78).
Hi there @mkj, This is an early draft of a pull request to help with the SFTP subsystem for sunset. I have been reading and working on `proto.rs` and I...
embassy-net `TcpReader::read_with()` can be used to avoid the 1 kB copy buffer. Figure if there's a way to automatically specialise that.
progress() might need to send output packets but the `TrafSend` may not have space. Would it be OK to check for empty `TrafSend` at the top of progress()?
Channel cleanup is definitely not all correct, in terms of EOF->close, and shutting down one direction before the other.
Perhaps `DispatchEvent` could be renamed `EventId`. `disconnected` would instead map to an `Event`.
Currently it's assumed an application will exit if an event callback returns an error (for example `.hostkeys()?` if buffer space isn't available). It might be worth storing that error somewhere...