[package]
edition = "2024"
rust-version = "1.85"
name = "finlight-client"
version = "0.1.1"
authors = ["finlight.me <info@finlight.me>"]
build = false
exclude = [
".github/",
"local/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Official Rust client for the finlight.me API — financial news with sentiment analysis, entity recognition, and real-time streaming"
homepage = "https://finlight.me"
documentation = "https://docs.rs/finlight-client"
readme = "README.md"
keywords = [
"finance",
"news",
"api-client",
"websocket",
"streaming",
]
categories = [
"api-bindings",
"finance",
"asynchronous",
]
license = "MIT"
repository = "https://github.com/callbk/finlight-client-rust"
[lib]
name = "finlight_client"
path = "src/lib.rs"
[[example]]
name = "smoke"
path = "examples/smoke.rs"
[[test]]
name = "api_client"
path = "tests/api_client.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "models"
path = "tests/models.rs"
[[test]]
name = "webhook"
path = "tests/webhook.rs"
[[test]]
name = "websocket"
path = "tests/websocket.rs"
[dependencies.chrono]
version = "0.4.45"
features = ["serde"]
[dependencies.futures-core]
version = "0.3.33"
[dependencies.futures-util]
version = "0.3.33"
[dependencies.hex]
version = "0.4.3"
[dependencies.hmac]
version = "0.13.0"
[dependencies.reqwest]
version = "0.13.4"
features = [
"json",
"query",
"rustls",
]
default-features = false
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.151"
[dependencies.sha2]
version = "0.11.0"
[dependencies.thiserror]
version = "2.0.20"
[dependencies.tokio]
version = "1.53.1"
features = [
"rt",
"time",
"sync",
"macros",
"net",
]
default-features = false
[dependencies.tokio-tungstenite]
version = "0.30.0"
features = ["rustls-tls-webpki-roots"]
[dependencies.tracing]
version = "0.1.44"
[dependencies.uuid]
version = "1.24.0"
features = ["v4"]
[dev-dependencies.axum]
version = "0.8.9"
features = ["ws"]
[dev-dependencies.futures]
version = "0.3.33"
[dev-dependencies.tokio]
version = "1.53.1"
features = [
"rt-multi-thread",
"full",
]
[dev-dependencies.tracing-subscriber]
version = "0.3.23"
features = ["env-filter"]