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"
6
6
name = " ascii"
7
7
readme = " README.md"
8
8
repository = " https://github.com/tomprogrammer/rust-ascii"
9
- version = " 0.9.2 "
9
+ version = " 0.9.3 "
10
10
11
11
[dependencies ]
12
12
quickcheck = { 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
+
1
18
Version 0.9.2 (2019-07-07)
2
19
==========================
3
20
* 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