Fundamental_Analysis/services/yfinance-provider-service/Cargo.toml
Lv, Qi c8be576526 fix(yfinance): enable crumb auth and fix config loading
- Enable dynamic config loading from DB to respect enabled status
- Implement Yahoo Finance Crumb authentication flow
- Add browser-like User-Agent and cookie store
- Map .SH symbols to .SS for Yahoo compatibility
- Add Google DNS to docker-compose to fix container resolution issues
2025-11-19 06:53:14 +08:00

46 lines
1015 B
TOML

[package]
name = "yfinance-provider-service"
version = "0.1.0"
edition = "2024"
[dependencies]
# Web Service
axum = "0.8.7"
tokio = { version = "1.0", features = ["full"] }
tower-http = { version = "0.6.6", features = ["cors"] }
# Shared Contracts
common-contracts = { path = "../common-contracts" }
# Message Queue (NATS)
async-nats = "0.45.0"
futures = "0.3"
futures-util = "0.3.31"
# Data Persistence Client
reqwest = { version = "0.12.24", features = ["json", "cookies"] }
# Concurrency & Async
async-trait = "0.1.80"
dashmap = "6.1.0"
uuid = { version = "1.6", features = ["v4", "serde"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Logging & Telemetry
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Configuration
config = "0.15.19"
secrecy = { version = "0.10.3", features = ["serde"] }
# Error Handling
thiserror = "2.0.17"
anyhow = "1.0"
chrono = { version = "0.4.38", features = ["serde"] }
itertools = "0.14.0"