mirror of
https://github.com/lahfir/agent-desktop.git
synced 2026-08-09 00:17:27 +00:00
- Bump workspace edition 2021 → 2024 and MSRV 1.78 → 1.85. - Add [workspace.lints] block with project-wide rust/clippy policy: unsafe_op_in_unsafe_fn warn, unused_must_use deny, dbg_macro deny. - Migrate all extern "C" blocks to unsafe extern "C" (Edition 2024 req). - Migrate all #[no_mangle] to #[unsafe(no_mangle)] (Edition 2024 req). - Wrap unsafe operations inside unsafe fn bodies in explicit unsafe blocks via cargo fix. - Switch RefEntry::path from Vec<usize> to SmallVec<[usize; 8]> with serde+union features. Eliminates per-ref heap allocation for typical accessibility tree depths (<8) while serializing identically to the prior Vec form. - Strip non-doc-comments from workspace Cargo.toml. BREAKING CHANGE: minimum supported Rust version is now 1.85. Downstream consumers building from source must upgrade their toolchain. |
||
|---|---|---|
| .. | ||
| tests | ||
| batch.rs | ||
| Cargo.toml | ||
| cli.rs | ||
| cli_args.rs | ||
| cli_args_actions.rs | ||
| cli_args_notifications.rs | ||
| cli_args_skills.rs | ||
| cli_args_system.rs | ||
| command_contract_tests.rs | ||
| command_policy.rs | ||
| dispatch.rs | ||
| dispatch_notifications.rs | ||
| dispatch_parse.rs | ||
| help_after.txt | ||
| help_before.txt | ||
| main.rs | ||