From f42da615be7c994581b49ed9d5c17325b904b8f6 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 22 Nov 2024 09:54:19 +0000 Subject: feat(login): auto-proceed upon signer response don't ask the user to press any key to proceed once the signer successfully responds. various approaches were to tried await either any key press or the signer reponse such as `tokio::oneshot`, `tokio::mpsc` and `tokio::watch` but all would keep the process running until key press. this solution of aborting with `signal::ctrl_c` prevents the work around of asking the user to press any key upon the signer reponse. --- test_utils/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test_utils') diff --git a/test_utils/Cargo.toml b/test_utils/Cargo.toml index 5f88d8d..d27ecc0 100644 --- a/test_utils/Cargo.toml +++ b/test_utils/Cargo.toml @@ -19,5 +19,5 @@ rand = "0.8" rexpect = { git = "https://github.com/rust-cli/rexpect.git", rev = "9eb61dd" } simple-websockets = { git = "https://github.com/DanConwayDev/simple-websockets", branch= "auto-release-port" } strip-ansi-escapes = "0.2.0" -tokio = "1.33.0" +tokio = { version = "1.40.0", features = ["full"] } tungstenite = "0.20.1" -- cgit v1.2.3