diff --git a/Cargo.toml b/Cargo.toml index 44f905b6..6d98e952 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "textwrap" -version = "0.9.0" +version = "0.10.0" authors = ["Martin Geisler "] description = """ Textwrap is a small library for word wrapping, indenting, and diff --git a/README.md b/README.md index 83ff31d3..71489eb1 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ the [Python textwrap module][py-textwrap]. Add this to your `Cargo.toml`: ```toml [dependencies] -textwrap = "0.9" +textwrap = "0.10" ``` and this to your crate root: @@ -27,7 +27,7 @@ If you would like to have automatic hyphenation, specify the dependency as: ```toml [dependencies] -textwrap = { version = "0.9", features = ["hyphenation"] } +textwrap = { version = "0.10", features = ["hyphenation"] } ``` To conveniently wrap text at the current terminal width, enable the @@ -35,7 +35,7 @@ To conveniently wrap text at the current terminal width, enable the ```toml [dependencies] -textwrap = { version = "0.9", features = ["term_size"] } +textwrap = { version = "0.10", features = ["term_size"] } ``` ## Documentation @@ -181,7 +181,7 @@ cost abstractions. This section lists the largest changes per release. -### Unreleased +### Version 0.10.0 — April 28th, 2018 Due to our dependencies bumping their minimum supported version of Rust, the minimum version of Rust we test against is now 1.17.0. @@ -206,8 +206,7 @@ Added a regression test for the case where `width` is set to Issues closed: -* Fixed [#101][issue-101]: Remove `term_size` as a (hard required) - dependency. +* Fixed [#101][issue-101]: Make `term_size` an optional dependency. ### Version 0.8.0 — September 4th, 2017 diff --git a/src/lib.rs b/src/lib.rs index abc4fd64..1cee8209 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -41,7 +41,7 @@ //! //! [unicode-width]: https://docs.rs/unicode-width/ -#![doc(html_root_url = "https://docs.rs/textwrap/0.9.0")] +#![doc(html_root_url = "https://docs.rs/textwrap/0.10.0")] #![deny(missing_docs)] #![deny(missing_debug_implementations)]