Skip to content

textwrap-0.6.0

Compare
Choose a tag to compare
@mgeisler mgeisler released this 24 Nov 08:50
· 904 commits to master since this release

Version 0.6.0 adds builder methods to Wrapper for easy one-line initialization and configuration:

let wrapper = Wrapper::new(60).break_words(false);

It also add a new NoHyphenation word splitter that will never split words, not even at existing hyphens.

  • Fixed #28: Support not squeezing whitespace.