refactor(config): 统一版本管理,移除冗余的 app_version 字段

- 移除 config/*.toml 中的 app_version 字段(代码中未使用)
- 版本号统一由 Cargo.toml 管理
- Cargo.lock 自动同步更新
- 更新 AGENTS.md 添加版本管理说明
This commit is contained in:
2026-04-19 20:35:12 +08:00
parent db7fa8e460
commit a91948a18c
5 changed files with 47 additions and 1 deletions

View File

@@ -118,6 +118,19 @@ APP_WECHAT_APPID=wx...
`环境变量 > production.toml > development.toml > default.toml`
### 版本管理
**版本号统一在 `Cargo.toml` 中管理**
```toml
[package]
name = "rust-backend"
version = "0.3.0" # 唯一版本定义
edition = "2024"
```
**不再使用 `app_version` 字段**(已移除)。
---
## 数据库