File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed
Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ license = "Apache-2.0 / MIT"
66name = " ascii"
77readme = " README.md"
88repository = " https://github.com/tomprogrammer/rust-ascii"
9- version = " 0.9.2 "
9+ version = " 0.9.3 "
1010
1111[dependencies ]
1212quickcheck = { version = " 0.6" , optional = true }
Original file line number Diff line number Diff line change 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+
118Version 0.9.2 (2019-07-07)
219==========================
320* Implement the ` IntoAsciiString ` trait for ` std::ffi::CStr ` and ` std::ffi::CString ` types,
You can’t perform that action at this time.
0 commit comments