test: rustls + tokio 瘦身
This commit is contained in:
Generated
+241
-407
File diff suppressed because it is too large
Load Diff
+3
-3
@@ -6,9 +6,9 @@ description = "AI 智能助手"
|
||||
|
||||
[dependencies]
|
||||
# ── 异步运行时 ──
|
||||
tokio = { version = "1.0", features = ["full"] } # 异步运行时核心
|
||||
tokio = { version = "1.0", features = ["rt-multi-thread", "macros", "sync", "time", "process", "signal", "io-util"] } # 异步运行时核心
|
||||
# ── HTTP 客户端 ──
|
||||
reqwest = { version = "0.12", features = ["json", "stream", "gzip"] } # HTTP 请求(微信 API + DeepSeek API + 工具调用)
|
||||
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "rustls-tls"] } # HTTP 请求(微信 API + DeepSeek API + 工具调用)
|
||||
# ── 序列化 ──
|
||||
serde = { version = "1.0", features = ["derive"] } # 序列化/反序列化
|
||||
serde_json = "1.0" # JSON 处理
|
||||
@@ -37,7 +37,7 @@ async-trait = "0.1" # 异步 trait
|
||||
# ── 流式处理 ──
|
||||
futures-util = "0.3" # 流式处理工具
|
||||
# ── 数据库 ──
|
||||
sqlx = { version = "0.8.6", features = ["runtime-tokio-native-tls", "postgres", "uuid", "chrono", "derive", "migrate"] } # PostgreSQL
|
||||
sqlx = { version = "0.8.6", features = ["runtime-tokio-rustls", "postgres", "uuid", "chrono", "derive", "migrate"] } # PostgreSQL
|
||||
# ── 文件系统 ──
|
||||
dirs = "6.0.0" # 系统目录路径
|
||||
# ── HTML 解析 ──
|
||||
|
||||
Reference in New Issue
Block a user