Releases: sagebind/sluice
Releases · sagebind/sluice
v0.6.0
This version increases the MSRV from 1.66 to 1.74.
Dependencies
- Bump criterion from 0.5.1 to 0.6.0 (#26)
- Bump quickcheck_macros from 1.0.0 to 1.1.0 (#25)
- Upgrade async-channel to v2 (#23)
- Update criterion requirement from 0.3 to 0.5 (#21)
Other
- Set up release-plz to automate new releases
- Fix copypasta
- Fix CI badge
- Update edition and set MSRV to 1.66 (#22)
Update underlying channel implementation
Race condition bugfix
Fixed
- Fix panic caused by race condition when writing while dropping reader. (#16)
Dependency trimming
Changed
- Remove the
futures-utildependency, which is a bit heavier than desired, and we didn't really need it anyway.
AsyncBufRead and dependency fix
Dependency optimizations
Changed
- Do not require default features for
futures-utilsince we do not use them. (#7) @jakobhellermann
Futures upgrade
Changed
- Upgraded from futures-preview to futures 0.3. This is a breaking change.
Bugfix for reading closed pipes
Fixed
- Fix a bug where reading from a pipe after already returning EOF would cause a panic. This was caused by
Stream::poll_nextused internally in the chunked implementation panicking after returning the final stream item, which it is allowed to do according to the current documentation. (#6)
Minor optimizations
Improvements
- Sluice now only depends on the futures sub-crates that it actually uses.
- Add a slight optimization to the chunked pipe writer that checks if the pipe is closed first before writing. Before the optimization, we were first copying the entire write buffer to the pipe, and then discovering that the pipe is closed and returning an error.
Implement Debug for reader and writer
Added
- Added
Debugimplementations forPipeReaderandPipeWriter.