From c6745a22e79f0556a19b0d44a181fb9d8ed78f90 Mon Sep 17 00:00:00 2001 From: Daniel López Azaña Date: Sat, 30 Mar 2024 13:40:59 +0100 Subject: ✨ (Cargo.toml): add signal-hook dependency for signal handling ♻️ (client_listener.rs): make ClientListener trait Send to allow cross-thread usage ✨ (main.rs): implement signal handling for graceful shutdown ♻️ (main.rs): refactor client creation to use Arc for shared state ♻️ (main.rs): add retry logic for persistent connection attempts ♻️ (subscription_listener.rs): make SubscriptionListener trait Send to allow cross-thread usage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index a4354c3..1f3faaa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,5 +18,6 @@ reqwest = { version = "0", features = ["json", "stream"] } serde = { version = "1", features = ["derive"] } serde_json = { version = "1" } serde_urlencoded = "0" +signal-hook = "0" tokio = { version = "1", features = ["macros", "rt-multi-thread"] } tokio-tungstenite = { version = "0", features = ["native-tls"] } -- cgit v1.2.3