Skip to content

0.3.0

Choose a tag to compare

@KodrAus KodrAus released this 09 Jul 00:31
b6834a6

Key changes

  • Remove Stream::begin and Stream::end since they rely on callers to be used correctly, and are confusing when thinking about re-usable vs non-re-usable streams.
  • Replace OwnedStream::end with OwnedStream::into_inner, which is infallible.
  • Make the debug-only validation for OwnedStream panic instead of returning an error (but only if the inner stream doesn't error itself).
  • Improve error messages for invalid stream calls.

Contributions