#reporting #pretty #formatting #utilities #code #source #support

codespan-reporting

Diagnostic reporting support for the codespan crate

8 releases

✓ Uses Rust 2018 edition

0.3.0 Apr 30, 2019
0.2.1 Feb 26, 2019
0.2.0 Oct 11, 2018
0.1.4 Aug 20, 2018
0.1.3 Apr 18, 2018
Download history 223/week @ 2019-03-28 261/week @ 2019-04-04 260/week @ 2019-04-11 202/week @ 2019-04-18 250/week @ 2019-04-25 189/week @ 2019-05-02 296/week @ 2019-05-09 472/week @ 2019-05-16 307/week @ 2019-05-23 363/week @ 2019-05-30 380/week @ 2019-06-06 3719/week @ 2019-06-13 3695/week @ 2019-06-20 1385/week @ 2019-06-27 1116/week @ 2019-07-04

1,153 downloads per month
Used in 28 crates (10 directly)

Apache-2.0

69KB
1.5K SLoC

codespan-reporting

Build Status Crates.io Docs.rs Gitter

Diagnostic reporting support for the codespan crate.

Running the CLI example

To get an idea of what the colored CLI output looks like with codespan-reporting, clone the repository and run the following:

cargo run -p codespan-reporting --example=emit
cargo run -p codespan-reporting --example=emit -- --color never

You should see something like the following in your terminal:

screenshot

We're still working on the output - stay tuned for updates!

Dependencies

~1MB
~15K SLoC