diff --git a/Cargo.lock b/Cargo.lock index 65df4defd4..5df7a4f83b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -209,13 +209,21 @@ dependencies = [ [[package]] name = "clap" -version = "2.34.0" +version = "4.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c" +checksum = "ec0b0588d44d4d63a87dbd75c136c166bbfd9a86a31cb89e09906521c7d3f5e3" dependencies = [ "bitflags", - "textwrap 0.11.0", - "unicode-width", + "clap_lex", +] + +[[package]] +name = "clap_lex" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "783fe232adfca04f90f56201b26d79682d4cd2625e0bc7290b95123afe558ade" +dependencies = [ + "os_str_bytes", ] [[package]] @@ -536,7 +544,7 @@ dependencies = [ "serde", "simplelog", "syntect", - "textwrap 0.14.2", + "textwrap", "tui", "unicode-segmentation", "unicode-truncate", @@ -900,6 +908,12 @@ dependencies = [ "vcpkg", ] +[[package]] +name = "os_str_bytes" +version = "6.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee" + [[package]] name = "output_vt100" version = "0.1.2" @@ -1410,15 +1424,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "textwrap" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" -dependencies = [ - "unicode-width", -] - [[package]] name = "textwrap" version = "0.14.2" diff --git a/Cargo.toml b/Cargo.toml index 2ca3999bee..a50e420f0c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ bitflags = "1.3" bugreport = "0.4" bytesize = { version = "1.1", default-features = false } chrono = "0.4" -clap = { version = "2.33", default-features = false } +clap = { version = "4.1", default-features = false } crossbeam-channel = "0.5" crossterm = { version = "0.20", features = [ "serde" ] } dirs-next = "2.0"