71 releases

0.1.78 Mar 1, 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

#1933 in Web programming

Download history 10/week @ 2024-11-16 594/week @ 2024-11-23 251/week @ 2024-11-30 480/week @ 2024-12-07 88/week @ 2024-12-14 127/week @ 2024-12-21 441/week @ 2024-12-28 226/week @ 2025-01-04 9/week @ 2025-01-11 196/week @ 2025-01-18 58/week @ 2025-01-25 148/week @ 2025-02-01 368/week @ 2025-02-08 114/week @ 2025-02-15 388/week @ 2025-02-22 213/week @ 2025-03-01

1,087 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

~7–16MB
~238K SLoC