async-tftp

license crates.io docs

Executor agnostic async TFTP implementation, written with [smol] building blocks. Currently it implements only server side.

The following RFCs are implemented:

Features:

Example

```rust use asynctftp::server::TftpServerBuilder; use asynctftp::Result;

fn main() -> Result<()> { smol::blockon(async { // or any other runtime/executor let tftpd = TftpServerBuilder::withdir_ro(".")?.build().await?; tftpd.serve().await?; Ok(()) }) } ```

Add in Cargo.toml:

toml [dependencies] smol = "1" # or any other runtime/executor async-tftp = "0.3"

License

MIT