diff --git a/WORKSPACE b/WORKSPACE index 18f82e879113b..db4b16a96ed96 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -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") diff --git a/rust/Cargo.Bazel.lock b/rust/Cargo.Bazel.lock index 8a67cb9656fe4..ed38913c4b75a 100644 --- a/rust/Cargo.Bazel.lock +++ b/rust/Cargo.Bazel.lock @@ -1,5 +1,5 @@ { - "checksum": "4529f2854cf8e3949ad4c30256971bf8bbc9e48298e87f19f40dea2e43b76083", + "checksum": "d5efddd0399bb2f2c3f5fd3b9bddccaca7bb166d27f72bc81487442cdadbfdcb", "crates": { "addr2line 0.19.0": { "name": "addr2line", @@ -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": [ @@ -1566,7 +1566,7 @@ "deps": { "common": [ { - "id": "clap_builder 4.4.18", + "id": "clap_builder 4.5.2", "target": "clap_builder" } ], @@ -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": [ @@ -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": [ @@ -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": [ @@ -1732,7 +1732,7 @@ "**" ], "edition": "2021", - "version": "0.6.0" + "version": "0.7.0" }, "license": "MIT OR Apache-2.0" }, @@ -7739,7 +7739,7 @@ "target": "bzip2" }, { - "id": "clap 4.4.18", + "id": "clap 4.5.2", "target": "clap" }, { @@ -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": [ @@ -8617,7 +8617,7 @@ "**" ], "edition": "2015", - "version": "0.10.0" + "version": "0.11.0" }, "license": "MIT" }, diff --git a/rust/Cargo.lock b/rust/Cargo.lock index f7e069feb82c9..662dfb1133f4a 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -294,9 +294,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.4.18" +version = "4.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e578d6ec4194633722ccf9544794b71b1385c3c027efe0c55db226fc880865c" +checksum = "b230ab84b0ffdf890d5a10abdbc8b83ae1c4918275daea1ab8801f71536b2651" dependencies = [ "clap_builder", "clap_derive", @@ -304,9 +304,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.4.18" +version = "4.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4df4df40ec50c46000231c914968278b1eb05098cf8f1b3a518a95030e71d1c7" +checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4" dependencies = [ "anstream", "anstyle 1.0.6", @@ -316,9 +316,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.4.7" +version = "4.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" +checksum = "307bc0538d5f0f83b8248db3087aa92fe504e4691294d0c96c0eabc33f47ba47" dependencies = [ "heck", "proc-macro2", @@ -328,9 +328,9 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" +checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" [[package]] name = "colorchoice" @@ -1606,9 +1606,9 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" [[package]] name = "strsim" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" +checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01" [[package]] name = "subtle" diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 4788d377c005b..c01244aa678a0 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -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"