Skip to content

Commit

Permalink
Update clap to 4.5.6 and clap_complete to 4.5.4
Browse files Browse the repository at this point in the history
Summary: Upgrading clap to new version (released yesterday). My motivation for doing it now is that my PR clap-rs/clap#5476 has been released as part of this release, which should fix autocompletion for all CLIs using `visible_alias` option.

Reviewed By: ukautz

Differential Revision: D58283249

fbshipit-source-id: 4a48e86c47519431913c34880a132049b5522e7b
  • Loading branch information
pzmarzly authored and facebook-github-bot committed Jun 10, 2024
1 parent 2506b12 commit 5f3eb74
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 23 deletions.
28 changes: 14 additions & 14 deletions hphp/hack/src/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion hphp/hack/src/hackc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ bc_to_ir = { version = "0.0.0", path = "ir/conversions/bc_to_ir" }
bumpalo = { version = "3.14.0", features = ["allocator_api", "collections"] }
byte-unit = "4.0.14"
bytecode_printer = { version = "0.0.0", path = "bytecode_printer" }
clap = { version = "4.5.4", features = ["derive", "env", "string", "unicode", "wrap_help"] }
clap = { version = "4.5.6", features = ["derive", "env", "string", "unicode", "wrap_help"] }
cmp = { version = "0.0.0", path = "utils/cmp" }
compile = { version = "0.0.0", path = "compile/cargo/compile" }
decl_parser = { version = "0.0.0", path = "../hackrs/decl_parser/cargo/decl_parser" }
Expand Down
2 changes: 1 addition & 1 deletion hphp/hack/src/hackc/compile/cargo/compile/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ anyhow = "1.0.75"
bc_to_ir = { version = "0.0.0", path = "../../../ir/conversions/bc_to_ir" }
bstr = { version = "1.4.0", features = ["serde", "std", "unicode"] }
bytecode_printer = { version = "0.0.0", path = "../../../bytecode_printer" }
clap = { version = "4.5.4", features = ["derive", "env", "string", "unicode", "wrap_help"] }
clap = { version = "4.5.6", features = ["derive", "env", "string", "unicode", "wrap_help"] }
decl_provider = { version = "0.0.0", path = "../../../decl_provider" }
elab = { version = "0.0.0", path = "../../../../elab" }
emit_unit = { version = "0.0.0", path = "../../../emitter/cargo/emit_unit" }
Expand Down
2 changes: 1 addition & 1 deletion hphp/hack/src/hackc/hhbc/cargo/dump-opcodes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ path = "../../dump_opcodes.rs"

[dependencies]
anyhow = "1.0.75"
clap = { version = "4.5.4", features = ["derive", "env", "string", "unicode", "wrap_help"] }
clap = { version = "4.5.6", features = ["derive", "env", "string", "unicode", "wrap_help"] }
emit_opcodes = { version = "0.0.0", path = "../emit_opcodes" }
hhbc-gen = { version = "0.0.0", path = "../../../../../../tools/hhbc-gen" }
quote = "1.0.29"
2 changes: 1 addition & 1 deletion hphp/hack/src/hackrs/cargo/decl_file_rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ name = "decl_file_rust"
path = "../../decl_file_rust.rs"

[dependencies]
clap = { version = "4.5.4", features = ["derive", "env", "string", "unicode", "wrap_help"] }
clap = { version = "4.5.6", features = ["derive", "env", "string", "unicode", "wrap_help"] }
decl_parser = { version = "0.0.0", path = "../../decl_parser/cargo/decl_parser" }
file_provider = { version = "0.0.0", path = "../../file_provider/cargo/file_provider" }
folded_decl_provider = { version = "0.0.0", path = "../../folded_decl_provider/cargo/folded_decl_provider" }
Expand Down
2 changes: 1 addition & 1 deletion hphp/hack/src/heap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ path = "dump_saved_state_depgraph.rs"
test = false

[dependencies]
clap = { version = "4.5.4", features = ["derive", "env", "string", "unicode", "wrap_help"] }
clap = { version = "4.5.6", features = ["derive", "env", "string", "unicode", "wrap_help"] }
depgraph_reader = { version = "0.0.0", path = "../depgraph/cargo/depgraph_reader" }
indicatif = { version = "0.17.6", features = ["improved_unicode", "rayon", "tokio"] }
2 changes: 1 addition & 1 deletion hphp/hack/src/hh_codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ path = "hh_codegen.rs"

[dependencies]
anyhow = "1.0.75"
clap = { version = "4.5.4", features = ["derive", "env", "string", "unicode", "wrap_help"] }
clap = { version = "4.5.6", features = ["derive", "env", "string", "unicode", "wrap_help"] }
hash = { version = "0.0.0", path = "../utils/hash" }
proc-macro2 = { version = "1.0.70", features = ["span-locations"] }
quote = "1.0.29"
Expand Down
2 changes: 1 addition & 1 deletion hphp/hack/src/parser/api/cargo/ddp_test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test = false
[dependencies]
anyhow = "1.0.75"
bumpalo = { version = "3.14.0", features = ["allocator_api", "collections"] }
clap = { version = "4.5.4", features = ["derive", "env", "string", "unicode", "wrap_help"] }
clap = { version = "4.5.6", features = ["derive", "env", "string", "unicode", "wrap_help"] }
direct_decl_parser = { version = "0.0.0", path = "../direct_decl_parser" }
hh_config = { version = "0.0.0", path = "../../../../utils/hh_config/cargo" }
relative_path = { version = "0.0.0", path = "../../../../utils/rust/relative_path" }
2 changes: 1 addition & 1 deletion hphp/hack/src/parser/cargo/bench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ path = "../../bench/bench.rs"
aast_parser = { version = "0.0.0", path = "../aast_parser" }
ast_and_decl_parser = { version = "0.0.0", path = "../ast_and_decl_parser" }
bumpalo = { version = "3.14.0", features = ["allocator_api", "collections"] }
clap = { version = "4.5.4", features = ["derive", "env", "string", "unicode", "wrap_help"] }
clap = { version = "4.5.6", features = ["derive", "env", "string", "unicode", "wrap_help"] }
criterion = "=0.3.1"
cst_and_decl_parser = { version = "0.0.0", path = "../../api/cargo/cst_and_decl_parser" }
direct_decl_parser = { version = "0.0.0", path = "../../api/cargo/direct_decl_parser" }
Expand Down
2 changes: 1 addition & 1 deletion hphp/hack/src/utils/hhvm_options/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ path = "hhvm_options.rs"

[dependencies]
anyhow = "1.0.75"
clap = { version = "4.5.4", features = ["derive", "env", "string", "unicode", "wrap_help"] }
clap = { version = "4.5.6", features = ["derive", "env", "string", "unicode", "wrap_help"] }
hdf = { version = "0.0.0", path = "../hdf" }
hhvm_runtime_options = { version = "0.0.0", path = "hhvm_runtime_options" }

0 comments on commit 5f3eb74

Please sign in to comment.