61 releases

new 0.1.68 Jan 5, 2025
0.1.66 Dec 31, 2024
0.1.58 Nov 29, 2024
0.1.46 Jul 27, 2024
0.1.23 Mar 30, 2024

#1948 in Web programming

Download history 54/week @ 2024-09-18 38/week @ 2024-09-25 11/week @ 2024-10-02 2/week @ 2024-10-09 139/week @ 2024-10-23 269/week @ 2024-10-30 265/week @ 2024-11-06 11/week @ 2024-11-13 261/week @ 2024-11-20 542/week @ 2024-11-27 86/week @ 2024-12-04 525/week @ 2024-12-11 127/week @ 2024-12-18 250/week @ 2024-12-25 403/week @ 2025-01-01

1,331 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
~231K SLoC