diff --git a/README.md b/README.md index 31e25a9..29f1674 100644 --- a/README.md +++ b/README.md @@ -205,12 +205,12 @@ vice-versa by `re-exporting` all of the renamed APIs with the names used in ### Disabling the compatibility layer -The `anyhow` compatibility layer is enabled by default. -If you do not need anyhow compatibility, it is advisable -to disable the `"anyhow"` feature: +The `anyhow` compatibility layer is disabled by default. +If you need anyhow compatibility, it is advisable +to enable the `"anyhow"` feature: ```toml -eyre = { version = "0.6", default-features = false, features = ["auto-install", "track-caller"] } +eyre = { version = "0.6", features = ["anyhow"] } ``` ### `Context` and `Option` diff --git a/eyre/Cargo.toml b/eyre/Cargo.toml index 5ea7eaf..7030a66 100644 --- a/eyre/Cargo.toml +++ b/eyre/Cargo.toml @@ -13,7 +13,7 @@ readme = { workspace = true } rust-version = { workspace = true } [features] -default = ["anyhow", "auto-install", "track-caller"] +default = ["auto-install", "track-caller"] anyhow = [] auto-install = [] track-caller = [] diff --git a/eyre/src/lib.rs b/eyre/src/lib.rs index 93ec747..1b599d9 100644 --- a/eyre/src/lib.rs +++ b/eyre/src/lib.rs @@ -267,12 +267,12 @@ //! //! ### Disabling the compatibility layer //! -//! The `anyhow` compatibility layer is enabled by default. -//! If you do not need anyhow compatibility, it is advisable -//! to disable the `"anyhow"` feature: +//! The `anyhow` compatibility layer is disabled by default. +//! If you need anyhow compatibility, it is advisable +//! to enable the `"anyhow"` feature: //! //! ```toml -//! eyre = { version = "0.6", default-features = false, features = ["auto-install", "track-caller"] } +//! eyre = { version = "0.6", features = ["anyhow"] } //! ``` //! //! ### `Context` and `Option`