textwrap v0.12.0 Release Notes

Release Date: 2020-06-26 // almost 4 years ago
  • โšก๏ธ The code has been updated to the [Rust 2018 edition][rust-2018] and ๐Ÿš€ each new release of textwrap will only support the latest stable ๐Ÿ”– version of Rust. Trying to support older Rust versions is a fool's errand: our dependencies keep releasing new patch versions that require newer and newer versions of Rust.

    The term_size feature has been replaced by terminal_size. The API is unchanged, it is just the name of the Cargo feature that changed.

    The hyphenation feature now only embeds the hyphenation patterns for US-English. This slims down the dependency.

    • ๐Ÿ›  Fixed [#140][issue-140]: Ignore ANSI escape sequences.
    • ๐Ÿ›  Fixed [#158][issue-158]: Unintended wrapping when using external splitter.
    • ๐Ÿ›  Fixed [#177][issue-177]: Update examples to the 2018 edition.