6 releases

new 0.1.5 Jul 25, 2024
0.1.4 May 2, 2024
0.1.3 Feb 22, 2024

#28 in #ansi-term

Download history 7342/week @ 2024-04-04 7684/week @ 2024-04-11 7464/week @ 2024-04-18 7338/week @ 2024-04-25 7564/week @ 2024-05-02 7488/week @ 2024-05-09 8859/week @ 2024-05-16 9612/week @ 2024-05-23 8998/week @ 2024-05-30 9967/week @ 2024-06-06 11304/week @ 2024-06-13 10717/week @ 2024-06-20 9946/week @ 2024-06-27 10576/week @ 2024-07-04 9897/week @ 2024-07-11 8152/week @ 2024-07-18

39,791 downloads per month
Used in 8 crates (2 directly)

MIT/Apache

175KB
3.5K SLoC

anstyle-svg

Convert ANSI escape codes to SVG

Documentation License Crates Status

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


lib.rs:

Convert ANSI escape codes to SVG

See Term

Example

let vte = std::fs::read_to_string("tests/rainbow.vte").unwrap();
let svg = Term::new().render_svg(&vte);

demo of supported styles

Dependencies

~615KB