File tree Expand file tree Collapse file tree 4 files changed +21
-11
lines changed Expand file tree Collapse file tree 4 files changed +21
-11
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ license = "Apache-2.0 OR MIT"
66name = " ascii"
77readme = " README.md"
88repository = " https://github.com/tomprogrammer/rust-ascii"
9- version = " 1.0 .0"
9+ version = " 1.1 .0"
1010
1111[dependencies ]
1212serde = { version = " 1.0.25" , optional = true }
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ dependencies section in `Cargo.toml`:
1010
1111``` toml
1212[dependencies ]
13- ascii = " 1.0 "
13+ ascii = " 1.1 "
1414```
1515
1616## Using ascii without libstd
@@ -30,17 +30,17 @@ just add the following dependency declaration in `Cargo.toml`:
3030
3131``` toml
3232[dependencies ]
33- ascii = { version = " 1.0 " , default-features = false , features = [" alloc" ] }
33+ ascii = { version = " 1.1 " , default-features = false , features = [" alloc" ] }
3434```
3535
3636## Minimum supported Rust version
3737
38- The minimum Rust version for 1.0 .\* releases is 1.33.0 .
38+ The minimum Rust version for 1.1 .\* releases is 1.41.1 .
3939Later 1.y.0 releases might require newer Rust versions, but the three most
4040recent stable releases at the time of publishing will always be supported.
41- For example this means that if the current stable Rust version is 1.38 when
42- ascii 1.1 .0 is released, then ascii 1.1 .\* will not require a newer
43- Rust version than 1.36 .
41+ For example this means that if the current stable Rust version is 1.70 when
42+ ascii 1.2 .0 is released, then ascii 1.2 .\* will not require a newer
43+ Rust version than 1.68 .
4444
4545## History
4646
Original file line number Diff line number Diff line change 1+ Version 1.1.0 (2022-09-12)
2+ ==========================
3+ * Add alloc feature.
4+ This enables ` AsciiString ` and methods that take or return ` Box<[AsciiStr]> ` in ` !#[no_std] ` -mode.
5+ * Add ` AsciiStr::into_ascii_string() ` , ` AsciiString::into_boxed_ascii_str() ` and ` AsciiString::insert_str() ` .
6+ * Implement ` From<Box<AsciiStr>> ` and ` From<AsciiChar> ` for ` AsciiString ` .
7+ * Implement ` From<AsciiString> ` for ` Box<AsciiStr> ` , ` Rc<AsciiStr> ` , ` Arc<AsciiStr> ` and ` Vec<AsciiChar> ` .
8+ * Make ` AsciiString::new() ` , ` AsciiStr::len() ` and ` AsciiStr::is_empty() ` ` const fn ` .
9+ * Require Rust 1.44.1.
10+
111Version 1.0.0 (2019-08-26)
212==========================
313
Original file line number Diff line number Diff line change 1515//!
1616//! # Minimum supported Rust version
1717//!
18- //! The minimum Rust version for 1.0 .\* releases is 1.33.0 .
18+ //! The minimum Rust version for 1.1 .\* releases is 1.41.1 .
1919//! Later 1.y.0 releases might require newer Rust versions, but the three most
2020//! recent stable releases at the time of publishing will always be supported.
21- //! For example this means that if the current stable Rust version is 1.38 when
22- //! ascii 1.1 .0 is released, then ascii 1.1. * will not require a newer
23- //! Rust version than 1.36 .
21+ //! For example this means that if the current stable Rust version is 1.70 when
22+ //! ascii 1.2 .0 is released, then ascii 1.2.\ * will not require a newer
23+ //! Rust version than 1.68 .
2424//!
2525//! # History
2626//!
You can’t perform that action at this time.
0 commit comments