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

#1116 in Command-line interface

Download history 8933/week @ 2024-08-22 8409/week @ 2024-08-29 9543/week @ 2024-09-05 8594/week @ 2024-09-12 9666/week @ 2024-09-19 10304/week @ 2024-09-26 9458/week @ 2024-10-03 10540/week @ 2024-10-10 8946/week @ 2024-10-17 9590/week @ 2024-10-24 9798/week @ 2024-10-31 9547/week @ 2024-11-07 9261/week @ 2024-11-14 10088/week @ 2024-11-21 9791/week @ 2024-11-28 9235/week @ 2024-12-05

40,049 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