chore: upgrade Rust edition 2018 2021

- Cargo.toml: edition 2021
- plugin-sdk/Cargo.toml: edition 2021
- plugins/example-plugin/Cargo.toml: edition 2021

Rust 2021 edition 带来更好的闭包捕获规则、IntoIterator for arrays 等改进。
This commit is contained in:
2026-03-31 23:21:57 +08:00
parent d30c111c71
commit 47d6b06ced
9 changed files with 1708 additions and 28 deletions

View File

@@ -35,24 +35,30 @@
---
### M1.2 - 集成测试与功能对齐
**时间**: 2周2026-03-26 ~ 2026-04-09
**负责人**: PM 刘建国 + QA(待招募)
**时间**: 2周2026-03-19 ~ 2026-04-02
**负责人**: PM 刘建国 + QA 周雅婷/林晓峰
> ⚠️ **进度以 CLAUDE.md 为准**,本文件仅保留任务清单。
**任务清单**:
- [ ] 端到端集成测试
- [ ] 功能对比测试vs 旧版本
- [x] ServiceManager 集成测试 (8个) — 周雅婷
- [x] HTTP API 路由集成测试 (9个) — 赵雨薇(待 Linux 验收
- [x] 动态插件集成测试 (15个) — 张明远(待 Linux 验收)
- [x] 插件管理 API 闭环修复 — 张明远
- [ ] Linux ARM64 `cargo test --workspace` 验收通过
- [ ] 风险3 WifiProvisioned/DeviceEvent 代码核查 — 王浩然
- [ ] git commit 三个测试文件
- [ ] PROGRESS.md 更新 + tag
- [ ] 边界条件测试
- [ ] 错误处理测试
- [ ] 配置文件兼容性测试
- [ ] Bug 修复
**验收标准**:
- 所有旧版本功能都能正常工作
- 测试覆盖率 > 70%
- 已知 bug 清零
- cargo test --workspace 全部通过(预期 139/139
- 风险3消息链路已核查结论
- 已知 P0/P1 bug 清零
**当前进度**: 0%
**风险**: 可能发现架构问题需要重构
**当前进度**: ~70%(集成测试编写完毕,验收阻塞)
**风险**: 新测试在 Linux ARM64 可能有编译或运行时问题
---