8 releases

0.1.7 Oct 24, 2024
0.1.6 Oct 10, 2024
0.1.5 Jul 25, 2024
0.1.4 May 2, 2024
0.1.3 Feb 22, 2024

#1118 in Command-line interface

Download history 9900/week @ 2024-07-21 7893/week @ 2024-07-28 8134/week @ 2024-08-04 7378/week @ 2024-08-11 9208/week @ 2024-08-18 8323/week @ 2024-08-25 9317/week @ 2024-09-01 8431/week @ 2024-09-08 8901/week @ 2024-09-15 10869/week @ 2024-09-22 9595/week @ 2024-09-29 10381/week @ 2024-10-06 9677/week @ 2024-10-13 8903/week @ 2024-10-20 10459/week @ 2024-10-27 9120/week @ 2024-11-03

39,542 downloads per month
Used in 13 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

~2MB
~28K SLoC