textwrap v0.8.0 Release Notes

Release Date: 2017-09-04 // over 3 years ago
  • The Wrapper stuct is now generic over the type of word splitter being used. This means less boxing and a nicer API. The ๐Ÿšš Wrapper::word_splitter method has been removed. This is a breaking API change if you used the method to change the word splitter.

    The Wrapper struct has two new methods that will wrap the input text lazily: Wrapper::wrap_iter and Wrapper::into_wrap_iter. Use those if you will be iterating over the wrapped lines one by one.

    • ๐Ÿ›  Fixed [#59][issue-59]: wrap could return an iterator. Thanks @hcpl!
    • Fixed [#81][issue-81]: Set html_root_url.