PackageTrack
Sign in Get early access

failure

Experimental error handling abstraction.

0.1.8 48M downloads/mo #1255 most downloaded on crates.io rust-lang-nursery/failure

What this package is like to depend on

Last release 6 years ago

no release in 18 months

Release timing varies

gaps range from 2 weeks to 10 months

Most releases are documented

notes for 7 of 10 stable releases

Nothing withdrawn

no release was ever pulled

9 years old

10 releases · first in 2017

0 releases in the last 12 months

see the full history below

Release timeline

10 releases · Oct 2017 to May 2020
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 10
  1. 0.1.8 02 May 2020

    Nothing published for this version

  2. 0.1.7 05 Mar 2020

    Nothing published for this version

  3. 0.1.6 11 Oct 2019
    Release notes
    • Update syn, quote, and proc_macro2 dependencies to 1.0.
    • Bump MSRV to 1.31.0.
    Open source →
  4. 0.1.5 02 Jan 2019
    Release notes

    Added missing changelog entry for name

    Open source →
    Release notes
    • Resolve a regression with error conversions (#290)
    • Added name() to Fail and Error
    Open source →
  5. 0.1.4 29 Dec 2018
    Release notes
    • Improved error reporting of the derive feature
    • Resolved a potential internal ambiguity when using the backtrace feature that prevented backtrace from improving an upstream API.
    • Changed the bounds on std error compat conversions through the From trait to take Sync and Send into account.
    Open source →
  6. 0.1.3 20 Oct 2018
    Release notes
    • Added Context::map
    • Fixed a memory leak for older rust versions on error downcast
    Open source →
  7. 0.1.2 01 Aug 2018
    Release notes

    The original plan to release 1.0.0 was changed so that version 0.1.1 is released and a related RFC to fix the error trait is submitted. See README for details.

    • Fix failure_derive to work with Rust 2018.
    • Add #[fail(cause)] that works similarly with #[cause]. The new form is preferred.
    • Fix "backtrace" feature to work without "std" feature.
    • Add Compat::get_ref.
    • Add Fallible.
    • Deprecate Fail::causes and <dyn Fail>::causes in favor of newly added <dyn Fail>::iter_causes.
    • Deprecate Fail::root_cause and <dyn Fail>::root_cause in favor of newly added <dyn Fail>::find_root_cause.
    • Add <dyn Fail>::iter_chain.
    • Implement Box<Fail>: Fail.
    • Add Error::from_boxed_compat.
    • Deprecate Error::cause in favor of newly added Error::as_fail.
    • Deprecate Error::causes in favor of newly added Error::iter_chain.
    • Deprecate Error::root_cause in favor of newly added Error::find_root_cause.
    • Add Error::iter_causes.
    • Implement Error: AsRef<Fail>.
    • Fix Debug implementation of SyncFailure.
    Open source →
  8. 0.1.1 30 Nov 2017
    Release notes
    • Add a Causes iterator, which iterates over the causes of a failure. Can be accessed through the Fail::causes or Error::causes methods.
    • Add the bail! macro, which "throws" from the function.
    • Add the ensure! macro, which is like an "assert" which throws instead of panicking.
    • The derive now supports a no_std mode.
    • The derive is re-exported from failure by default, so that users do not have to directly depend on failure_derive.
    • Add a impl of From<D> for Context<D>, allowing users to ? the D type to produce a Context<D> (for cases where there is no further underlying error).
    Open source →
  9. 0.1.0 16 Nov 2017
    Release notes
    • Initial version.
    Open source →
  10. 0.0.1 08 Oct 2017

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive