Skip to content

Commit a0dde1f

Browse files
tormolThomas Bahn
authored and
Thomas Bahn
committed
Version 0.9.3
1 parent 7df0dce commit a0dde1f

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "Apache-2.0 / MIT"
66
name = "ascii"
77
readme = "README.md"
88
repository = "https://github.com/tomprogrammer/rust-ascii"
9-
version = "0.9.2"
9+
version = "0.9.3"
1010

1111
[dependencies]
1212
quickcheck = { version = "0.6", optional = true }

RELEASES.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
Version 0.9.3 (2019-08-26)
2+
==========================
3+
4+
Soundness fix:
5+
6+
**Remove** [unsound](https://github.com/tomprogrammer/rust-ascii/issues/64) impls of `From<&mut AsciiStr>` for `&mut [u8]` and `&mut str`.
7+
This is a breaking change, but theese impls can lead to undefined behavior in safe code.
8+
9+
If you use this impl and know that non-ASCII values are never inserted into the `[u8]` or `str`,
10+
you can pin ascii to 0.9.2.
11+
12+
Other changes:
13+
14+
* Make quickcheck `Arbitrary` impl sometimes produce `AsciiChar::DEL`.
15+
* Implement `Clone`, `Copy` and `Eq` for `ToAsciiCharError`.
16+
* Implement `ToAsciiChar` for `u16`, `u32` and `i8`.
17+
118
Version 0.9.2 (2019-07-07)
219
==========================
320
* Implement the `IntoAsciiString` trait for `std::ffi::CStr` and `std::ffi::CString` types,

0 commit comments

Comments
 (0)