From bbbec14e9dd8ca910766d9f4daa20a3f5dbd133c Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 29 Jan 2023 14:22:35 -0800 Subject: [PATCH] Release 2.0.0 --- Cargo.toml | 4 ++-- README.md | 2 +- src/lib.rs | 2 +- unindent/Cargo.toml | 2 +- unindent/src/lib.rs | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 871aae1..ed7f70c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "indoc" -version = "1.0.9" +version = "2.0.0" authors = ["David Tolnay "] categories = ["rust-patterns", "text-processing", "no-std"] description = "Indented document literals" @@ -18,7 +18,7 @@ doc-scrape-examples = false [dev-dependencies] rustversion = "1.0" trybuild = { version = "1.0.49", features = ["diff"] } -unindent = { version = "0.1.9", path = "unindent" } +unindent = { version = "0.2", path = "unindent" } [workspace] members = ["unindent"] diff --git a/README.md b/README.md index 391e159..d0931f3 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ time so the leftmost non-space character is in the first column. ```toml [dependencies] -indoc = "1.0" +indoc = "2" ``` *Compiler requirement: rustc 1.56 or greater.* diff --git a/src/lib.rs b/src/lib.rs index c5de6b0..5259ca0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -12,7 +12,7 @@ //! //! ```toml //! [dependencies] -//! indoc = "1.0" +//! indoc = "2" //! ``` //! //!
diff --git a/unindent/Cargo.toml b/unindent/Cargo.toml index 6ab765c..661b47b 100644 --- a/unindent/Cargo.toml +++ b/unindent/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unindent" -version = "0.1.11" # remember to update html_root_url +version = "0.2.0" # remember to update html_root_url authors = ["David Tolnay "] categories = ["text-processing"] description = "Remove a column of leading whitespace from a string" diff --git a/unindent/src/lib.rs b/unindent/src/lib.rs index cb5a4ef..91a5bce 100644 --- a/unindent/src/lib.rs +++ b/unindent/src/lib.rs @@ -45,7 +45,7 @@ //! } //! ``` -#![doc(html_root_url = "https://docs.rs/unindent/0.1.11")] +#![doc(html_root_url = "https://docs.rs/unindent/0.2.0")] #![allow( clippy::missing_panics_doc, clippy::module_name_repetitions,