diff --git a/Cargo.toml b/Cargo.toml index c09e985..8ec25de 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ license = "Apache-2.0 OR MIT" name = "ascii" readme = "README.md" repository = "https://github.com/tomprogrammer/rust-ascii" -version = "1.0.0" +version = "1.1.0" [dependencies] serde = { version = "1.0.25", optional = true } diff --git a/README.md b/README.md index b7dc1bb..690fd59 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ dependencies section in `Cargo.toml`: ```toml [dependencies] -ascii = "1.0" +ascii = "1.1" ``` ## Using ascii without libstd @@ -30,17 +30,17 @@ just add the following dependency declaration in `Cargo.toml`: ```toml [dependencies] -ascii = { version = "1.0", default-features = false, features = ["alloc"] } +ascii = { version = "1.1", default-features = false, features = ["alloc"] } ``` ## Minimum supported Rust version -The minimum Rust version for 1.0.\* releases is 1.33.0. +The minimum Rust version for 1.1.\* releases is 1.41.1. Later 1.y.0 releases might require newer Rust versions, but the three most recent stable releases at the time of publishing will always be supported. -For example this means that if the current stable Rust version is 1.38 when -ascii 1.1.0 is released, then ascii 1.1.\* will not require a newer -Rust version than 1.36. +For example this means that if the current stable Rust version is 1.70 when +ascii 1.2.0 is released, then ascii 1.2.\* will not require a newer +Rust version than 1.68. ## History diff --git a/RELEASES.md b/RELEASES.md index 7ffd016..aa10578 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,13 @@ +Version 1.1.0 (2022-09-18) +========================== +* Add alloc feature. + This enables `AsciiString` and methods that take or return `Box<[AsciiStr]>` in `!#[no_std]`-mode. +* Add `AsciiStr::into_ascii_string()`, `AsciiString::into_boxed_ascii_str()` and `AsciiString::insert_str()`. +* Implement `From>` and `From` for `AsciiString`. +* Implement `From` for `Box`, `Rc`, `Arc` and `Vec`. +* Make `AsciiString::new()`, `AsciiStr::len()` and `AsciiStr::is_empty()` `const fn`. +* Require Rust 1.44.1. + Version 1.0.0 (2019-08-26) ========================== diff --git a/src/lib.rs b/src/lib.rs index e62c02c..5eacc16 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,12 +15,12 @@ //! //! # Minimum supported Rust version //! -//! The minimum Rust version for 1.0.\* releases is 1.33.0. +//! The minimum Rust version for 1.1.\* releases is 1.41.1. //! Later 1.y.0 releases might require newer Rust versions, but the three most //! recent stable releases at the time of publishing will always be supported. -//! For example this means that if the current stable Rust version is 1.38 when -//! ascii 1.1.0 is released, then ascii 1.1.* will not require a newer -//! Rust version than 1.36. +//! For example this means that if the current stable Rust version is 1.70 when +//! ascii 1.2.0 is released, then ascii 1.2.\* will not require a newer +//! Rust version than 1.68. //! //! # History //!