Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

[DRAFT] Expose eyre features as color-eyre features #142

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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
7 changes: 5 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ categories = []
keywords = []

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
default = ["track-caller", "capture-spantrace", "auto-install", "track-caller"]
default = ["auto-install", "capture-spantrace", "track-caller"]

"track-caller" was in there twice. It's easier to spot in alphabetic order.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eyre-rs/eyre#138 introduces "anyhow" as new eyre default feature flag.

eyre-rs/eyre#136 intends to make the new "anyhow" feature non-default in a breaking release.

capture-spantrace = ["tracing-error", "color-spantrace"]
issue-url = ["url"]
track-caller = []
track-caller = ["eyre/track-caller"]
auto-install = ["eyre/auto-install"]
pyo3 = ["eyre/pyo3"]


[dependencies]
eyre = "0.6.1"
Expand Down
Loading