From d99cad0fa4434d317dd6e3641d3e99a5953083e3 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 18 Oct 2022 08:46:33 +0000
Subject: [PATCH] build(deps): bump clap from 3.2.17 to 4.0.16

Bumps [clap](https://github.com/clap-rs/clap) from 3.2.17 to 4.0.16.
- [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/v3.2.17...v4.0.16)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
---
 Cargo.lock                                | 65 +++++++++++++++--------
 crates/fluvio-channel-cli/Cargo.toml      |  2 +-
 crates/fluvio-channel/Cargo.toml          |  2 +-
 crates/fluvio-cli/Cargo.toml              |  2 +-
 crates/fluvio-cluster/Cargo.toml          |  2 +-
 crates/fluvio-extension-common/Cargo.toml |  2 +-
 crates/fluvio-run/Cargo.toml              |  2 +-
 crates/fluvio-sc/Cargo.toml               |  2 +-
 crates/fluvio-spu/Cargo.toml              |  2 +-
 crates/fluvio-storage/Cargo.toml          |  2 +-
 crates/fluvio-test-derive/Cargo.toml      |  2 +-
 crates/fluvio-test-util/Cargo.toml        |  2 +-
 crates/fluvio-test/Cargo.toml             |  2 +-
 13 files changed, 54 insertions(+), 35 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index 4372b0893f..c4514430b2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -594,7 +594,7 @@ dependencies = [
  "bytesize",
  "cargo-platform",
  "cargo-util",
- "clap",
+ "clap 3.2.22",
  "crates-io",
  "crossbeam-utils",
  "curl",
@@ -731,35 +731,45 @@ dependencies = [
 
 [[package]]
 name = "clap"
-version = "3.2.17"
+version = "3.2.22"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "29e724a68d9319343bb3328c9cc2dfde263f4b3142ee1059a9980580171c954b"
+checksum = "86447ad904c7fb335a790c9d7fe3d0d971dc523b8ccd1561a520de9a85302750"
 dependencies = [
  "atty",
  "bitflags",
- "clap_derive",
- "clap_lex",
+ "clap_lex 0.2.4",
  "indexmap",
- "once_cell",
  "strsim",
  "termcolor",
  "textwrap",
 ]
 
+[[package]]
+name = "clap"
+version = "4.0.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2ef582e2c00a63a0c0aa1fb4a4870781c4f5729f51196d3537fa7c1c1992eaa3"
+dependencies = [
+ "bitflags",
+ "clap_derive",
+ "clap_lex 0.3.0",
+ "once_cell",
+]
+
 [[package]]
 name = "clap_complete"
 version = "3.2.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "e4179da71abd56c26b54dd0c248cc081c1f43b0a1a7e8448e28e57a29baa993d"
 dependencies = [
- "clap",
+ "clap 3.2.22",
 ]
 
 [[package]]
 name = "clap_derive"
-version = "3.2.17"
+version = "4.0.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "13547f7012c01ab4a0e8f8967730ada8f9fdf419e8b6c792788f39cf4e46eefa"
+checksum = "c42f169caba89a7d512b5418b09864543eeb4d497416c917d7137863bd2076ad"
 dependencies = [
  "heck",
  "proc-macro-error",
@@ -777,6 +787,15 @@ dependencies = [
  "os_str_bytes",
 ]
 
+[[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]]
 name = "color-eyre"
 version = "0.6.2"
@@ -1662,7 +1681,7 @@ name = "fluvio-channel"
 version = "0.0.0"
 dependencies = [
  "cfg-if",
- "clap",
+ "clap 4.0.16",
  "color-eyre",
  "dirs",
  "fluvio-types",
@@ -1679,7 +1698,7 @@ version = "0.0.0"
 dependencies = [
  "assert_cmd",
  "cfg-if",
- "clap",
+ "clap 4.0.16",
  "color-eyre",
  "colored",
  "dirs",
@@ -1700,7 +1719,7 @@ dependencies = [
  "async-trait",
  "atty",
  "bytesize",
- "clap",
+ "clap 4.0.16",
  "clap_complete",
  "color-eyre",
  "colored",
@@ -1780,7 +1799,7 @@ dependencies = [
  "async-channel",
  "async-trait",
  "chrono",
- "clap",
+ "clap 4.0.16",
  "color-eyre",
  "colored",
  "comfy-table",
@@ -1880,7 +1899,7 @@ name = "fluvio-extension-common"
 version = "0.9.0"
 dependencies = [
  "async-trait",
- "clap",
+ "clap 4.0.16",
  "comfy-table",
  "fluvio",
  "fluvio-package-index",
@@ -2013,7 +2032,7 @@ dependencies = [
 name = "fluvio-run"
 version = "0.0.0"
 dependencies = [
- "clap",
+ "clap 4.0.16",
  "fluvio-extension-common",
  "fluvio-future 0.4.2",
  "fluvio-sc",
@@ -2034,7 +2053,7 @@ dependencies = [
  "async-trait",
  "base64",
  "cfg-if",
- "clap",
+ "clap 4.0.16",
  "event-listener",
  "fluvio-auth",
  "fluvio-controlplane",
@@ -2190,7 +2209,7 @@ dependencies = [
  "async-trait",
  "bytes 1.2.1",
  "cfg-if",
- "clap",
+ "clap 4.0.16",
  "derive_builder",
  "event-listener",
  "flate2",
@@ -2251,7 +2270,7 @@ dependencies = [
  "async-trait",
  "blocking",
  "bytes 1.2.1",
- "clap",
+ "clap 4.0.16",
  "derive_builder",
  "fluvio-controlplane-metadata",
  "fluvio-future 0.4.2",
@@ -2315,7 +2334,7 @@ dependencies = [
  "async-std",
  "async-trait",
  "bytes 1.2.1",
- "clap",
+ "clap 4.0.16",
  "comfy-table",
  "crc",
  "crossbeam-channel",
@@ -2363,7 +2382,7 @@ dependencies = [
 name = "fluvio-test-derive"
 version = "0.0.0"
 dependencies = [
- "clap",
+ "clap 4.0.16",
  "crossbeam-channel",
  "fluvio",
  "fluvio-future 0.4.2",
@@ -2398,7 +2417,7 @@ version = "0.0.0"
 dependencies = [
  "async-trait",
  "bytes 1.2.1",
- "clap",
+ "clap 4.0.16",
  "comfy-table",
  "dyn-clone",
  "fluvio",
@@ -4887,9 +4906,9 @@ checksum = "507e9898683b6c43a9aa55b64259b721b52ba226e0f3779137e50ad114a4c90b"
 
 [[package]]
 name = "textwrap"
-version = "0.15.0"
+version = "0.15.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb"
+checksum = "949517c0cf1bf4ee812e2e07e08ab448e3ae0d23472aee8a06c985f0c8815b16"
 
 [[package]]
 name = "thiserror"
diff --git a/crates/fluvio-channel-cli/Cargo.toml b/crates/fluvio-channel-cli/Cargo.toml
index 59667858e8..7083c4ca37 100644
--- a/crates/fluvio-channel-cli/Cargo.toml
+++ b/crates/fluvio-channel-cli/Cargo.toml
@@ -23,7 +23,7 @@ default = ["fluvio-future", "fluvio-types"]
 [dependencies]
 colored = "2"
 color-eyre = { version = "0.6.0", default-features = false }
-clap = { version = "3.1.8", features = ["std", "derive"], default-features = false }
+clap = { version = "4.0.16", features = ["std", "derive"], default-features = false }
 tracing = "0.1.19"
 cfg-if = "1.0"
 dirs = "4.0.0"
diff --git a/crates/fluvio-channel/Cargo.toml b/crates/fluvio-channel/Cargo.toml
index b0eda9606f..20c8d34726 100644
--- a/crates/fluvio-channel/Cargo.toml
+++ b/crates/fluvio-channel/Cargo.toml
@@ -16,7 +16,7 @@ path = "src/lib.rs"
 default = ["fluvio-types"]
 
 [dependencies]
-clap = { version = "3.1.8", features = ["std", "derive"], default-features = false }
+clap = { version = "4.0.16", features = ["std", "derive"], default-features = false }
 cfg-if = "1.0"
 semver = "1.0.0"
 thiserror = "1.0.20"
diff --git a/crates/fluvio-cli/Cargo.toml b/crates/fluvio-cli/Cargo.toml
index 8badf74b07..773bfde651 100644
--- a/crates/fluvio-cli/Cargo.toml
+++ b/crates/fluvio-cli/Cargo.toml
@@ -41,7 +41,7 @@ smartengine = ["fluvio-smartengine/unstable"]
 tracing = "0.1.19"
 url = "2.1.1"
 semver = "1.0.0"
-clap = { version = "3.1.8", features = ["std", "derive"], default-features = false }
+clap = { version = "4.0.16", features = ["std", "derive"], default-features = false }
 clap_complete = "3.1.1"
 dirs = "4.0.0"
 thiserror = "1.0.20"
diff --git a/crates/fluvio-cluster/Cargo.toml b/crates/fluvio-cluster/Cargo.toml
index d98a344274..1e57ee08da 100644
--- a/crates/fluvio-cluster/Cargo.toml
+++ b/crates/fluvio-cluster/Cargo.toml
@@ -50,7 +50,7 @@ indicatif = "0.17.0"
 rand = "0.8.4"
 chrono = { version = "0.4" }
 color-eyre = { version = "0.6.0", default-features = false, optional = true }
-clap = { version = "3.1.8", features = [
+clap = { version = "4.0.16", features = [
     "std",
     "derive",
 ], default-features = false, optional = true }
diff --git a/crates/fluvio-extension-common/Cargo.toml b/crates/fluvio-extension-common/Cargo.toml
index 7d240c6fda..17dd91fb2c 100644
--- a/crates/fluvio-extension-common/Cargo.toml
+++ b/crates/fluvio-extension-common/Cargo.toml
@@ -16,7 +16,7 @@ target = ["fluvio"]
 
 [dependencies]
 tracing = "0.1.19"
-clap = { version = "3.1.8", features = ["std", "derive"], default-features = false }
+clap = { version = "4.0.16", features = ["std", "derive"], default-features = false }
 comfy-table = "6.0.0"
 serde = { version = "1.0.103", features = ['derive'] }
 serde_json = "1.0.39"
diff --git a/crates/fluvio-run/Cargo.toml b/crates/fluvio-run/Cargo.toml
index 38661410f6..140f9223df 100644
--- a/crates/fluvio-run/Cargo.toml
+++ b/crates/fluvio-run/Cargo.toml
@@ -23,7 +23,7 @@ default = []
 [dependencies]
 tracing = "0.1"
 tracing-subscriber = "0.3"
-clap = { version = "3.1.8", features = ["std", "derive"], default-features = false }
+clap = { version = "4.0.16", features = ["std", "derive"], default-features = false }
 thiserror = "1.0.20"
 semver = "1.0.0"
 serde_json = "1.0.64"
diff --git a/crates/fluvio-sc/Cargo.toml b/crates/fluvio-sc/Cargo.toml
index 995519f072..c5faf3d6d4 100644
--- a/crates/fluvio-sc/Cargo.toml
+++ b/crates/fluvio-sc/Cargo.toml
@@ -35,7 +35,7 @@ async-lock = "2.3.0"
 async-channel = "1.4.0"
 event-listener = "2.2.0"
 tokio = { version = "1.3.0", features = ["macros"] }
-clap = { version = "3.1.8", features = ["std", "derive", "env"], default-features = false }
+clap = { version = "4.0.16", features = ["std", "derive", "env"], default-features = false }
 semver = "1.0.0"
 once_cell = "1.5"
 cfg-if = { version = "1.0.0" }
diff --git a/crates/fluvio-spu/Cargo.toml b/crates/fluvio-spu/Cargo.toml
index 09a424dfa3..4387ed753e 100644
--- a/crates/fluvio-spu/Cargo.toml
+++ b/crates/fluvio-spu/Cargo.toml
@@ -22,7 +22,7 @@ cfg-if = "1.0.0"
 anyhow = "1.0.38"
 tracing = "0.1.27"
 bytes = "1.0.0"
-clap = { version = "3.1.8", features = ["std", "derive", "env"], default-features = false }
+clap = { version = "4.0.16", features = ["std", "derive", "env"], default-features = false }
 toml = "0.5.5"
 futures-util = { version = "0.3.5", features = ["sink"] }
 async-trait = "0.1.51"
diff --git a/crates/fluvio-storage/Cargo.toml b/crates/fluvio-storage/Cargo.toml
index 353096847c..3f641be5b4 100644
--- a/crates/fluvio-storage/Cargo.toml
+++ b/crates/fluvio-storage/Cargo.toml
@@ -26,7 +26,7 @@ futures-lite = "1.7.0"
 pin-utils = "0.1.0-alpha.4"
 async-channel = "1.5.1"
 async-trait = "0.1.18"
-clap = { version = "3.1.8", features = ["std", "derive"], default-features = false, optional = true }
+clap = { version = "4.0.16", features = ["std", "derive"], default-features = false, optional = true }
 serde = { version = "1.0.103", features = ['derive'] }
 async-lock = "2.4.0"
 derive_builder = "0.11.0"
diff --git a/crates/fluvio-test-derive/Cargo.toml b/crates/fluvio-test-derive/Cargo.toml
index 34c212a862..426e9fa145 100644
--- a/crates/fluvio-test-derive/Cargo.toml
+++ b/crates/fluvio-test-derive/Cargo.toml
@@ -27,7 +27,7 @@ trybuild = { git = "https://github.com/infinyon/trybuild", branch = "check_optio
 fluvio = { path = "../fluvio" }
 tokio = { version = "1.4", features = ["macros"] }
 fluvio-future = { version = "0.4.0", features = ["task", "timer", "subscriber", "fixture"] }
-clap = { version = "3.1.8", features = ["std", "derive"], default-features = false }
+clap = { version = "4.0.16", features = ["std", "derive"], default-features = false }
 nix = "0.25"
 inventory = "0.3"
 tracing = "0.1"
diff --git a/crates/fluvio-test-util/Cargo.toml b/crates/fluvio-test-util/Cargo.toml
index f5a2998b68..2469951963 100644
--- a/crates/fluvio-test-util/Cargo.toml
+++ b/crates/fluvio-test-util/Cargo.toml
@@ -13,7 +13,7 @@ publish = false
 bytes = "1.0"
 tracing = "0.1"
 futures-lite = "1.11.0"
-clap = { version = "3.1.8", features = ["std", "derive"], default-features = false }
+clap = { version = "4.0.16", features = ["std", "derive"], default-features = false }
 async-trait = "0.1.21"
 tokio = { version = "1.4", features = ["macros"] }
 syn = "1.0"
diff --git a/crates/fluvio-test/Cargo.toml b/crates/fluvio-test/Cargo.toml
index 578b30f3f5..a41236191c 100644
--- a/crates/fluvio-test/Cargo.toml
+++ b/crates/fluvio-test/Cargo.toml
@@ -14,7 +14,7 @@ tracing = "0.1"
 bytes = "1.0"
 futures-lite = "1.11.0"
 futures = "0.3"
-clap = { version = "3.1.8", features = [
+clap = { version = "4.0.16", features = [
     "std",
     "derive",
 ], default-features = false }