From 0df3418581298ad32ffaa3c615b020593ab8a028 Mon Sep 17 00:00:00 2001 From: Guillaume PELLEGRINO Date: Sun, 17 Mar 2024 14:45:43 +0100 Subject: [PATCH] Upstep tokiocli --- Cargo.lock | 2 +- Cargo.toml | 4 ++-- src/acscli.rs | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1c1ffda..1c8da1e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "acsrs" -version = "0.4.2" +version = "0.5.0" dependencies = [ "base64", "bytes", diff --git a/Cargo.toml b/Cargo.toml index 09ff7a8..372efd9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "acsrs" -version = "0.5.0" +version = "0.5.1" edition = "2021" description = "A simple ACS written in rust" readme = "README.md" @@ -44,7 +44,7 @@ daemonize = "0.5.0" eyre = "0.6.8" flume = "0.10.14" termios = "0.3.3" -tokiocli = "0.1.0" +tokiocli = "0.1.2" log = "0.4.17" simplelog = "0.12.1" syslog = "6.1.0" diff --git a/src/acscli.rs b/src/acscli.rs index 7f8e4f5..e498d11 100644 --- a/src/acscli.rs +++ b/src/acscli.rs @@ -566,6 +566,9 @@ impl AcsCli { println!("Error: {:?}", err); } }, + Action::NoAction => { + self.exit = true; + }, } if self.exit { break;