Skip to content

Commit

Permalink
Upgrade clap* packages
Browse files Browse the repository at this point in the history
Summary:
Upgrade `clap` and `clap_complete` to latest version.

Did not touch `clap_verbosity_flag` that is used by [three clap-3 using CLIs](https://www.internalfb.com/code/search?q=repo%3Afbcode%20clap_verbosity_flag).

Followed [this guide](https://www.internalfb.com/wiki/Rust/Third_Party_Libraries/Adding_or_Updating_Libraries/#updating-cargo-toml).

Reviewed By: mariusae, zertosh

Differential Revision: D68497030

fbshipit-source-id: 026bfd0d4f5cfbfd86ba1142faeff24c6ff689eb
  • Loading branch information
ukautz authored and facebook-github-bot committed Jan 23, 2025
1 parent c0bf20a commit ab5ce55
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 28 deletions.
38 changes: 19 additions & 19 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.20", features = ["derive", "env", "string", "unicode", "wrap_help"] }
clap = { version = "4.5.27", 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.95"
bc_to_ir = { version = "0.0.0", path = "../../../ir/conversions/bc_to_ir" }
bstr = { version = "1.10.0", features = ["serde", "std", "unicode"] }
bytecode_printer = { version = "0.0.0", path = "../../../bytecode_printer" }
clap = { version = "4.5.20", features = ["derive", "env", "string", "unicode", "wrap_help"] }
clap = { version = "4.5.27", 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.95"
clap = { version = "4.5.20", features = ["derive", "env", "string", "unicode", "wrap_help"] }
clap = { version = "4.5.27", 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.20", features = ["derive", "env", "string", "unicode", "wrap_help"] }
clap = { version = "4.5.27", 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.20", features = ["derive", "env", "string", "unicode", "wrap_help"] }
clap = { version = "4.5.27", features = ["derive", "env", "string", "unicode", "wrap_help"] }
depgraph_reader = { version = "0.0.0", path = "../depgraph/cargo/depgraph_reader" }
indicatif = { version = "0.17.6", features = ["futures", "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.95"
clap = { version = "4.5.20", features = ["derive", "env", "string", "unicode", "wrap_help"] }
clap = { version = "4.5.27", 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.95"
bumpalo = { version = "3.14.0", features = ["allocator_api", "collections"] }
clap = { version = "4.5.20", features = ["derive", "env", "string", "unicode", "wrap_help"] }
clap = { version = "4.5.27", 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.20", features = ["derive", "env", "string", "unicode", "wrap_help"] }
clap = { version = "4.5.27", features = ["derive", "env", "string", "unicode", "wrap_help"] }
criterion = { version = "0.5.1", features = ["async_tokio", "csv_output"] }
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.95"
clap = { version = "4.5.20", features = ["derive", "env", "string", "unicode", "wrap_help"] }
clap = { version = "4.5.27", 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 ab5ce55

Please sign in to comment.