Skip to content

Commit

Permalink
chore!: remove alias exports DefaultContext and EyreContext
Browse files Browse the repository at this point in the history
`DefaultContext` and `EyreContext` exist as
alias exports enabled by the `anyhow` feature.

However, they are unused within `eyre`; neither
are handlers of such names exposed by `anyhow`.

This changeset removes both handler aliases.

Closes [#135][135].

[135]: #135

BREAKING CHANGE: The alias exports are undocumented
                 but nevertheless part of the
                 crate's public API.
  • Loading branch information
LeoniePhiline committed Jun 28, 2024
1 parent 9498677 commit 2dbd5b1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions eyre/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -389,12 +389,6 @@ pub use eyre as format_err;
pub use eyre as anyhow;
use once_cell::sync::OnceCell;
use ptr::OwnedPtr;
#[cfg(feature = "anyhow")]
#[doc(hidden)]
pub use DefaultHandler as DefaultContext;
#[cfg(feature = "anyhow")]
#[doc(hidden)]
pub use EyreHandler as EyreContext;
#[doc(hidden)]
pub use Report as ErrReport;
/// Compatibility re-export of `Report` for interop with `anyhow`
Expand Down

0 comments on commit 2dbd5b1

Please sign in to comment.