2 unstable releases
0.2.0 | Feb 18, 2024 |
---|---|
0.1.0 | Aug 22, 2023 |
#4 in #retries
37 downloads per month
Used in 2 crates
28KB
525 lines
tftp_client
A pure-rust TFTP client library
There are several TFTP crates in the rust ecosystem:
All but the last only implement the server side. The last library seems focused on reimplementing the tftp applications, not so much focused on the rust library. Additionally, it is not as robust as the Python tftpy library.
This library, tftp-client
implements only the client as per RFC 1350, including the fix for the "sorcerer's spprentice syndrome". It is blocking-only, doesn't implement any of the additional options, but provides robust control over how timeouts are handled. Unlike rtftp
, retries include exponential backoff (with an upper limit) and have inner and outer retries for block-level and transfer level attempts.
Dependencies
~0.5–1.1MB
~22K SLoC