From 3042ff47b35fbd54adfd2f73e780452650358817 Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Sun, 27 Feb 2022 14:13:12 +0000 Subject: [PATCH] Bump version to 0.15.0 --- CHANGELOG.md | 7 +++---- Cargo.toml | 2 +- README.md | 2 +- src/lib.rs | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6d9a632..093b9dc2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,16 +32,15 @@ This is a major feature release with two main changes: > = Options::new(80); ``` - is now simply + if types are fully written out, is now simply ```rust let options: Options<'_> = Options::new(80); ``` The anonymous lifetime represent the lifetime of the - `initial_indent` and `subsequent_indent` strings. - - The change is nearly performance neutral (a 1-2% regression). + `initial_indent` and `subsequent_indent` strings. The change is + nearly performance neutral (a 1-2% regression). Smaller improvements and changes: diff --git a/Cargo.toml b/Cargo.toml index 21efc76c..7806ddeb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "textwrap" -version = "0.14.2" +version = "0.15.0" authors = ["Martin Geisler "] description = "Powerful library for word wrapping, indenting, and dedenting strings" documentation = "https://docs.rs/textwrap/" diff --git a/README.md b/README.md index 808d8411..9eeea079 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ drawn on a [HTML5 canvas using WebAssembly][wasm-demo]. To use the textwrap crate, add this to your `Cargo.toml` file: ```toml [dependencies] -textwrap = "0.14" +textwrap = "0.15" ``` By default, this enables word wrapping with support for Unicode diff --git a/src/lib.rs b/src/lib.rs index e915df33..6d68309a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -189,7 +189,7 @@ //! [terminal_size]: https://docs.rs/terminal_size/ //! [hyphenation]: https://docs.rs/hyphenation/ -#![doc(html_root_url = "https://docs.rs/textwrap/0.14.2")] +#![doc(html_root_url = "https://docs.rs/textwrap/0.15.0")] #![forbid(unsafe_code)] // See https://github.com/mgeisler/textwrap/issues/210 #![deny(missing_docs)] #![deny(missing_debug_implementations)]