4 releases

0.1.3 Feb 22, 2024
0.1.2 Feb 20, 2024
0.1.1 Feb 18, 2024
0.1.0 Feb 18, 2024

#28 in #ansi-term

Download history 140/week @ 2024-02-12 633/week @ 2024-02-19 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 7074/week @ 2024-04-15

30,011 downloads per month
Used in 4 crates (2 directly)

MIT/Apache

165KB
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

~295KB