Enable the strucopt/clap warp help feature

This commit is contained in:
Kerollmops 2020-10-06 13:06:22 +02:00
parent a2182e68a6
commit 4b819457c9
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4
2 changed files with 13 additions and 1 deletions

12
Cargo.lock generated
View File

@ -237,6 +237,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bdfa80d47f954d53a35a64987ca1422f495b8d6483c0fe9f7117b36c2a792129"
dependencies = [
"bitflags",
"term_size",
"textwrap",
"unicode-width",
]
@ -1889,6 +1890,16 @@ dependencies = [
"winapi 0.3.8",
]
[[package]]
name = "term_size"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e4129646ca0ed8f45d09b929036bafad5377103edd06e50bf574b353d2b08d9"
dependencies = [
"libc",
"winapi 0.3.8",
]
[[package]]
name = "termcolor"
version = "1.1.0"
@ -1916,6 +1927,7 @@ version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
dependencies = [
"term_size",
"unicode-width",
]

View File

@ -28,7 +28,7 @@ roaring = "0.6.1"
slice-group-by = "0.2.6"
smallstr = "0.2.0"
smallvec = "1.4.0"
structopt = { version = "0.3.14", default-features = false }
structopt = { version = "0.3.14", default-features = false, features = ["wrap_help"] }
tempfile = "3.1.0"
# documents words self-join