Crates.io | sparkly |
lib.rs | sparkly |
version | 0.1.5 |
source | src |
created_at | 2018-01-15 00:03:24.479686 |
updated_at | 2018-05-16 13:08:08.092991 |
description | A pretty-printing library based on Wadler's "A Prettier Printer" with support for ANSI styling. |
homepage | https://github.com/remexre/sparkly-rs |
repository | https://github.com/remexre/sparkly-rs |
max_upload_size | |
id | 46837 |
size | 20,521 |
A pretty-printing library based on Wadler's "A Prettier Printer" with support for ANSI styling.
I'm using this to walk myself through the paper and understand it well enough to implement; plus it doesn't look like there's an existing implementation of this.
termion
: Allows the width and color support of the terminal to be autodetected.
impl Trait
is stabilized, use impl Display
instead of the Display
struct.no_std
support.unicode-width
(&mut Write, &str, Style) -> IoResult<()>
function that uses Windows syscalls there and ANSI everywhere else.Licensed under either of
at your option.
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.