Skip to content

Commit

Permalink
Use dep: syntax for dependencies in features.
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 committed Aug 6, 2024
1 parent bf5aa37 commit dff14bc
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 dff14bc

Please sign in to comment.