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
40,049 downloads per month
Used in 13 crates
(2 directly)
175KB
3.5K
SLoC
anstyle-svg
Convert ANSI escape codes to SVG
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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);
Dependencies
~2MB
~28K SLoC