chore!: remove alias exports DefaultContext and EyreContext (#181)

`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 above mentioned handler aliases.

Closes [#135][135].

[135]: https://github.com/eyre-rs/eyre/issues/135

BREAKING CHANGE: The alias exports are undocumented but nevertheless
part of the crate's public API.
This commit is contained in:
LeoniePhiline
2026-03-22 00:18:43 +01:00
committed by GitHub
parent b9b39c4f4d
commit 182e0747b2

View File

@@ -388,12 +388,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`