Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(color-eyre): add no-export-owo-colors feature #188

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions color-eyre/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ default = ["track-caller", "capture-spantrace"]
capture-spantrace = ["tracing-error", "color-spantrace"]
issue-url = ["url"]
track-caller = []
no-export-owo-colors = []

[dependencies]
eyre = "0.6.1"
Expand Down
1 change: 1 addition & 0 deletions color-eyre/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@
//! [`examples/multiple_errors.rs`]: https://github.com/yaahc/color-eyre/blob/master/examples/multiple_errors.rs
#![doc(html_root_url = "https://docs.rs/color-eyre/0.6.2")]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(

Check warning on line 339 in color-eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (--no-default-features)

unknown lint: `rustdoc::missing_doc_code_examples`

Check warning on line 339 in color-eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (--no-default-features --features track-caller)

unknown lint: `rustdoc::missing_doc_code_examples`

Check warning on line 339 in color-eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (--no-default-features --features auto-install)

unknown lint: `rustdoc::missing_doc_code_examples`

Check warning on line 339 in color-eyre/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite

unknown lint: `rustdoc::missing_doc_code_examples`
missing_docs,
rustdoc::missing_doc_code_examples,
rust_2018_idioms,
Expand Down Expand Up @@ -365,6 +365,7 @@
pub use eyre::Report;
#[doc(hidden)]
pub use eyre::Result;
#[cfg(not(feature = "no-export-owo-colors"))]
pub use owo_colors;
use section::help::HelpInfo;
#[doc(hidden)]
Expand Down
Loading