chore(tauri): 移除已弃用的 Rust 内嵌后端(消除 52 个编译警告)

- 删除 server/storage/models/events 四模块(axum :10801 后端,功能已全部由 Python 后端 :10085 承担)
- lib.rs:删除 mod 声明,Rust 侧仅保留窗口与生命周期
- Cargo.toml:移除 axum/tower-http/tower/tokio/uuid/chrono/dirs/futures/rust-embed 等 12 个依赖
- cargo check 0 警告,编译更快
This commit is contained in:
Pine
2026-08-18 01:43:25 +08:00
parent 4e8ae4024a
commit 0dd63b1558
7 changed files with 2 additions and 1268 deletions
+2 -4
View File
@@ -1,7 +1,5 @@
mod events;
mod models;
mod server;
mod storage;
// 说明:早期 Rust 内嵌后端(server/storage/models/eventsaxum :10801)已随架构迁移到
// Python 后端(FastAPI :10085)而移除;当前 Rust 侧仅负责窗口与生命周期。
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {