mirror of
https://github.com/eyre-rs/eyre.git
synced 2026-04-12 16:54:33 +00:00
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:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user