67 releases

new 0.1.74 Feb 12, 2025
0.1.70 Jan 24, 2025
0.1.66 Dec 31, 2024
0.1.58 Nov 29, 2024
0.1.23 Mar 30, 2024

#1942 in Web programming

Download history 127/week @ 2024-10-27 351/week @ 2024-11-03 77/week @ 2024-11-10 10/week @ 2024-11-17 647/week @ 2024-11-24 205/week @ 2024-12-01 519/week @ 2024-12-08 132/week @ 2024-12-15 37/week @ 2024-12-22 462/week @ 2024-12-29 207/week @ 2025-01-05 6/week @ 2025-01-12 223/week @ 2025-01-19 99/week @ 2025-01-26 87/week @ 2025-02-02 374/week @ 2025-02-09

783 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
~233K SLoC