```
feat(registry): 迁移至 Rust + Axum + SQLite 并新增编辑、分页和档案同步功能 - 后端从 Node.js 迁移到 Rust,使用 Axum 框架和 SQLite 存储 - 新增档案编辑对话框,支持修改机型、登记人及替换/删除照片 - 档案列表增加分页导航(每页20条) - 新增档案同步状态提示及手动重试同步按钮 - Node.js 原版后端及网页保留为回退方案,移至 legacy-web 目录 - 更新 .gitignore 添加 Rust 构建产物(target、dist) - 更新 README 文档,补充 Rust 启动、开发、检查及打包说明 - 启动源码版.cmd 默认转发至 Rust 版启动脚本 ```
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
[package]
|
||||
name = "fpv-rid-registry"
|
||||
version = "3.0.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
axum = "0.8"
|
||||
tokio = { version = "1", features = ["rt-multi-thread", "macros", "net", "signal"] }
|
||||
rusqlite = { version = "0.38", features = ["bundled", "backup"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
base64 = "0.22"
|
||||
rand = "0.9"
|
||||
chrono = "0.4"
|
||||
zip = { version = "4", default-features = false, features = ["deflate"] }
|
||||
rust_xlsxwriter = "0.90"
|
||||
fs2 = "0.4"
|
||||
regex = "1"
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile = "3"
|
||||
tower = { version = "0.5", features = ["util"] }
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
strip = true
|
||||
codegen-units = 1
|
||||
Reference in New Issue
Block a user