textwrap v0.7.0 Release NotesRelease Date: 2017-07-20 // over 3 years ago
🔖 Version 0.7.0 changes the return type of
Vec<Cow<'a, str>>. This means that the output lines 💥 borrow data from the input string. This is a breaking API change if you relied on the exact return type of
Wrapper::wrap. Callers of the 👀
textwrap::fillconvenience function will see no breakage.
The above change and other optimizations makes version 0.7.0 roughly 15-30% faster than version 0.6.0.
squeeze_whitespaceoption has been removed since it was complicating the above optimization. Let us know if this option is ↪ important for you so we can provide a work around.
- 🛠 Fixed [#58][issue-58]: Add a "fast_wrap" function.
- 🛠 Fixed [#61][issue-61]: Documentation errors.