Skip to content

textwrap-0.16.0

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Oct 19:40
3c052a0

Version 0.16.0 (2022-10-23)

This release marks Options as non_exhaustive and extends it to make line endings configurable, it adds new fast paths to fill and wrap, and it fixes crashes in unfill and refill.

  • #480: Mark Options as non_exhaustive. This will allow us to extend the struct in the future without breaking backwards compatibility.
  • #478: Add fast paths to fill and wrap. This makes the functions 10-25 times faster when the no wrapping is needed.
  • #468: Fix refill to add back correct line ending.
  • #467: Fix crashes in unfill and refill.
  • #458: Test with Rust 1.56 (first compiler release with support for Rust 2021).
  • #454: Make line endings configurable.
  • #448: Migrate to the Rust 2021 edition.