From 7d7f380e3075be51198f0ad457cc766f0641d984 Mon Sep 17 00:00:00 2001 From: Daniel López Azaña Date: Sun, 7 Apr 2024 21:14:31 +0200 Subject: ⬆️ (Cargo.toml): bump version from 0.1.6 to 0.1.7 for new release ♻️ (various): refactor code to use underscore prefix for unused variables ✨ (ls_client.rs): add constants for WebSocket connection setup ✨ (various): add unimplemented!() stubs for methods to be implemented 🔥 (main.rs): remove unused imports and commented code 🔥 (ls_client.rs): remove unused HashMap import and commented code 🐛 (subscription.rs): fix get_command_value to correctly format key before lookup 🔧 (Cargo.toml): remove hyper dependency as it's no longer used MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.rs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 901dd22..fbb50ba 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,20 +1,13 @@ -use hyper::client; use lightstreamer_client::item_update::ItemUpdate; use lightstreamer_client::ls_client::{LightstreamerClient, Transport}; use lightstreamer_client::subscription::{Snapshot, Subscription, SubscriptionMode}; use lightstreamer_client::subscription_listener::SubscriptionListener; -use futures::stream::StreamExt; -use futures::SinkExt; -use reqwest::Client; -use serde_urlencoded; use signal_hook::low_level::signal_name; use signal_hook::{consts::SIGINT, consts::SIGTERM, iterator::Signals}; use std::error::Error; -use std::sync::atomic::{AtomicBool, Ordering}; use std::sync::Arc; use tokio::sync::{Notify, Mutex}; -use tokio_tungstenite::{connect_async, tungstenite::protocol::Message}; const MAX_CONNECTION_ATTEMPTS: u64 = 1; -- cgit v1.2.3