no_std
Add `std` default feature Only implement for String if `std` is enabled Replace std Vec with heapless
This commit is contained in:
@@ -13,6 +13,7 @@ impl AnsiParser for str {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "std", test))]
|
||||
impl AnsiParser for String {
|
||||
fn ansi_parse(&self) -> AnsiParseIterator<'_> {
|
||||
AnsiParseIterator {
|
||||
|
Reference in New Issue
Block a user