✨ (ls_client.rs): add TLCP_VERSION constant for protocol version tracking ♻️ (ls_client.rs): remove commented-out code and unused println for cleaner codebase ♻️ (ls_client.rs): use TLCP_VERSION constant instead of hardcoded protocol string ✨ (ls_client.rs): handle 'reqok' server message for better server communication ♻️ (subscription.rs): change error type to Box<dyn Error> for more generic error handling 🐛 (subscription.rs): fix error message to be more descriptive when items or fields are missing
26 lines
992 B
TOML
26 lines
992 B
TOML
[package]
|
|
name = "lightstreamer-client"
|
|
version = "0.1.5"
|
|
edition = "2021"
|
|
authors = ["Daniel López Azaña <daniloaz@gmail.com>"]
|
|
description = "A Rust client for Lightstreamer, designed to facilitate real-time communication with Lightstreamer servers."
|
|
license = "GPL-3.0-only"
|
|
repository = "https://github.com/daniloaz/lightstreamer-client"
|
|
documentation = "https://github.com/daniloaz/lightstreamer-client#readme"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
cookie = { version = "0", features = ["percent-encode"]}
|
|
futures = "0"
|
|
futures-util = "0"
|
|
hyper = { version = "1", features = ["full"] }
|
|
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"] }
|
|
url = "2"
|