2669861af1
- 删除旧邮件查询兼容路由 GET /mail-api/messages、/mail-api/messages/{id}、/mail-api/search
- 所有 JSON API 统一使用 /v1/...:邮件、上下文记忆、动态页面创建和健康检查接口
- 页面路由保持非 /v1 地址:/mail、/mail/messages/{id}、/mail/{slug}、/web/{page_type}/{slug}、/updates
- AI 内部工具调用同步改用 /v1/web/pages 与 /v1/context/memories...
- 无数据库结构变化,新增 0.1.14 升级日志记录
26 lines
573 B
TOML
26 lines
573 B
TOML
[package]
|
|
name = "ias-main"
|
|
version = "0.1.14"
|
|
edition = "2024"
|
|
|
|
[[bin]]
|
|
name = "ias-main"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
ias-service = { path = "../ias-service" }
|
|
ias-mail = { path = "../ias-mail" }
|
|
clap = { version = "4.6.1", features = ["derive"] }
|
|
anyhow = "1"
|
|
sqlx = { version = "0.9.0", features = [
|
|
"runtime-tokio",
|
|
"tls-rustls",
|
|
"postgres",
|
|
"migrate",
|
|
"chrono",
|
|
] }
|
|
tokio = { version = "1.0", features = ["rt-multi-thread", "macros"] }
|
|
dotenvy = "0.15.7"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|