eyre-rust
Installation
SKILL.md
Eyre Rust
Use these conventions for Rust error handling with eyre-rs/eyre. Eyre is a fork of anyhow with support for customized error report handlers. It provides eyre::Report, a trait-object error type for idiomatic error handling and reporting in Rust applications.
Source Baseline
- Prefer released docs from
docs.rs/eyre, crates.io, and the matching GitHub release over older snippets. - Current stable:
eyre 0.6.12. - Eyre is for applications and binaries, not libraries. Library crates should use
thiserroror hand-written error enums.
Cargo.toml
[dependencies]
eyre = "0.6"