- 添加Cargo.toml配置文件,定义项目元信息和依赖项 - 实现配置管理模块(ConfigManager),支持JSON配置读写 - 添加爬虫模块(SpiderManager),支持网页内容抓取和解析 - 实现数据库模块(DatabaseManager),使用SQLite存储评论数据 - 添加LLM分析模块(LLMAnalyzer),支持调用AI接口进行情绪分析 - 实现UI界面模块,包含指标显示和波形图绘制功能 - 添加项目文档和截图资源
43 lines
874 B
TOML
43 lines
874 B
TOML
[package]
|
|
name = "guba"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
authors = ["Guba Developer"]
|
|
description = "股吧人气指示器 - 基于Rust的情感分析工具"
|
|
|
|
[dependencies]
|
|
tokio = { version = "1", features = ["full"] }
|
|
reqwest = { version = "0.12", features = ["json"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
rusqlite = { version = "0.32", features = ["bundled"] }
|
|
log = "0.4"
|
|
env_logger = "0.11"
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
sha2 = "0.10"
|
|
hex = "0.4"
|
|
regex = "1.10"
|
|
thiserror = "2.0"
|
|
once_cell = "1.19"
|
|
parking_lot = "0.12"
|
|
dirs = "6.0"
|
|
|
|
[dependencies.egui]
|
|
version = "0.29"
|
|
features = ["default", "persistence"]
|
|
|
|
[dependencies.eframe]
|
|
version = "0.29"
|
|
default-features = false
|
|
features = ["default", "glow"]
|
|
|
|
[build-dependencies]
|
|
|
|
[features]
|
|
default = []
|
|
|
|
[profile.release]
|
|
lto = true
|
|
opt-level = "z"
|
|
strip = true
|