Skip to content

Commit

Permalink
[rust] Bump clap to version 4.5.2 (#13699)
Browse files Browse the repository at this point in the history
* [rust] Bump clap to version 4.5.2

* [rust] Bump Rust compiler version to 1.76.0

* [rust] Update checksum in lock file

* [rust] Fix format in registger toolchain block
  • Loading branch information
bonigarcia authored Mar 20, 2024
1 parent 4c279c7 commit e195d79
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 43 deletions.
7 changes: 6 additions & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,12 @@ load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_regi

rules_rust_dependencies()

rust_register_toolchains()
rust_register_toolchains(
edition = "2021",
versions = [
"1.76.0",
],
)

load("@rules_rust//crate_universe:defs.bzl", "crates_repository")

Expand Down
62 changes: 31 additions & 31 deletions rust/Cargo.Bazel.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "4529f2854cf8e3949ad4c30256971bf8bbc9e48298e87f19f40dea2e43b76083",
"checksum": "d5efddd0399bb2f2c3f5fd3b9bddccaca7bb166d27f72bc81487442cdadbfdcb",
"crates": {
"addr2line 0.19.0": {
"name": "addr2line",
Expand Down Expand Up @@ -1524,13 +1524,13 @@
},
"license": "MIT OR Apache-2.0"
},
"clap 4.4.18": {
"clap 4.5.2": {
"name": "clap",
"version": "4.4.18",
"version": "4.5.2",
"repository": {
"Http": {
"url": "https://static.crates.io/crates/clap/4.4.18/download",
"sha256": "1e578d6ec4194633722ccf9544794b71b1385c3c027efe0c55db226fc880865c"
"url": "https://static.crates.io/crates/clap/4.5.2/download",
"sha256": "b230ab84b0ffdf890d5a10abdbc8b83ae1c4918275daea1ab8801f71536b2651"
}
},
"targets": [
Expand Down Expand Up @@ -1566,7 +1566,7 @@
"deps": {
"common": [
{
"id": "clap_builder 4.4.18",
"id": "clap_builder 4.5.2",
"target": "clap_builder"
}
],
Expand All @@ -1576,23 +1576,23 @@
"proc_macro_deps": {
"common": [
{
"id": "clap_derive 4.4.7",
"id": "clap_derive 4.5.0",
"target": "clap_derive"
}
],
"selects": {}
},
"version": "4.4.18"
"version": "4.5.2"
},
"license": "MIT OR Apache-2.0"
},
"clap_builder 4.4.18": {
"clap_builder 4.5.2": {
"name": "clap_builder",
"version": "4.4.18",
"version": "4.5.2",
"repository": {
"Http": {
"url": "https://static.crates.io/crates/clap_builder/4.4.18/download",
"sha256": "4df4df40ec50c46000231c914968278b1eb05098cf8f1b3a518a95030e71d1c7"
"url": "https://static.crates.io/crates/clap_builder/4.5.2/download",
"sha256": "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4"
}
},
"targets": [
Expand Down Expand Up @@ -1634,28 +1634,28 @@
"target": "anstyle"
},
{
"id": "clap_lex 0.6.0",
"id": "clap_lex 0.7.0",
"target": "clap_lex"
},
{
"id": "strsim 0.10.0",
"id": "strsim 0.11.0",
"target": "strsim"
}
],
"selects": {}
},
"edition": "2021",
"version": "4.4.18"
"version": "4.5.2"
},
"license": "MIT OR Apache-2.0"
},
"clap_derive 4.4.7": {
"clap_derive 4.5.0": {
"name": "clap_derive",
"version": "4.4.7",
"version": "4.5.0",
"repository": {
"Http": {
"url": "https://static.crates.io/crates/clap_derive/4.4.7/download",
"sha256": "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442"
"url": "https://static.crates.io/crates/clap_derive/4.5.0/download",
"sha256": "307bc0538d5f0f83b8248db3087aa92fe504e4691294d0c96c0eabc33f47ba47"
}
},
"targets": [
Expand Down Expand Up @@ -1702,17 +1702,17 @@
"selects": {}
},
"edition": "2021",
"version": "4.4.7"
"version": "4.5.0"
},
"license": "MIT OR Apache-2.0"
},
"clap_lex 0.6.0": {
"clap_lex 0.7.0": {
"name": "clap_lex",
"version": "0.6.0",
"version": "0.7.0",
"repository": {
"Http": {
"url": "https://static.crates.io/crates/clap_lex/0.6.0/download",
"sha256": "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1"
"url": "https://static.crates.io/crates/clap_lex/0.7.0/download",
"sha256": "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce"
}
},
"targets": [
Expand All @@ -1732,7 +1732,7 @@
"**"
],
"edition": "2021",
"version": "0.6.0"
"version": "0.7.0"
},
"license": "MIT OR Apache-2.0"
},
Expand Down Expand Up @@ -7739,7 +7739,7 @@
"target": "bzip2"
},
{
"id": "clap 4.4.18",
"id": "clap 4.5.2",
"target": "clap"
},
{
Expand Down Expand Up @@ -8591,13 +8591,13 @@
},
"license": "MIT"
},
"strsim 0.10.0": {
"strsim 0.11.0": {
"name": "strsim",
"version": "0.10.0",
"version": "0.11.0",
"repository": {
"Http": {
"url": "https://static.crates.io/crates/strsim/0.10.0/download",
"sha256": "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
"url": "https://static.crates.io/crates/strsim/0.11.0/download",
"sha256": "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01"
}
},
"targets": [
Expand All @@ -8617,7 +8617,7 @@
"**"
],
"edition": "2015",
"version": "0.10.0"
"version": "0.11.0"
},
"license": "MIT"
},
Expand Down
20 changes: 10 additions & 10 deletions rust/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 rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Selenium Manager is a CLI tool that automatically manages the browser/driver inf
"""

[dependencies]
clap = { version = "4.4.18", features = ["derive", "cargo"] }
clap = { version = "4.5.2", features = ["derive", "cargo"] }
log = "0.4.21"
env_logger = "0.10.2"
regex = "1.10.3"
Expand Down

0 comments on commit e195d79

Please sign in to comment.