Skip to content

Commit

Permalink
fix(features): Use dep: syntax for dependencies in features. (#394)
Browse files Browse the repository at this point in the history
This prevents creating implicit features for them which can be
confusing (and duplicates features).
  • Loading branch information
waywardmonkeys authored Sep 25, 2024
1 parent 21e9a70 commit 789a04e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,24 +46,24 @@ strip-ansi-escapes = "0.2.0"

[features]
default = ["derive"]
derive = ["miette-derive"]
derive = ["dep:miette-derive"]
no-format-args-capture = []
fancy-base = [
"owo-colors",
"textwrap",
"dep:owo-colors",
"dep:textwrap",
]
fancy-no-syscall = [
"fancy-base",
]
fancy-no-backtrace = [
"fancy-base",
"terminal_size",
"supports-hyperlinks",
"supports-color",
"supports-unicode",
"dep:terminal_size",
"dep:supports-hyperlinks",
"dep:supports-color",
"dep:supports-unicode",
]
fancy = ["fancy-no-backtrace", "backtrace", "backtrace-ext"]
syntect-highlighter = ["fancy-no-backtrace", "syntect"]
fancy = ["fancy-no-backtrace", "dep:backtrace", "dep:backtrace-ext"]
syntect-highlighter = ["fancy-no-backtrace", "dep:syntect"]

[workspace]
members = ["miette-derive"]
Expand Down

0 comments on commit 789a04e

Please sign in to comment.