- upgrade to
http
crate version 1.0. - bump minimum Rust to 1.79.
- Fix #25:
unsound use of
Vec::set_len
withinChunkedReadFile
. - Fix infinite loop in
<ChunkedReadFile as Entity>::get_range
if the file ends before the specified range does. This could happen for example if the file is truncated between theChunkedReadFile
being created and read.
- Remove a
println!
accidentally introduced in 0.3.3.
- Avoid a second
fstat
call perChunkedReadFile
construction on Unix.
- Fix #23:
erroneous
304 Not Modified
responses when the etag doesn't matchIf-None-Match
but the date isn't afterIf-Unmodified-Since
.
- documentation improvements
- update deps
- Bump minimum Rust version to 1.46.
- Remove an
unsafe
block via thepin-project
library. - Fix references to old hyper versions in documentation.
- BREAKING CHANGE: update to hyper 0.14, tokio 1.0, bytes 1.0.
- Bump minimum Rust version to 1.45.
- Add new
dir
module for local filesystem directory traversal on Unix.
- Don't panic on unparseable
Range
header values. - Reduce code bloat, particularly when there are multiple
implementations of
Entity
for a givenData
andError
type.
- Use the freshly-released reqwest 0.10.x in tests. This avoids pulling in two copies of the hyper/tokio/http/http-body/bytes ecosystems.
- BREAKING CHANGE: update to hyper 0.13.x, tokio 0.2.x, bytes 0.5.x, http 0.2.x, futures 0.3.x.
- BREAKING CHANGE: use
tokio::task::block_in_place
fromhttp_serve::ChunkedReadFile
rather than hand off to a thread pool. This simplifies theChunkedReadFile
interface. - BREAKING CHANGE: bump minimum Rust version to 1.40.0.
- Convert benchmarks to criterion to support running with stable Rust.
- Upgrade tests to reqwest 0.9 (#13)
- Add Windows support (#10)
- Initial release