55 releases

new 0.1.62 Dec 12, 2024
0.1.58 Nov 29, 2024
0.1.46 Jul 27, 2024
0.1.23 Mar 30, 2024

#1969 in Web programming

Download history 3/week @ 2024-08-19 10/week @ 2024-08-26 142/week @ 2024-09-02 81/week @ 2024-09-16 64/week @ 2024-09-23 16/week @ 2024-09-30 4/week @ 2024-10-07 133/week @ 2024-10-21 129/week @ 2024-10-28 389/week @ 2024-11-04 31/week @ 2024-11-11 9/week @ 2024-11-18 742/week @ 2024-11-25 113/week @ 2024-12-02

943 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

~6–16MB
~225K SLoC