5 releases

0.1.4 May 2, 2024
0.1.3 Feb 22, 2024
0.1.2 Feb 20, 2024
0.1.1 Feb 18, 2024
0.1.0 Feb 18, 2024

#33 in #ansi-term

Download history 3178/week @ 2024-02-26 7824/week @ 2024-03-04 6945/week @ 2024-03-11 8296/week @ 2024-03-18 7032/week @ 2024-03-25 7544/week @ 2024-04-01 7344/week @ 2024-04-08 7777/week @ 2024-04-15 6844/week @ 2024-04-22 8022/week @ 2024-04-29 7229/week @ 2024-05-06 7614/week @ 2024-05-13 10079/week @ 2024-05-20 8721/week @ 2024-05-27 9723/week @ 2024-06-03 9874/week @ 2024-06-10

39,359 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

~0.6–7.5MB
~46K SLoC