tftp_client

Crates.iotftp_client
lib.rstftp_client
version0.2.0
sourcesrc
created_at2023-08-22 05:51:08.276659
updated_at2024-02-18 02:10:48.922661
descriptionA pure-rust TFTP client library
homepagehttps://github.com/kiranshila/tftp_client
repositoryhttps://github.com/kiranshila/tftp_client
max_upload_size
id950739
size46,312
Kiran Shila (kiranshila)

documentation

README

tftp_client

A pure-rust TFTP client library

license docs rustc build status Codecov

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.

Commit count: 28

cargo fmt