AsAsciiStr and AsMutAsciiStr for references to to types that implement them.AsciiExt except is_ascii() available as inherent methods in std-mode.AsRef<u8> for AsciiString.<AsciiStr as AsciiExt>::to_ascii_lowercase did erroneously convert to uppercase.IntoAsciiString for &'a str and &'a [u8].quickcheck::Arbitrary trait for AsciiChar and AsciiString. The implementation is enabled by the quickcheck feature.Chars, CharsMut and Lines iterators.std::fmt::Write for AsciiString.Breaking changes:
FromAsciiError instead of the input when AsciiString::from_ascii() or into_ascii_string() fails.no_std feature with the additive std feature, which is part of the default features. (Issue #29)AsciiChar::is_*() and ::as_{byte,char}() take self by value instead of by reference.Additions:
AsciiChar comparable with char and u8.AsciiChar::as_printable_char() and the free functions caret_encode() and caret_decode().AsciiExt and Error (which are not in libcore) directly in core mode:Ascii{Char,Str}::eq_ignore_ascii_case()AsciiChar::to_ascii_{upper,lower}case()AsciiStr::make_ascii_{upper,lower}case(){ToAsciiChar,AsAsciiStr}Error::description()AsciiExt::to_ascii_lowercase() for AsciiChar converting to uppercase. (introduced in 0.7.0)Ascii to AsciiChar and convert it into an enum. (with a variant for every ASCII character)OwnedAsciiCast with IntoAsciiString.AsciiCast with As[Mut]AsciiStr and IntoAsciiChar.std::error::Error-implementing types instead of () and None when conversion to AsciiStr or AsciiChar fails.AsciiExt without the unstable Cargo feature flag, which is removed.#[no_std] support in a Cargo feature.From<{&,&mut,Box<}AsciiStr> for [Ascii], [u8] and strFrom<{&,&mut,Box<}[Ascii]>, As{Ref,Mut}<[Ascii]> and Default for AsciiStrFrom<Vec<Ascii>> for AsciiString.AsMut<AsciiStr> for AsciiString.Ascii::is_xxx() methods from panicking.Ascii::is_whitespace().AsciiString::as_mut_slice().AsciiString:from_raw_partsas_ptras_mut_ptrAscii::from_byte()AsciiStr::trim[_{left,right}]()Implement IndexMut for AsciiStr and AsciiString.
Ascii::from().Index for AsciiStr and AsciiString.Default,FromIterator,Extend and Add for AsciiStringAsciiString:with_capacitypush_strcapacityreservereserve_exactshrink_to_fitpushtruncatepopremoveinsertlenis_emptyclearFirst release compatible with Rust 1.0.0.