Skip to content

Releases: sagebind/sluice

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 20 Jun 02:58
3cc12f3

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

Choose a tag to compare

@sagebind sagebind released this 15 Aug 19:32
4391d3d

Changed

  • Replace futures-channel with async-channel for the underlying channel implementation for pipes. This delivers slightly better performance and compile times. (#18, #19)

Race condition bugfix

Choose a tag to compare

@sagebind sagebind released this 30 Jan 18:01
8cc16ad

Fixed

  • Fix panic caused by race condition when writing while dropping reader. (#16)

Dependency trimming

Choose a tag to compare

@sagebind sagebind released this 12 Nov 05:45

Changed

  • Remove the futures-util dependency, which is a bit heavier than desired, and we didn't really need it anyway.

AsyncBufRead and dependency fix

Choose a tag to compare

@sagebind sagebind released this 26 Feb 04:28
3c8f2e1

Added

  • PipeReader now also implements AsyncBufRead.(#8)

Fixed

  • Fix io feature of futures-util missing from dependencies, causing a compile error if the feature was not being implicitly enabled by some other dependency (like dev dependencies). (#10, #11) @ignatenkobrain

Dependency optimizations

Choose a tag to compare

@sagebind sagebind released this 01 Dec 23:55
0166b2a

Changed

  • Do not require default features for futures-util since we do not use them. (#7) @jakobhellermann

Futures upgrade

Choose a tag to compare

@sagebind sagebind released this 07 Nov 17:21

Changed

  • Upgraded from futures-preview to futures 0.3. This is a breaking change.

Bugfix for reading closed pipes

Choose a tag to compare

@sagebind sagebind released this 05 Sep 04:33

Fixed

  • Fix a bug where reading from a pipe after already returning EOF would cause a panic. This was caused by Stream::poll_next used 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

Choose a tag to compare

@sagebind sagebind released this 23 Jul 04:11
9ab0c42

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

Choose a tag to compare

@sagebind sagebind released this 18 Jul 01:12

Added

  • Added Debug implementations for PipeReader and PipeWriter.