diff options
author | 2024-03-30 13:40:59 +0100 | |
---|---|---|
committer | 2024-03-30 13:40:59 +0100 | |
commit | c6745a22e79f0556a19b0d44a181fb9d8ed78f90 (patch) | |
tree | 988ae863d261cfb308b62d81ad3661d9716ec1cd /Cargo.toml | |
parent | 88c8a8d7c46bf1e6e7d8f09318f0fd4f23e4dbff (diff) |
✨ (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<Mutex> for shared state
♻️ (main.rs): add retry logic for persistent connection attempts
♻️ (subscription_listener.rs): make SubscriptionListener trait Send to allow cross-thread usage
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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"] } |