Install
anyhow
Flexible concrete Error type built on std::error::Error
1.0.105Latest, 23 Nov 2026
329MDownloads, last 90 days
0Advisories on the latest
1Advisories, all versions
MIT OR Apache-2.0Licence
6.8KStars
5.0/10OpenSSF Scorecard
Source · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| Unsoundness in `Error::downcast_mut()` RUSTSEC-2026-0190 | Fixed in 1.0.103 | 25 Jun 2026 |
In the news
- Error Handling in Rust: From Panic to anyhow and thiserror dev.to, 31 Oct 2025
- Simplifying Rust Error Handling with anyhow dev.to, 30 Apr 2025
- Rust Error Handling Compared: anyhow vs thiserror vs snafu dev.to, 28 Apr 2025
- What is the mechanism behind `anyhow` that lets it store any error, and downcast back? stackoverflow.com, 22 Jan 2025
- How to convert between MyError type and anyhow::Error, and also handle the conversion conflict with std::error::Error? stackoverflow.com, 13 Nov 2024
On Hacker News
- What does it mean to be a programming language, anyhow? (2021) [pdf] 72 points, 13 comments, 22 Aug 2024
- What is parallelism, anyhow? (2009) 34 points, 38 comments, 8 May 2022
- What’s All This Widlar Stuff, Anyhow? (1991) 33 points, 3 comments, 10 Oct 2014
- What Is a Thought Experiment, Anyhow? (2006) [pdf] 25 points, 9 comments, 19 Dec 2016
Sources: crates.io, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.