38 releases

new 0.1.45 Jul 2, 2024
0.1.44 Jun 22, 2024
0.1.38 Apr 28, 2024
0.1.23 Mar 30, 2024
0.1.13 Jan 26, 2024

#1455 in Development tools

Download history 5/week @ 2024-03-14 107/week @ 2024-03-21 183/week @ 2024-03-28 282/week @ 2024-04-04 298/week @ 2024-04-11 753/week @ 2024-04-18 737/week @ 2024-04-25 33/week @ 2024-05-02 8/week @ 2024-05-16 7/week @ 2024-05-23 4/week @ 2024-05-30 6/week @ 2024-06-06 656/week @ 2024-06-13 300/week @ 2024-06-20 105/week @ 2024-06-27

1,069 downloads per month
Used in 3 crates

Apache-2.0

54KB
1K SLoC

This crate provides a custom graphical Miette handler for the Pavex project.

The handler is largely based on the miette::handlers::GraphicalHandler, with one key difference: we only report the code snippets from the related errors associated with a report. We have also done other minor tweaks to the graphical layout to better suit our needs.

This allows us to display snippets that come from different source files, a feature that doesn't have first-class support in miette.
In other words, you can see this custom handler as a "hack" to avoid having to maintain a full fork of miette.

Dependencies

~5–18MB
~220K SLoC