31 releases

new 0.1.38 Apr 28, 2024
0.1.37 Apr 27, 2024
0.1.23 Mar 30, 2024
0.1.21 Feb 26, 2024
0.1.13 Jan 26, 2024

#1559 in Development tools

Download history 16/week @ 2024-01-16 9/week @ 2024-01-23 23/week @ 2024-01-30 15/week @ 2024-02-06 3/week @ 2024-02-13 257/week @ 2024-02-20 174/week @ 2024-02-27 4/week @ 2024-03-05 10/week @ 2024-03-12 101/week @ 2024-03-19 165/week @ 2024-03-26 178/week @ 2024-04-02 157/week @ 2024-04-09 1001/week @ 2024-04-16 671/week @ 2024-04-23

2,015 downloads per month
Used in 2 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–15MB
~210K SLoC