zkat/miette
Fancy extension for std::error::Error with pretty, detailed diagnostic printing. observed · 2026-08-28
Health v2 · maintenance only
63/100
- Activity 89
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1857
- days_rel: n/a
- days_push: 69
- n_releases_24m: 0
Adoption not part of the score
2601 stars · 165 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
miette is a Rust diagnostic library that extends std::error::Error with a Diagnostic protocol, derive macros, and pretty, detailed error report printing including source snippets, error codes, and help text. It offers fancy terminal output as well as screen-reader-friendly and customizable printers.
Use cases
- print pretty error diagnostics in a rust cli
- add source code snippets to rust error messages
- define error types with error codes and help text
- replace anyhow with richer error reporting
- make cli errors accessible with screen-reader-friendly output
- attach labels and highlights to source spans in errors
When to choose
- you want compiler-quality, fancy error output for your Rust application or CLI
- you need structured diagnostics with codes, URLs, snippets, and related errors
- you want an ergonomic derive macro and anyhow/eyre-style error handling
When to avoid
- you need minimal dependencies in a small library (the fancy feature pulls in many deps)
- you only need simple error messages without source snippets or styling
- you are not writing Rust
Facets
library · maturity stable
error-handling logging developer-tools developer-tools programming-languages rust cross-platform cli diagnostics error-reporting derive-macro source-snippets terminal-output command-line
10 sources
- readme: https://github.com/zkat/miette · fetched 2026-08-28 · a7d1f9dc836c
- homepage: https://docs.rs/miette · fetched 2026-08-29 · e087b1c4269b
- site_page: https://docs.rs/ · fetched 2026-08-29 · 0aa25b04e401
- site_page: https://docs.rs/crate/miette/latest · fetched 2026-08-29 · 3bdfe0a3f115
- site_page: https://docs.rs/crate/miette/latest/features · fetched 2026-08-29 · bc7da8dfb7a9
- site_page: https://docs.rs/about · fetched 2026-08-29 · 29ab7986fbf5
- site_page: https://docs.rs/about/badges · fetched 2026-08-29 · 6588cac258af
- site_page: https://docs.rs/about/builds · fetched 2026-08-29 · 811231ca4680
- site_page: https://docs.rs/about/metadata · fetched 2026-08-29 · 0dcdccb2b2b2
- site_page: https://docs.rs/about/redirections · fetched 2026-08-29 · 1b1efd93105f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| zkat/miette | main | 63 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem