From 614579b8b6402eb0e8f64730d972f638975efc7c Mon Sep 17 00:00:00 2001 From: Nils Andreas Svee Date: Mon, 24 Aug 2026 16:13:23 +0700 Subject: [PATCH] build(app): enable termination feature for ctrlc dependency Enable the termination feature to allow the application to handle SIGTERM signals gracefully, ensuring proper cleanup during shutdown. --- crates/irtt-app/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/irtt-app/Cargo.toml b/crates/irtt-app/Cargo.toml index 864763b..7785920 100644 --- a/crates/irtt-app/Cargo.toml +++ b/crates/irtt-app/Cargo.toml @@ -49,7 +49,7 @@ tui =["dep:irtt-client", "irtt-client/ancillary", "irtt-client/tokio", "dep:irtt [dependencies] clap = { version = "4.6.6", features = ["derive", "env"] } crossterm = { version = "0.29.0", optional = true } -ctrlc = "3.5.2" +ctrlc = { version = "3.5.2", features = ["termination"] } irtt-client = { workspace = true, optional = true } irtt-proto = { workspace = true, optional = true } irtt-server = { workspace = true, optional = true }