Skip to content

Commit

Permalink
Enable clap's wrap_help feature by default (#9182)
Browse files Browse the repository at this point in the history
* Enable clap's `wrap_help` feature by default

This is similar to bytecodealliance/wasm-tools#1746 which makes the help
text easier to read on various terminal widths.

* Fix `cargo deny`
  • Loading branch information
alexcrichton authored Aug 29, 2024
1 parent 4005a81 commit 9160f69
Show file tree
Hide file tree
Showing 5 changed files with 103 additions and 30 deletions.
102 changes: 72 additions & 30 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ default = [
# cost, so allow disabling this through disabling of our own `default`
# feature.
"clap/default",
"clap/wrap_help",
]

# ========================================
Expand Down
3 changes: 3 additions & 0 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,7 @@ skip-tree = [

# criterion is on old version, will update on next release.
{ name = "itertools" },

# right now terminal_size pulls in an older version of io-lifetimes
{ name = "io-lifetimes" },
]
6 changes: 6 additions & 0 deletions supply-chain/audits.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2593,6 +2593,12 @@ criteria = "safe-to-deploy"
delta = "3.5.0 -> 3.6.0"
notes = "Dependency updates and new optimized trait implementations, but otherwise everything looks normal."

[[audits.terminal_size]]
who = "Alex Crichton <alex@alexcrichton.com>"
criteria = "safe-to-deploy"
delta = "0.1.17 -> 0.2.6"
notes = "Minor updates around using some utilities from the standard library, nothing major."

[[audits.test-log]]
who = "Pat Hickey <phickey@fastly.com>"
criteria = "safe-to-deploy"
Expand Down
21 changes: 21 additions & 0 deletions supply-chain/imports.lock
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,13 @@ user-id = 6825
user-login = "sunfishcode"
user-name = "Dan Gohman"

[[publisher.io-lifetimes]]
version = "1.0.11"
when = "2023-05-24"
user-id = 6825
user-login = "sunfishcode"
user-name = "Dan Gohman"

[[publisher.io-lifetimes]]
version = "2.0.3"
when = "2023-12-01"
Expand Down Expand Up @@ -787,6 +794,13 @@ user-id = 2915
user-login = "Amanieu"
user-name = "Amanieu d'Antras"

[[publisher.linux-raw-sys]]
version = "0.3.8"
when = "2023-05-19"
user-id = 6825
user-login = "sunfishcode"
user-name = "Dan Gohman"

[[publisher.linux-raw-sys]]
version = "0.4.12"
when = "2023-11-30"
Expand Down Expand Up @@ -878,6 +892,13 @@ user-id = 189
user-login = "BurntSushi"
user-name = "Andrew Gallant"

[[publisher.rustix]]
version = "0.37.27"
when = "2023-10-26"
user-id = 6825
user-login = "sunfishcode"
user-name = "Dan Gohman"

[[publisher.rustix]]
version = "0.38.31"
when = "2024-02-01"
Expand Down

0 comments on commit 9160f69

Please sign in to comment.