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
30,011 downloads per month
Used in 4 crates
(2 directly)
165KB
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
~295KB