eyre
Flexible concrete Error Reporting type built on std::error::Error with customizable Reports
0.6.14
108M downloads/mo
#770 most downloaded on crates.io
eyre-rs/eyre
What this package is like to depend on
Last release 12 days ago
11 Aug 2026
Ships unpredictably
gaps range from 2 weeks to 2.5 years
Some releases are documented
notes for 11 of 31 stable releases
2 versions withdrawn
withdrawn after publishing
7 years old
34 releases · first in 2020
2 releases in the last 12 months
see the full history below
Release timeline
34 releases · Feb 2020 to Aug 2026Releases
latest 34-
0.6.1411 Aug 2026Nothing published for this version
-
0.6.1311 Aug 2026 withdrawnRelease notes
Open source →Fixed
- Don't evaluate 1-argument
ensure!condition twice by DaniPopes - Make
ContextCompatconsistent and non-ambiguous withWrapErrby ten3roberts - Fix compile probe and nightly backtraces by ten3roberts
- Eliminate pointer->reference->pointer during downcast by dfoxfranke
- Don't emit trailing semicolon from
bail!by phil-opp
Added
- Feature flag for
anyhowcompatibility traits (enabled by default) by LeoniePhiline - Add default type parameter value of
T = ()toeyre::Result<T>by nik-rev - Use std
backtraceonstableby mitch9654
- Don't evaluate 1-argument
-
0.6.1231 Jan 2024Release notes
Open source →Fixed
- Unsound cast to invalid type during Report downcast by ten3roberts
-
0.6.1113 Dec 2023Release notes
Open source →Fixed
- stale references to
Errorin docstrings by birkenfeld
Added
- one-argument ensure!($expr) by sharnoff
- documentation on the performance characteristics of
wrap_errvswrap_err_withby akshayknarayan- tl;dr:
wrap_err_withis faster unless the constructed error object already exists
- tl;dr:
automated conversion to external errors for ensure! and bail! by j-bakerbreaking change: shelved for next major release- eyre::Ok for generating eyre::Ok() without fully specifying the type by kylewlacy
OptionExt::ok_or_eyrefor yielding staticReports fromNoneby LeoniePhiline
New Contributors
- @sharnoff made their first contribution in https://github.com/eyre-rs/eyre/pull/86
- @akshayknarayan made their first contribution in https://github.com/eyre-rs/eyre/pull/93
- @j-baker made their first contribution in https://github.com/eyre-rs/eyre/pull/95
- @kylewlacy made their first contribution in https://github.com/eyre-rs/eyre/pull/91
- @LeoniePhiline made their first contribution in https://github.com/eyre-rs/eyre/pull/129
## [0.6.10] - 2023-12-07Yanked - stale references to
-
0.6.1008 Dec 2023 withdrawnNothing published for this version
-
0.6.917 Nov 2023Release notes
Open source →Fixed
- stacked borrows when dropping by TimDiekmann
- miri validation errors through now stricter provenance by ten3roberts
- documentation on no_std support by thenorili
Added
- monorepo for eyre-related crates by pksunkara, [2][3]
- CONTRIBUTING.md by yaahc
-
0.6.804 Apr 2022Release notes
Open source →Added
#[must_use]toReportmust-installfeature to help reduce binary sizes when using a customEyreHandler
-
0.6.725 Feb 2022Release notes
Open source →Fixed
- missing track_caller annotation to new format arg capture constructor
-
0.6.619 Jan 2022 -
0.6.505 Jan 2021 -
0.6.404 Jan 2021Release notes
Open source →Fixed
- missing track_caller annotations to
wrap_errrelated trait methods
- missing track_caller annotations to
-
0.6.310 Nov 2020Release notes
Open source →Fixed
- missing track_caller annotation to autoref specialization functions
-
0.6.227 Oct 2020 -
0.6.129 Sep 2020Release notes
Open source →Added
- support for track_caller on rust versions where it is available
<!-- next-url --> [Unreleased]: https://github.com/eyre-rs/eyre/compare/v0.6.11...HEAD [0.6.11]: https://github.com/eyre-rs/eyre/compare/v0.6.9...v0.6.11 [0.6.9]: https://github.com/eyre-rs/eyre/compare/v0.6.8...v0.6.9 [0.6.8]: https://github.com/eyre-rs/eyre/compare/v0.6.7...v0.6.8 [0.6.7]: https://github.com/eyre-rs/eyre/compare/v0.6.6...v0.6.7 [0.6.6]: https://github.com/eyre-rs/eyre/compare/v0.6.5...v0.6.6 [0.6.5]: https://github.com/eyre-rs/eyre/compare/v0.6.4...v0.6.5 [0.6.4]: https://github.com/eyre-rs/eyre/compare/v0.6.3...v0.6.4 [0.6.3]: https://github.com/eyre-rs/eyre/compare/v0.6.2...v0.6.3 [0.6.2]: https://github.com/eyre-rs/eyre/compare/v0.6.1...v0.6.2 [0.6.1]: https://github.com/eyre-rs/eyre/releases/tag/v0.6.1
Release notes
Open source →Added
- support for track_caller on rust versions where it is available
<!-- next-url --> [Unreleased]: https://github.com/eyre-rs/eyre/compare/v0.6.13...HEAD [0.6.13]: https://github.com/eyre-rs/eyre/compare/v0.6.12...v0.6.13 [0.6.12]: https://github.com/eyre-rs/eyre/compare/v0.6.11...v0.6.12 [0.6.11]: https://github.com/eyre-rs/eyre/compare/v0.6.9...v0.6.11 [0.6.9]: https://github.com/eyre-rs/eyre/compare/v0.6.8...v0.6.9 [0.6.8]: https://github.com/eyre-rs/eyre/compare/v0.6.7...v0.6.8 [0.6.7]: https://github.com/eyre-rs/eyre/compare/v0.6.6...v0.6.7 [0.6.6]: https://github.com/eyre-rs/eyre/compare/v0.6.5...v0.6.6 [0.6.5]: https://github.com/eyre-rs/eyre/compare/v0.6.4...v0.6.5 [0.6.4]: https://github.com/eyre-rs/eyre/compare/v0.6.3...v0.6.4 [0.6.3]: https://github.com/eyre-rs/eyre/compare/v0.6.2...v0.6.3 [0.6.2]: https://github.com/eyre-rs/eyre/compare/v0.6.1...v0.6.2 [0.6.1]: https://github.com/eyre-rs/eyre/releases/tag/v0.6.1
-
0.6.1-rc.129 Sep 2020 pre-releaseNothing published for this version
-
0.6.006 Jul 2020Nothing published for this version
-
0.5.021 Jun 2020Nothing published for this version
-
0.4.302 Jun 2020Nothing published for this version
-
0.4.217 May 2020Nothing published for this version
-
0.4.107 May 2020Nothing published for this version
-
0.4.004 May 2020Nothing published for this version
-
0.3.1003 May 2020Nothing published for this version
-
0.3.903 May 2020Nothing published for this version
-
0.3.813 Apr 2020Nothing published for this version
-
0.3.707 Apr 2020Nothing published for this version
-
0.3.607 Apr 2020Nothing published for this version
-
0.3.506 Mar 2020Nothing published for this version
-
0.3.406 Mar 2020Nothing published for this version
-
0.3.305 Mar 2020Nothing published for this version
-
0.3.205 Mar 2020Nothing published for this version
-
0.3.105 Mar 2020Nothing published for this version
-
0.3.029 Feb 2020Nothing published for this version
-
0.2.028 Feb 2020Nothing published for this version
-
0.1.005 Feb 2020Nothing published for this version