async-tftp
This library provides TFTP async implementation. Currently it implements only server side.
Example
use TftpServerBuilder;
use Result;
Add in Cargo.toml
:
async-tftp = "0.2"
The above will use async-std by default, if you prefer tokio use:
async-tftp = { version = "0.2", default-features = false, features = ["use-tokio"] }
Features
- Async implementation.
- Serve read (RRQ) and write (WRQ) requests.
- Unlimited transfer file size (block number roll-over).
- You can set non-standard reply
timeout
. This is useful for faster file transfer in unstable environments. - You can set block size limit. This is useful if you are accessing client through a VPN.
- You can implement your own
Handler
for more advance cases than just serving a directory.