Skip to content

Commit

Permalink
Merge pull request #342 from pacak/is-terminal
Browse files Browse the repository at this point in the history
Stop supporting colored output for legacy rustc
  • Loading branch information
pacak authored Feb 6, 2024
2 parents a86daec + 918324b commit d72135e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ include = [
[dependencies]
bpaf_derive = { path = "./bpaf_derive", version = "=0.5.7", optional = true }
owo-colors = { version = ">=3.5, <5.0", default-features = false, optional = true }
supports-color = { version = "2.0.0", optional = true }
supports-color = { version = ">=2.0.0, <4.0", optional = true }

[dev-dependencies]
bpaf = { path = ".", features = ["derive", "extradocs", "autocomplete", "docgen", "batteries", "dull-color"] }
Expand Down
2 changes: 2 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Change Log

## bpaf [0.9.10] - unreleased
- due to dependency change colored output for legacy version is no longer supported

## bpaf [0.9.9] - 2024-01-17
- fix formatting in ambiguity error message
Expand Down
5 changes: 1 addition & 4 deletions legacy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
bpaf = { path = "../", features = ["derive", "autocomplete", "dull-color", "docgen"] }
bpaf = { path = "../", features = ["derive", "autocomplete", "docgen"] }
bpaf_derive = { path = "../bpaf_derive" }
rustix = "=0.37.19"
linux-raw-sys = "=0.3.8"
is-terminal = "=0.4.7"

[workspace]

0 comments on commit d72135e

Please sign in to comment.