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

@@ -5,9 +5,15 @@
## 当前里程碑
**M1.2 — 进行中** 🔄
- 集成测试全部编写完毕ServiceManager 8 + HTTP路由 9 + 动态插件 15 = 32 个)
- **阻塞项**:待 Linux ARM64 运行 `cargo test --workspace` 验收 + git commit
---
**M1.1 — 完成**
- 30 个提交Phase 1 骨架 + 功能迁移 + 动态插件 + DevicePlugin 阶段一/二
- 77/77 测试通过,零 warning
- 115/115 测试通过107 核心 + 8 集成),零 warningM1.1结束时77/77M1.2期间增至115
- DevicePlugin: Display + SleepInhibit + Backlight + Cursor (Linux ARM64)
- ScreenPlugin 重构为 thin wrapper