46 releases

new 0.1.53 Nov 9, 2024
0.1.49 Oct 23, 2024
0.1.46 Jul 27, 2024
0.1.23 Mar 30, 2024

#2005 in Web programming

Download history 121/week @ 2024-07-22 34/week @ 2024-07-29 129/week @ 2024-08-12 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

651 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
~226K SLoC