Skip to content

Commit

Permalink
Enable clap's wrap_help feature, which was the behavior before migrat…
Browse files Browse the repository at this point in the history
…ing to clap 4.2
  • Loading branch information
dimo414 committed Apr 13, 2023
1 parent 594974c commit 9e0f9ef
Show file tree
Hide file tree
Showing 2 changed files with 214 additions and 3 deletions.
209 changes: 208 additions & 1 deletion Cargo.lock

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

8 changes: 6 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "bkt"
# When updating the version number tag the commit in git
# https://rust-lang.github.io/api-guidelines/documentation.html#release-notes-document-all-significant-changes-c-relnotes
version = "0.6.0"
version = "0.6.1"
authors = ["Michael Diamond <dimo414@gmail.com>"]
description = "CLI and Rust library for caching subprocess invocations"
repository = "http://github.com/dimo414/bkt"
Expand All @@ -25,11 +25,15 @@ debug = ['serde_json']
[dependencies]
anyhow = "1.0"
bincode = "1.3.1"
clap = { version = "4.2", default-features = false, features = ["std", "help", "usage", "error-context", "derive", "env"] }
humantime = "2.1.0"
rand = "0.8"
serde = { version = "1.0", features = ["derive"] }

[dependencies.clap]
version = "4.2"
default-features = false
features = ["derive", "env", "error-context", "help", "std", "usage", "wrap_help"]

[dependencies.serde_json]
optional = true
version = "1.0"
Expand Down

0 comments on commit 9e0f9ef

Please sign in to comment.