chore: 更新Rust构建缓存和依赖文件
This commit is contained in:
63
Cargo.toml
Normal file
63
Cargo.toml
Normal file
@@ -0,0 +1,63 @@
|
||||
[package]
|
||||
name = "guba-sentiment-indicator"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
authors = ["Your Name"]
|
||||
description = "股吧人气指示器 - Rust版本"
|
||||
|
||||
[dependencies]
|
||||
# 异步运行时
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
|
||||
# HTTP客户端
|
||||
reqwest = { version = "0.12", features = ["json", "cookies"] }
|
||||
|
||||
# HTML解析
|
||||
scraper = "0.22"
|
||||
|
||||
# JSON处理
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
|
||||
# 数据库
|
||||
rusqlite = { version = "0.33", features = ["bundled", "chrono"] }
|
||||
|
||||
# 日志
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
|
||||
|
||||
# 时间处理
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
|
||||
# 错误处理
|
||||
anyhow = "1.0"
|
||||
thiserror = "2.0"
|
||||
|
||||
# 配置管理
|
||||
dirs = "6.0"
|
||||
|
||||
# 哈希
|
||||
md-5 = "0.10"
|
||||
|
||||
# GUI - 使用egui
|
||||
eframe = { version = "0.31", features = ["default"] }
|
||||
egui = "0.31"
|
||||
|
||||
# 图像处理
|
||||
image = { version = "0.25", default-features = false, features = ["png"] }
|
||||
|
||||
# 正则表达式
|
||||
regex = "1.11"
|
||||
|
||||
# 并发
|
||||
parking_lot = "0.12"
|
||||
|
||||
# 工具库
|
||||
once_cell = "1.21"
|
||||
|
||||
# 随机数
|
||||
rand = "0.8"
|
||||
|
||||
[profile.release]
|
||||
opt-level = 3
|
||||
lto = true
|
||||
Reference in New Issue
Block a user