Skip to content

Commit

Permalink
[rust] Improve error handling in Selenium Manager (SeleniumHQ#11263)
Browse files Browse the repository at this point in the history
  • Loading branch information
bonigarcia authored Nov 16, 2022
1 parent ff544bf commit abde4ce
Show file tree
Hide file tree
Showing 11 changed files with 276 additions and 163 deletions.
143 changes: 90 additions & 53 deletions rust/Cargo.Bazel.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "f58bdf0fb6e5d88f8406e826ab50c19ff3ccd16a91ce2994029ac5906fbf9334",
"checksum": "1c9948ca8dcce0c5961d83210575dbbac2d5650ed855bd6cbd89d7b3b69588eb",
"crates": {
"adler 1.0.2": {
"name": "adler",
Expand Down Expand Up @@ -188,15 +188,15 @@
"target": "doc_comment"
},
{
"id": "predicates 2.1.2",
"id": "predicates 2.1.3",
"target": "predicates"
},
{
"id": "predicates-core 1.0.4",
"id": "predicates-core 1.0.5",
"target": "predicates_core"
},
{
"id": "predicates-tree 1.0.6",
"id": "predicates-tree 1.0.7",
"target": "predicates_tree"
},
{
Expand Down Expand Up @@ -727,7 +727,7 @@
"deps": {
"common": [
{
"id": "cc 1.0.74",
"id": "cc 1.0.76",
"target": "cc"
},
{
Expand All @@ -741,13 +741,13 @@
},
"license": "MIT/Apache-2.0"
},
"cc 1.0.74": {
"cc 1.0.76": {
"name": "cc",
"version": "1.0.74",
"version": "1.0.76",
"repository": {
"Http": {
"url": "https://crates.io/api/v1/crates/cc/1.0.74/download",
"sha256": "581f5dba903aac52ea3feb5ec4810848460ee833876f1f9b0fdeab1f19091574"
"url": "https://crates.io/api/v1/crates/cc/1.0.76/download",
"sha256": "76a284da2e6fe2092f2353e51713435363112dfd60030e22add80be333fb928f"
}
},
"targets": [
Expand Down Expand Up @@ -795,7 +795,7 @@
"selects": {}
},
"edition": "2018",
"version": "1.0.74"
"version": "1.0.76"
},
"license": "MIT OR Apache-2.0"
},
Expand Down Expand Up @@ -838,7 +838,7 @@
"target": "fnv"
},
{
"id": "uuid 1.2.1",
"id": "uuid 1.2.2",
"target": "uuid"
}
],
Expand Down Expand Up @@ -924,13 +924,13 @@
},
"license": "MIT OR Apache-2.0"
},
"clap 4.0.22": {
"clap 4.0.24": {
"name": "clap",
"version": "4.0.22",
"version": "4.0.24",
"repository": {
"Http": {
"url": "https://crates.io/api/v1/crates/clap/4.0.22/download",
"sha256": "91b9970d7505127a162fdaa9b96428d28a479ba78c9ec7550a63a5d9863db682"
"url": "https://crates.io/api/v1/crates/clap/4.0.24/download",
"sha256": "60494cedb60cb47462c0ff7be53de32c0e42a6fc2c772184554fa12bd9489c03"
}
},
"targets": [
Expand Down Expand Up @@ -1013,7 +1013,7 @@
],
"selects": {}
},
"version": "4.0.22"
"version": "4.0.24"
},
"license": "MIT OR Apache-2.0"
},
Expand Down Expand Up @@ -1109,7 +1109,7 @@
"deps": {
"common": [
{
"id": "os_str_bytes 6.3.1",
"id": "os_str_bytes 6.4.0",
"target": "os_str_bytes"
}
],
Expand Down Expand Up @@ -1914,6 +1914,39 @@
},
"license": "MIT OR Apache-2.0"
},
"exitcode 1.1.2": {
"name": "exitcode",
"version": "1.1.2",
"repository": {
"Http": {
"url": "https://crates.io/api/v1/crates/exitcode/1.1.2/download",
"sha256": "de853764b47027c2e862a995c34978ffa63c1501f2e15f987ba11bd4f9bba193"
}
},
"targets": [
{
"Library": {
"crate_name": "exitcode",
"crate_root": "src/lib.rs",
"srcs": {
"include": [
"**/*.rs"
],
"exclude": []
}
}
}
],
"library_target_name": "exitcode",
"common_attrs": {
"compile_data_glob": [
"**"
],
"edition": "2015",
"version": "1.1.2"
},
"license": "Apache-2.0"
},
"fastrand 1.8.0": {
"name": "fastrand",
"version": "1.8.0",
Expand Down Expand Up @@ -4950,7 +4983,7 @@
"target": "autocfg"
},
{
"id": "cc 1.0.74",
"id": "cc 1.0.76",
"target": "cc"
},
{
Expand All @@ -4971,13 +5004,13 @@
},
"license": "MIT"
},
"os_str_bytes 6.3.1": {
"os_str_bytes 6.4.0": {
"name": "os_str_bytes",
"version": "6.3.1",
"version": "6.4.0",
"repository": {
"Http": {
"url": "https://crates.io/api/v1/crates/os_str_bytes/6.3.1/download",
"sha256": "3baf96e39c5359d2eb0dd6ccb42c62b91d9678aa68160d261b9e0ccbf9e9dea9"
"url": "https://crates.io/api/v1/crates/os_str_bytes/6.4.0/download",
"sha256": "7b5bf27447411e9ee3ff51186bf7a08e16c341efdde93f4d823e8844429bed7e"
}
},
"targets": [
Expand All @@ -5003,7 +5036,7 @@
"raw_os_str"
],
"edition": "2021",
"version": "6.3.1"
"version": "6.4.0"
},
"license": "MIT OR Apache-2.0"
},
Expand Down Expand Up @@ -5392,13 +5425,13 @@
},
"license": "MIT OR Apache-2.0"
},
"predicates 2.1.2": {
"predicates 2.1.3": {
"name": "predicates",
"version": "2.1.2",
"version": "2.1.3",
"repository": {
"Http": {
"url": "https://crates.io/api/v1/crates/predicates/2.1.2/download",
"sha256": "ab68289ded120dcbf9d571afcf70163233229052aec9b08ab09532f698d0e1e6"
"url": "https://crates.io/api/v1/crates/predicates/2.1.3/download",
"sha256": "ed6bd09a7f7e68f3f0bf710fb7ab9c4615a488b58b5f653382a687701e458c92"
}
},
"targets": [
Expand Down Expand Up @@ -5434,24 +5467,24 @@
"target": "itertools"
},
{
"id": "predicates-core 1.0.4",
"id": "predicates-core 1.0.5",
"target": "predicates_core"
}
],
"selects": {}
},
"edition": "2021",
"version": "2.1.2"
"version": "2.1.3"
},
"license": "MIT OR Apache-2.0"
},
"predicates-core 1.0.4": {
"predicates-core 1.0.5": {
"name": "predicates-core",
"version": "1.0.4",
"version": "1.0.5",
"repository": {
"Http": {
"url": "https://crates.io/api/v1/crates/predicates-core/1.0.4/download",
"sha256": "a6e7125585d872860e9955ca571650b27a4979c5823084168c5ed5bbfb016b56"
"url": "https://crates.io/api/v1/crates/predicates-core/1.0.5/download",
"sha256": "72f883590242d3c6fc5bf50299011695fa6590c2c70eac95ee1bdb9a733ad1a2"
}
},
"targets": [
Expand All @@ -5474,17 +5507,17 @@
"**"
],
"edition": "2021",
"version": "1.0.4"
"version": "1.0.5"
},
"license": "MIT OR Apache-2.0"
},
"predicates-tree 1.0.6": {
"predicates-tree 1.0.7": {
"name": "predicates-tree",
"version": "1.0.6",
"version": "1.0.7",
"repository": {
"Http": {
"url": "https://crates.io/api/v1/crates/predicates-tree/1.0.6/download",
"sha256": "ad3f7fa8d61e139cbc7c3edfebf3b6678883a53f5ffac65d1259329a93ee43a5"
"url": "https://crates.io/api/v1/crates/predicates-tree/1.0.7/download",
"sha256": "54ff541861505aabf6ea722d2131ee980b8276e10a1297b94e896dd8b621850d"
}
},
"targets": [
Expand All @@ -5509,7 +5542,7 @@
"deps": {
"common": [
{
"id": "predicates-core 1.0.4",
"id": "predicates-core 1.0.5",
"target": "predicates_core"
},
{
Expand All @@ -5520,7 +5553,7 @@
"selects": {}
},
"edition": "2021",
"version": "1.0.6"
"version": "1.0.7"
},
"license": "MIT OR Apache-2.0"
},
Expand Down Expand Up @@ -6725,9 +6758,9 @@
},
"license": "MIT OR Apache-2.0"
},
"selenium-manager 1.0.0-M1": {
"selenium-manager 1.0.0-M2": {
"name": "selenium-manager",
"version": "1.0.0-M1",
"version": "1.0.0-M2",
"repository": null,
"targets": [
{
Expand All @@ -6751,7 +6784,7 @@
"deps": {
"common": [
{
"id": "clap 4.0.22",
"id": "clap 4.0.24",
"target": "clap"
},
{
Expand All @@ -6762,6 +6795,10 @@
"id": "env_logger 0.9.3",
"target": "env_logger"
},
{
"id": "exitcode 1.1.2",
"target": "exitcode"
},
{
"id": "flate2 1.0.24",
"target": "flate2"
Expand Down Expand Up @@ -6823,7 +6860,7 @@
"selects": {}
},
"edition": "2021",
"version": "1.0.0-M1"
"version": "1.0.0-M2"
},
"license": null
},
Expand Down Expand Up @@ -8879,13 +8916,13 @@
},
"license": "MIT OR Apache-2.0"
},
"uuid 1.2.1": {
"uuid 1.2.2": {
"name": "uuid",
"version": "1.2.1",
"version": "1.2.2",
"repository": {
"Http": {
"url": "https://crates.io/api/v1/crates/uuid/1.2.1/download",
"sha256": "feb41e78f93363bb2df8b0e86a2ca30eed7806ea16ea0c790d757cf93f79be83"
"url": "https://crates.io/api/v1/crates/uuid/1.2.2/download",
"sha256": "422ee0de9031b5b948b97a8fc04e3aa35230001a722ddd27943e0be31564ce4c"
}
},
"targets": [
Expand All @@ -8912,7 +8949,7 @@
"std"
],
"edition": "2018",
"version": "1.2.1"
"version": "1.2.2"
},
"license": "Apache-2.0 OR MIT"
},
Expand Down Expand Up @@ -11190,7 +11227,7 @@
"deps": {
"common": [
{
"id": "cc 1.0.74",
"id": "cc 1.0.76",
"target": "cc"
}
],
Expand All @@ -11203,12 +11240,12 @@
},
"binary_crates": [
"assert_cmd 2.0.6",
"cc 1.0.74",
"clap 4.0.22",
"cc 1.0.76",
"clap 4.0.24",
"wait-timeout 0.2.0"
],
"workspace_members": {
"selenium-manager 1.0.0-M1": "rust"
"selenium-manager 1.0.0-M2": "rust"
},
"conditions": {
"aarch64-apple-darwin": [
Expand Down
Loading

0 comments on commit abde4ce

Please sign in to comment.