From 84bb5ea2f57bdd33285767f16f014eb2f50a2763 Mon Sep 17 00:00:00 2001 From: Antonio Yang Date: Thu, 11 Jul 2024 23:21:07 +0800 Subject: [PATCH] update test dependencies --- Cargo.lock | 47 ++++++++++++++++++-------------------- Cargo.toml | 4 ++-- examples/runner/Cargo.lock | 14 ++++++++++-- 3 files changed, 36 insertions(+), 29 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bfab21b..7879f54 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -317,19 +317,6 @@ version = "0.8.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" -[[package]] -name = "dashmap" -version = "5.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" -dependencies = [ - "cfg-if", - "hashbrown 0.14.5", - "lock_api", - "once_cell", - "parking_lot_core", -] - [[package]] name = "either" version = "1.13.0" @@ -700,12 +687,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "lazy_static" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" - [[package]] name = "libc" version = "0.2.155" @@ -1291,6 +1272,15 @@ version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" +[[package]] +name = "scc" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af947d0ca10a2f3e00c7ec1b515b7c83e5cb3fa62d4c11a64301d9eec54440e9" +dependencies = [ + "sdd", +] + [[package]] name = "schannel" version = "0.1.23" @@ -1306,6 +1296,12 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" +[[package]] +name = "sdd" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b84345e4c9bd703274a082fb80caaa99b7612be48dfaa1dd9266577ec412309d" + [[package]] name = "seahash" version = "4.1.0" @@ -1386,23 +1382,23 @@ dependencies = [ [[package]] name = "serial_test" -version = "2.0.0" +version = "3.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e56dd856803e253c8f298af3f4d7eb0ae5e23a737252cd90bb4f3b435033b2d" +checksum = "4b4b487fe2acf240a021cf57c6b2b4903b1e78ca0ecd862a71b71d2a51fed77d" dependencies = [ - "dashmap", "futures", - "lazy_static", "log", + "once_cell", "parking_lot", + "scc", "serial_test_derive", ] [[package]] name = "serial_test_derive" -version = "2.0.0" +version = "3.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91d129178576168c589c9ec973feedf7d3126c01ac2bf08795109aa35b69fb8f" +checksum = "82fe9db325bcef1fbcde82e078a5cc4efdf787e96b3b9cf45b50b529f2083d67" dependencies = [ "proc-macro2", "quote", @@ -1635,6 +1631,7 @@ dependencies = [ "bytes", "libc", "mio", + "num_cpus", "pin-project-lite", "socket2 0.5.7", "tokio-macros", diff --git a/Cargo.toml b/Cargo.toml index 27d3bce..f41f521 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -44,7 +44,7 @@ user = ["uzers"] executable = ["which"] [dev-dependencies] -tokio = { version = "1.15.0", features = ["rt", "macros"] } -serial_test = "2.0.0" +tokio = { version = "1.38.0", features = ["rt", "rt-multi-thread", "macros"] } +serial_test = "3.1.1" libtest-with = { version = "0.7.0-0", features = ["net", "resource", "user", "executable"] } rstest = "0.21.0" diff --git a/examples/runner/Cargo.lock b/examples/runner/Cargo.lock index b701f0f..46f84b6 100644 --- a/examples/runner/Cargo.lock +++ b/examples/runner/Cargo.lock @@ -1148,7 +1148,7 @@ dependencies = [ [[package]] name = "test-with" -version = "0.12.4" +version = "0.13.0" dependencies = [ "byte-unit", "num_cpus", @@ -1160,7 +1160,7 @@ dependencies = [ "reqwest", "syn 2.0.28", "sysinfo", - "users", + "uzers", "which", ] @@ -1335,6 +1335,16 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" +[[package]] +name = "uzers" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76d283dc7e8c901e79e32d077866eaf599156cbf427fffa8289aecc52c5c3f63" +dependencies = [ + "libc", + "log", +] + [[package]] name = "vcpkg" version = "0.2.15"