csi_parser-0.1.1 has been yanked.
CSI parser
This is a simple CSI parser that only provides parsing for a subset of common CSI.
This repository was inspired by cansi
If you have additional requirements, feel free to submit a PR (Pull Request)
Please refer to the definition of CSI.
See the rs docs.
Look at progress and contribute on github.
Example
use ;
and you will be got the result:
[Some(31);None;Some(4)m
🌍
[Some(0);None;Nonem
Features
To support the no_std
feature, you simply need to run cargo add --no-default-features -F no_std
to your project.