Skip to content

Release 1.1 #90

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies section in `Cargo.toml`:

```toml
[dependencies]
ascii = "1.0"
ascii = "1.1"
```

## Using ascii without libstd
Expand All @@ -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

Expand Down
10 changes: 10 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -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<Box<AsciiStr>>` and `From<AsciiChar>` for `AsciiString`.
* Implement `From<AsciiString>` for `Box<AsciiStr>`, `Rc<AsciiStr>`, `Arc<AsciiStr>` and `Vec<AsciiChar>`.
* Make `AsciiString::new()`, `AsciiStr::len()` and `AsciiStr::is_empty()` `const fn`.
* Require Rust 1.44.1.

Version 1.0.0 (2019-08-26)
==========================

Expand Down
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
//!
Expand Down