All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Remove
num-traits
dependency - Update all dependencies
- Use
tokio
in examples
0.3.6 - 2022-12-16
- Send responses and errors from the bind address #14
- Upgrade dependencies
0.3.5 - 2021-01-28
- Upgrade to
bytes
1.0 - Migrate from
async-mutex
toasync-lock
- Upgdate other dependencies
0.3.4 - 2020-12-13
- Upgrade to
bytes
0.6.0 - Upgrade to
nom
6.0.1 - Upgrade other dependencies
- Use async-executor instead of FuturesUnordered
0.3.3 - 2020-09-14
- Upgrade to the v1 of smol building blocks.
0.3.2 - 2020-08-31
- Remove
once_cell
from dependencies. - Upgrade to new smol building blocks.
0.3.1 - 2020-08-22
- Rewrite
tftpd-targz.rs
example withasync-tar
andasync-compression
crates. - Use only
alloc
feature flag forfutures-util
.
0.3.0 - 2020-08-17
- async-tftp is now runtime/executor agnostic thanks to smol building
blocks. You can even run it with a simple
block_on
. - Added an example on how you can serve files from a tar.gz.
- Added
TftpServerBuilder::std_socket
.
- Because
use-tokio
feature flag is removed,Handler
now only acceptsfutures_io::AsyncRead
andfutures_io::AsyncWrite
. TftpServerBuilder::socket
now acceptsasync_io::Async<std::net::UdpSocket>
.
- Removed
use-async-std
feature flag. - Removed
use-tokio
feature flag. - Removed
async_tftp::log::set_log_level
.
0.2.0 - 2020-02-08
- Handle write requests.
- Added
TftpServerBuilder::with_dir_wo
that handles only write requests. - Added
TftpServerBuilder::with_dir_rw
that handles read and write requests. - Added
use-async-std
feature flag, to enable async-std 1.0 integration (default). - Added
use-tokio
feature flag, to enable Tokio 0.2 integration.
Handler
trait needs aWriter
associated type.DirRoHandler
is renamed toDirHandler
.DirHandler::new
now requires initialization flags.
0.1.3 - 2019-11-20
- Minor improvements for read request.
- Added tests for non-default block size.
0.1.2 - 2019-11-20
- You can now set the maximum send retries of a data block via
TftpServerBuilder::max_send_retries
. Default is 100 retries. - You can now produce a serve request failure on the first
read
0.1.1 - 2019-11-17
- Improve test cases.