From 49d32e1da7b6bf8153e712c8b43b9f7c14c85eda Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 21 Dec 2022 20:09:07 +0000 Subject: [PATCH] Bump clap from 2.34.0 to 4.0.30 Bumps [clap](https://github.com/clap-rs/clap) from 2.34.0 to 4.0.30. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v2.34.0...v4.0.30) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Cargo.lock | 33 +++++++++++++++++++-------------- Cargo.toml | 2 +- 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 65df4defd4..7b7c2aa121 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -209,13 +209,21 @@ dependencies = [ [[package]] name = "clap" -version = "2.34.0" +version = "4.0.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c" +checksum = "656ad1e55e23d287773f7d8192c300dc715c3eeded93b3da651d11c42cfd74d2" dependencies = [ "bitflags", - "textwrap 0.11.0", - "unicode-width", + "clap_lex", +] + +[[package]] +name = "clap_lex" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d4198f73e42b4936b35b5bb248d81d2b595ecb170da0bac7655c54eedfa8da8" +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..f41e80f968 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.0", default-features = false } crossbeam-channel = "0.5" crossterm = { version = "0.20", features = [ "serde" ] } dirs-next = "2.0"