Skip to content

Commit

Permalink
[rust] Use pure Rust implementation for which command (SeleniumHQ#14114)
Browse files Browse the repository at this point in the history
* [rust] Use pure Rust implementation for which command

* [rust] Temporal disable of windows worker to run tests in CI

* Revert "[rust] Temporal disable of windows worker to run tests in CI"

This reverts commit 1b88d56.
  • Loading branch information
bonigarcia authored and sandeepsuryaprasad committed Oct 29, 2024
1 parent d670a6b commit c2e1bf7
Show file tree
Hide file tree
Showing 5 changed files with 318 additions and 40 deletions.
282 changes: 276 additions & 6 deletions rust/Cargo.Bazel.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "14dbf17d9e872e55d0e978b15ce60660603017dfddf7a924539a1085d1255e3f",
"checksum": "2e41cb73375f93664a33a387f57c14d87cccc43361197a1b4f325e2bc05f6954",
"crates": {
"addr2line 0.21.0": {
"name": "addr2line",
Expand Down Expand Up @@ -3713,6 +3713,52 @@
],
"license_file": "LICENSE"
},
"either 1.12.0": {
"name": "either",
"version": "1.12.0",
"package_url": "https://github.com/rayon-rs/either",
"repository": {
"Http": {
"url": "https://static.crates.io/crates/either/1.12.0/download",
"sha256": "3dca9240753cf90908d7e4aac30f630662b02aebaa1b58a3cadabdb23385b58b"
}
},
"targets": [
{
"Library": {
"crate_name": "either",
"crate_root": "src/lib.rs",
"srcs": {
"allow_empty": false,
"include": [
"**/*.rs"
]
}
}
}
],
"library_target_name": "either",
"common_attrs": {
"compile_data_glob": [
"**"
],
"crate_features": {
"common": [
"default",
"use_std"
],
"selects": {}
},
"edition": "2018",
"version": "1.12.0"
},
"license": "MIT OR Apache-2.0",
"license_ids": [
"Apache-2.0",
"MIT"
],
"license_file": "LICENSE-APACHE"
},
"encoding_rs 0.8.34": {
"name": "encoding_rs",
"version": "0.8.34",
Expand Down Expand Up @@ -5814,6 +5860,56 @@
],
"license_file": "LICENSE-APACHE"
},
"home 0.5.9": {
"name": "home",
"version": "0.5.9",
"package_url": "https://github.com/rust-lang/cargo",
"repository": {
"Http": {
"url": "https://static.crates.io/crates/home/0.5.9/download",
"sha256": "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5"
}
},
"targets": [
{
"Library": {
"crate_name": "home",
"crate_root": "src/lib.rs",
"srcs": {
"allow_empty": false,
"include": [
"**/*.rs"
]
}
}
}
],
"library_target_name": "home",
"common_attrs": {
"compile_data_glob": [
"**"
],
"deps": {
"common": [],
"selects": {
"cfg(windows)": [
{
"id": "windows-sys 0.52.0",
"target": "windows_sys"
}
]
}
},
"edition": "2021",
"version": "0.5.9"
},
"license": "MIT OR Apache-2.0",
"license_ids": [
"Apache-2.0",
"MIT"
],
"license_file": "LICENSE-APACHE"
},
"http 0.2.12": {
"name": "http",
"version": "0.2.12",
Expand Down Expand Up @@ -11581,10 +11677,6 @@
"id": "infer 0.15.0",
"target": "infer"
},
{
"id": "is_executable 1.0.1",
"target": "is_executable"
},
{
"id": "log 0.4.21",
"target": "log"
Expand Down Expand Up @@ -11629,6 +11721,10 @@
"id": "walkdir 2.5.0",
"target": "walkdir"
},
{
"id": "which 6.0.1",
"target": "which"
},
{
"id": "zip 1.3.0",
"target": "zip"
Expand All @@ -11642,6 +11738,10 @@
"id": "assert_cmd 2.0.14",
"target": "assert_cmd"
},
{
"id": "is_executable 1.0.1",
"target": "is_executable"
},
{
"id": "rstest 0.19.0",
"target": "rstest"
Expand Down Expand Up @@ -16115,6 +16215,72 @@
],
"license_file": "LICENSE"
},
"which 6.0.1": {
"name": "which",
"version": "6.0.1",
"package_url": "https://github.com/harryfei/which-rs.git",
"repository": {
"Http": {
"url": "https://static.crates.io/crates/which/6.0.1/download",
"sha256": "8211e4f58a2b2805adfbefbc07bab82958fc91e3836339b1ab7ae32465dce0d7"
}
},
"targets": [
{
"Library": {
"crate_name": "which",
"crate_root": "src/lib.rs",
"srcs": {
"allow_empty": false,
"include": [
"**/*.rs"
]
}
}
}
],
"library_target_name": "which",
"common_attrs": {
"compile_data_glob": [
"**"
],
"deps": {
"common": [
{
"id": "either 1.12.0",
"target": "either"
}
],
"selects": {
"cfg(any(unix, target_os = \"wasi\", target_os = \"redox\"))": [
{
"id": "rustix 0.38.34",
"target": "rustix"
}
],
"cfg(any(windows, unix, target_os = \"redox\"))": [
{
"id": "home 0.5.9",
"target": "home"
}
],
"cfg(windows)": [
{
"id": "winsafe 0.0.19",
"target": "winsafe"
}
]
}
},
"edition": "2021",
"version": "6.0.1"
},
"license": "MIT",
"license_ids": [
"MIT"
],
"license_file": "LICENSE.txt"
},
"winapi 0.3.9": {
"name": "winapi",
"version": "0.3.9",
Expand Down Expand Up @@ -16539,11 +16705,14 @@
"Win32_Storage",
"Win32_Storage_FileSystem",
"Win32_System",
"Win32_System_Com",
"Win32_System_Console",
"Win32_System_IO",
"Win32_System_SystemInformation",
"Win32_System_Threading",
"Win32_System_WindowsProgramming",
"Win32_UI",
"Win32_UI_Shell",
"default"
],
"selects": {}
Expand Down Expand Up @@ -17868,6 +18037,50 @@
],
"license_file": "LICENSE"
},
"winsafe 0.0.19": {
"name": "winsafe",
"version": "0.0.19",
"package_url": "https://github.com/rodrigocfd/winsafe",
"repository": {
"Http": {
"url": "https://static.crates.io/crates/winsafe/0.0.19/download",
"sha256": "d135d17ab770252ad95e9a872d365cf3090e3be864a34ab46f48555993efc904"
}
},
"targets": [
{
"Library": {
"crate_name": "winsafe",
"crate_root": "src/lib.rs",
"srcs": {
"allow_empty": false,
"include": [
"**/*.rs"
]
}
}
}
],
"library_target_name": "winsafe",
"common_attrs": {
"compile_data_glob": [
"**"
],
"crate_features": {
"common": [
"kernel"
],
"selects": {}
},
"edition": "2021",
"version": "0.0.19"
},
"license": "MIT",
"license_ids": [
"MIT"
],
"license_file": "LICENSE.md"
},
"x509-certificate 0.23.1": {
"name": "x509-certificate",
"version": "0.23.1",
Expand Down Expand Up @@ -18837,6 +19050,62 @@
"x86_64-unknown-linux-gnu",
"x86_64-unknown-nixos-gnu"
],
"cfg(any(unix, target_os = \"wasi\", target_os = \"redox\"))": [
"aarch64-apple-darwin",
"aarch64-apple-ios",
"aarch64-apple-ios-sim",
"aarch64-fuchsia",
"aarch64-linux-android",
"aarch64-unknown-linux-gnu",
"aarch64-unknown-nixos-gnu",
"aarch64-unknown-nto-qnx710",
"arm-unknown-linux-gnueabi",
"armv7-linux-androideabi",
"armv7-unknown-linux-gnueabi",
"i686-apple-darwin",
"i686-linux-android",
"i686-unknown-freebsd",
"i686-unknown-linux-gnu",
"powerpc-unknown-linux-gnu",
"s390x-unknown-linux-gnu",
"wasm32-wasi",
"x86_64-apple-darwin",
"x86_64-apple-ios",
"x86_64-fuchsia",
"x86_64-linux-android",
"x86_64-unknown-freebsd",
"x86_64-unknown-linux-gnu",
"x86_64-unknown-nixos-gnu"
],
"cfg(any(windows, unix, target_os = \"redox\"))": [
"aarch64-apple-darwin",
"aarch64-apple-ios",
"aarch64-apple-ios-sim",
"aarch64-fuchsia",
"aarch64-linux-android",
"aarch64-pc-windows-msvc",
"aarch64-unknown-linux-gnu",
"aarch64-unknown-nixos-gnu",
"aarch64-unknown-nto-qnx710",
"arm-unknown-linux-gnueabi",
"armv7-linux-androideabi",
"armv7-unknown-linux-gnueabi",
"i686-apple-darwin",
"i686-linux-android",
"i686-pc-windows-msvc",
"i686-unknown-freebsd",
"i686-unknown-linux-gnu",
"powerpc-unknown-linux-gnu",
"s390x-unknown-linux-gnu",
"x86_64-apple-darwin",
"x86_64-apple-ios",
"x86_64-fuchsia",
"x86_64-linux-android",
"x86_64-pc-windows-msvc",
"x86_64-unknown-freebsd",
"x86_64-unknown-linux-gnu",
"x86_64-unknown-nixos-gnu"
],
"cfg(fuzzing)": [],
"cfg(not(all(windows, target_env = \"msvc\", not(target_vendor = \"uwp\"))))": [
"aarch64-apple-darwin",
Expand Down Expand Up @@ -19124,7 +19393,6 @@
"exitcode 1.1.2",
"flate2 1.0.30",
"infer 0.15.0",
"is_executable 1.0.1",
"log 0.4.21",
"regex 1.10.4",
"reqwest 0.12.4",
Expand All @@ -19136,10 +19404,12 @@
"tokio 1.37.0",
"toml 0.8.13",
"walkdir 2.5.0",
"which 6.0.1",
"zip 1.3.0"
],
"direct_dev_deps": [
"assert_cmd 2.0.14",
"is_executable 1.0.1",
"rstest 0.19.0"
]
}
Loading

0 comments on commit c2e1bf7

Please sign in to comment.