textwrap-0.16.0
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
asnon_exhaustive
. This will allow us to extend the struct in the future without breaking backwards compatibility. - #478: Add fast paths to
fill
andwrap
. 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
andrefill
. - #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.