4ca8c413a6
- API 客户端使用完整后端 URL (localhost:3000) - 添加 tauri-plugin-http 支持外部 HTTP 请求 - 配置 CSP 允许连接 localhost - 同步 useChat hook 修复 WebSocket 错误处理
32 lines
713 B
TOML
32 lines
713 B
TOML
[package]
|
|
name = "ai-assistant-desktop"
|
|
version = "1.0.0"
|
|
description = "AI Terminal Assistant Desktop Application"
|
|
authors = ["AI Assistant Team"]
|
|
edition = "2021"
|
|
rust-version = "1.70"
|
|
|
|
[lib]
|
|
name = "ai_assistant_desktop_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[dependencies]
|
|
tauri = { version = "2", features = ["tray-icon"] }
|
|
tauri-plugin-shell = "2"
|
|
tauri-plugin-fs = "2"
|
|
tauri-plugin-dialog = "2"
|
|
tauri-plugin-http = "2"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tokio = { version = "1", features = ["full"] }
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
codegen-units = 1
|
|
lto = true
|
|
opt-level = "s"
|
|
strip = true
|