5 Commits

Author SHA1 Message Date
daniloaz
65282048ae ⬆️ (Cargo.toml): Bump lightstreamer-client version from 0.1.8 to 0.1.9
 (Cargo.toml): Add colored dependency to enhance console output
📝 (README.md): Overhaul documentation to provide comprehensive details about the project, its features, usage, and contribution guidelines
💡 (client_listener.rs, client_message_listener.rs): Add newline at end of file to adhere to POSIX standards

♻️ (connection_options.rs): Refactor code to improve readability and maintainability
🐛 (connection_options.rs): Rename 'reduce_head' to '_reduce_head' to indicate unused variable
♻️ (error.rs): Reorder imports and adjust formatting for consistency
♻️ (item_update.rs): Refactor code to improve readability and maintainability
♻️ (lib.rs): Reorder module imports for better organization

♻️ (ls_client.rs): Refactor code to improve readability and maintainability
💡 (main.rs): Update print statements to use colored output for changed fields
🐛 (main.rs): Fix import order to follow Rust's idiomatic style
🐛 (proxy.rs, subscription.rs, subscription_listener.rs): Add newline at end of file to follow POSIX standard
♻️ (subscription.rs, subscription_listener.rs): Refactor code to improve readability and maintainability

📝 (util.rs): Add newline at end of file to adhere to POSIX standards
2024-04-13 21:24:12 +02:00
Daniel López Azaña
7d7f380e30 ⬆️ (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
2024-04-07 21:14:31 +02:00
Daniel López Azaña
c6745a22e7 (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
2024-03-30 13:40:59 +01:00
Daniel López Azaña
e1c0e90581 (client_listener.rs): Implement Debug trait for ClientListener for better logging
♻️ (connection_details.rs): Refactor ConnectionDetails to use Option for optional fields
♻️ (connection_details.rs): Change new constructor to accept &str and convert to String
 (connection_details.rs): Implement Debug trait for ConnectionDetails
♻️ (connection_options.rs): Implement Debug trait for ConnectionOptions
♻️ (lightstreamer_client.rs): Refactor LightstreamerClient to use Option for server_address and adapter_set
 (lightstreamer_client.rs): Implement Debug trait for LightstreamerClient
♻️ (main.rs): Update subscribe_to_channel function to use new control.txt URL and parameters
♻️ (main.rs): Update main function to use Option<&str> when creating LightstreamerClient
 (proxy.rs): Add Proxy struct and ProxyType enum to handle proxy configurations
2024-03-28 19:19:46 +01:00
daniloaz
7e1eb27a06 Created structure and scaffolding for the Lightstreamer client. 2024-03-24 20:39:43 +01:00