From 0916970ce658a331f6054a2ab3e67058ac427201 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Nagy?= Date: Fri, 10 Feb 2023 09:18:20 -0800 Subject: [PATCH] Upgrade Clap 3 to 3.2.23 Reviewed By: zertosh Differential Revision: D43186409 fbshipit-source-id: 09583c5f6ff82c5cecf6263355c23c48ba6208f5 --- hphp/hack/src/Cargo.lock | 32 +++++++++---------- hphp/hack/src/asdl_to_rust/lrgen/Cargo.toml | 2 +- .../cargo/depgraph_decompress/Cargo.toml | 2 +- .../src/depgraph/hhdg/cargo/hhdg/Cargo.toml | 2 +- .../cargo/generate_hhi/Cargo.toml | 2 +- hphp/hack/src/hh_manual/Cargo.toml | 2 +- hphp/hack/src/hhi/rust/Cargo.toml | 2 +- .../rust_to_ocaml/rust_to_ocaml/Cargo.toml | 2 +- hphp/hack/src/utils/ffi_cbindgen/Cargo.toml | 2 +- 9 files changed, 24 insertions(+), 24 deletions(-) diff --git a/hphp/hack/src/Cargo.lock b/hphp/hack/src/Cargo.lock index fed5a9cb7093b..becd8b0f767e8 100644 --- a/hphp/hack/src/Cargo.lock +++ b/hphp/hack/src/Cargo.lock @@ -544,7 +544,7 @@ version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4d7ac49647ca72e4ecf4a1ca559dbc7fa43e2c5620dbd2cf198e6bf4671de6f2" dependencies = [ - "clap 3.2.17", + "clap 3.2.23", "heck 0.4.0", "indexmap", "log", @@ -623,21 +623,21 @@ dependencies = [ [[package]] name = "clap" -version = "3.2.17" +version = "3.2.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29e724a68d9319343bb3328c9cc2dfde263f4b3142ee1059a9980580171c954b" +checksum = "71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5" dependencies = [ "atty", "bitflags", - "clap_derive 3.2.17", + "clap_derive 3.2.18", "clap_lex 0.2.2", "indexmap", "once_cell", "regex", "strsim 0.10.0", "termcolor", - "terminal_size 0.1.17", - "textwrap 0.15.0", + "terminal_size 0.2.1", + "textwrap 0.16.0", "unicase", ] @@ -661,9 +661,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "3.2.17" +version = "3.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13547f7012c01ab4a0e8f8967730ada8f9fdf419e8b6c792788f39cf4e46eefa" +checksum = "ea0c8bce528c4be4da13ea6fead8965e95b6073585a2f05204bd8f4119f82a65" dependencies = [ "heck 0.4.0", "proc-macro-error", @@ -1754,7 +1754,7 @@ version = "0.0.0" dependencies = [ "anyhow", "cbindgen", - "clap 3.2.17", + "clap 3.2.23", ] [[package]] @@ -2423,7 +2423,7 @@ dependencies = [ name = "hhi" version = "0.0.0" dependencies = [ - "clap 3.2.17", + "clap 3.2.23", "gen_hhi_contents_lib", "generate_hhi_lib", "walkdir", @@ -2868,7 +2868,7 @@ name = "lrgen" version = "0.0.0" dependencies = [ "cfgrammar", - "clap 3.2.17", + "clap 3.2.23", "lrlex", ] @@ -5033,11 +5033,11 @@ dependencies = [ [[package]] name = "textwrap" -version = "0.15.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb" +checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" dependencies = [ - "terminal_size 0.1.17", + "terminal_size 0.2.1", "unicode-width", ] @@ -5267,9 +5267,9 @@ checksum = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b" [[package]] name = "unicode-width" -version = "0.1.9" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973" +checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" [[package]] name = "unicode-xid" diff --git a/hphp/hack/src/asdl_to_rust/lrgen/Cargo.toml b/hphp/hack/src/asdl_to_rust/lrgen/Cargo.toml index c19ef4e11665a..875c30a978a00 100644 --- a/hphp/hack/src/asdl_to_rust/lrgen/Cargo.toml +++ b/hphp/hack/src/asdl_to_rust/lrgen/Cargo.toml @@ -10,5 +10,5 @@ path = "lrgen.rs" [dependencies] cfgrammar = { version = "0.12", features = ["serde"] } -clap = { version = "3.2.17", features = ["derive", "env", "regex", "unicode", "wrap_help"] } +clap = { version = "3.2.23", features = ["derive", "env", "regex", "unicode", "wrap_help"] } lrlex = "0.12" diff --git a/hphp/hack/src/depgraph/depgraph_decompress/cargo/depgraph_decompress/Cargo.toml b/hphp/hack/src/depgraph/depgraph_decompress/cargo/depgraph_decompress/Cargo.toml index 919397fa5362b..52e82a7a8cdac 100644 --- a/hphp/hack/src/depgraph/depgraph_decompress/cargo/depgraph_decompress/Cargo.toml +++ b/hphp/hack/src/depgraph/depgraph_decompress/cargo/depgraph_decompress/Cargo.toml @@ -10,7 +10,7 @@ path = "../../main.rs" [dependencies] bytemuck = { version = "1.12.3", features = ["derive"] } -clap = { version = "3.2.17", features = ["derive", "env", "regex", "unicode", "wrap_help"] } +clap = { version = "3.2.23", features = ["derive", "env", "regex", "unicode", "wrap_help"] } depgraph_reader = { path = "../../../cargo/depgraph_reader" } memmap = "0.7" rayon = "1.2" diff --git a/hphp/hack/src/depgraph/hhdg/cargo/hhdg/Cargo.toml b/hphp/hack/src/depgraph/hhdg/cargo/hhdg/Cargo.toml index 8e38ee3b8f4ff..cbd8e511002a8 100644 --- a/hphp/hack/src/depgraph/hhdg/cargo/hhdg/Cargo.toml +++ b/hphp/hack/src/depgraph/hhdg/cargo/hhdg/Cargo.toml @@ -10,7 +10,7 @@ path = "../../hhdg.rs" [dependencies] anyhow = "1.0.65" -clap = { version = "3.2.17", features = ["derive", "env", "regex", "unicode", "wrap_help"] } +clap = { version = "3.2.23", features = ["derive", "env", "regex", "unicode", "wrap_help"] } depgraph_reader = { path = "../../../cargo/depgraph_reader" } hash = { path = "../../../../utils/hash" } human_readable_dep_map = { path = "../../../cargo/human_readable_dep_map" } diff --git a/hphp/hack/src/generate_hhi/cargo/generate_hhi/Cargo.toml b/hphp/hack/src/generate_hhi/cargo/generate_hhi/Cargo.toml index e79b99e17a341..be9d7f964d1c5 100644 --- a/hphp/hack/src/generate_hhi/cargo/generate_hhi/Cargo.toml +++ b/hphp/hack/src/generate_hhi/cargo/generate_hhi/Cargo.toml @@ -10,5 +10,5 @@ path = "../../generate_hhi.rs" [dependencies] anyhow = "1.0.65" -clap = { version = "3.2.17", features = ["derive", "env", "regex", "unicode", "wrap_help"] } +clap = { version = "3.2.23", features = ["derive", "env", "regex", "unicode", "wrap_help"] } generate_hhi_lib = { path = "../generate_hhi_lib" } diff --git a/hphp/hack/src/hh_manual/Cargo.toml b/hphp/hack/src/hh_manual/Cargo.toml index 522472e5fa566..96298d2de0456 100644 --- a/hphp/hack/src/hh_manual/Cargo.toml +++ b/hphp/hack/src/hh_manual/Cargo.toml @@ -6,5 +6,5 @@ edition = "2021" [dependencies] anyhow = "1.0.65" -clap = { version = "3.2.17", features = ["derive", "env", "regex", "unicode", "wrap_help"] } +clap = { version = "3.2.23", features = ["derive", "env", "regex", "unicode", "wrap_help"] } pulldown-cmark = "0.9.1" diff --git a/hphp/hack/src/hhi/rust/Cargo.toml b/hphp/hack/src/hhi/rust/Cargo.toml index f257009219a36..3597a4fdca23b 100644 --- a/hphp/hack/src/hhi/rust/Cargo.toml +++ b/hphp/hack/src/hhi/rust/Cargo.toml @@ -10,7 +10,7 @@ test = false doctest = false [build-dependencies] -clap = { version = "3.2.17", features = ["derive", "env", "regex", "unicode", "wrap_help"] } +clap = { version = "3.2.23", features = ["derive", "env", "regex", "unicode", "wrap_help"] } gen_hhi_contents_lib = { path = "cargo/gen_hhi_contents_lib" } generate_hhi_lib = { path = "../../generate_hhi/cargo/generate_hhi_lib" } walkdir = "2.3" diff --git a/hphp/hack/src/rust_to_ocaml/rust_to_ocaml/Cargo.toml b/hphp/hack/src/rust_to_ocaml/rust_to_ocaml/Cargo.toml index be2f32ffba343..45fb1e548f9bc 100644 --- a/hphp/hack/src/rust_to_ocaml/rust_to_ocaml/Cargo.toml +++ b/hphp/hack/src/rust_to_ocaml/rust_to_ocaml/Cargo.toml @@ -11,7 +11,7 @@ path = "../src/rust_to_ocaml.rs" [dependencies] anyhow = "1.0.65" attr_parser = { path = "../attr_parser" } -clap = { version = "3.2.17", features = ["derive", "env", "regex", "unicode", "wrap_help"] } +clap = { version = "3.2.23", features = ["derive", "env", "regex", "unicode", "wrap_help"] } convert_case = "0.4.0" derive_more = "0.99.17" indexmap = { version = "1.9.2", features = ["arbitrary", "rayon", "serde-1"] } diff --git a/hphp/hack/src/utils/ffi_cbindgen/Cargo.toml b/hphp/hack/src/utils/ffi_cbindgen/Cargo.toml index 7638a4d9e5b04..df40ea9da4c0b 100644 --- a/hphp/hack/src/utils/ffi_cbindgen/Cargo.toml +++ b/hphp/hack/src/utils/ffi_cbindgen/Cargo.toml @@ -11,4 +11,4 @@ path = "ffi_cbindgen.rs" [dependencies] anyhow = "1.0.65" cbindgen = "0.22.0" -clap = { version = "3.2.17", features = ["derive", "env", "regex", "unicode", "wrap_help"] } +clap = { version = "3.2.23", features = ["derive", "env", "regex", "unicode", "wrap_help"] }