Skip to content
Draft
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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ jobs:
features:
- # default
- --no-default-features
- --features track-caller
- --features pyo3
- --features auto-install
- --features unstable track-caller
- --features unstable pyo3
- --features unstable auto-install
- --all-features
steps:
- uses: actions/checkout@v1
Expand Down
6 changes: 6 additions & 0 deletions color-spantrace/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ repository = { workspace = true }
readme = { workspace = true }
rust-version = { workspace = true }

[features]
default = ["auto-install", "track-caller"]
auto-install = []
track-caller = []
unstable = []

[dependencies]
tracing-error = "0.2.0"
tracing-core = "0.1.21"
Expand Down
3 changes: 1 addition & 2 deletions color-spantrace/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,10 @@
//! [`color-backtrace`]: https://github.com/athre0z/color-backtrace
#![doc(html_root_url = "https://docs.rs/color-spantrace/0.2.0")]
#![cfg_attr(
nightly,
all(nightly, feature = "unstable"),
feature(rustdoc_missing_doc_code_examples),
warn(rustdoc::missing_doc_code_examples)
)]
#![cfg_attr(stable, warn(private_in_public))]
#![warn(
missing_debug_implementations,
missing_docs,
Expand Down
1 change: 1 addition & 0 deletions eyre/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ rust-version = { workspace = true }
default = ["auto-install", "track-caller"]
auto-install = []
track-caller = []
unstable = []

[dependencies]
indenter = { workspace = true }
Expand Down
3 changes: 1 addition & 2 deletions eyre/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,11 +316,10 @@
//! [`color-backtrace`]: https://github.com/athre0z/color-backtrace
#![doc(html_root_url = "https://docs.rs/eyre/0.6.8")]
#![cfg_attr(
nightly,
all(nightly, feature = "unstable"),
feature(rustdoc_missing_doc_code_examples),
warn(rustdoc::missing_doc_code_examples)
)]
#![cfg_attr(stable, warn(private_in_public))]
#![warn(
missing_debug_implementations,
missing_docs,
Expand Down
2 changes: 1 addition & 1 deletion eyre/tests/compiletest.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#[rustversion::attr(not(nightly), ignore)]
#[cfg_attr(any(not(nightly), not(feature = "unstable")), ignore)]
#[cfg_attr(miri, ignore)]
#[test]
fn ui() {
Expand Down