0.1.0-1-alpha.2-fix.5
This commit is contained in:
69
deltas/0.1.0/1-alpha.2.fix.5.md
Normal file
69
deltas/0.1.0/1-alpha.2.fix.5.md
Normal file
@@ -0,0 +1,69 @@
|
||||
<!-- file: deltas/0.1.0/1-alpha.2.fix.5.md -->
|
||||
<!-- version: 1 -->
|
||||
|
||||
# Delta 0.1.0-1-alpha.2.fix.5
|
||||
|
||||
## Base
|
||||
|
||||
Base déclarée : `0.1.0-1-alpha.2.fix.4`, invalide au niveau du manifeste workspace.
|
||||
|
||||
## Échec observé
|
||||
|
||||
Cargo échoue avant toute compilation :
|
||||
|
||||
```text
|
||||
error inheriting `serde` from workspace root manifest's `workspace.dependencies.serde`
|
||||
|
||||
Caused by:
|
||||
`dependency.serde` was not found in `workspace.dependencies`
|
||||
```
|
||||
|
||||
La crate `game-reflex-poc-tauri` contenait déjà :
|
||||
|
||||
```text
|
||||
serde.workspace = true
|
||||
```
|
||||
|
||||
mais le `Cargo.toml` racine ne déclarait pas `serde`.
|
||||
|
||||
## Correctif
|
||||
|
||||
La section `[workspace.dependencies]` contient désormais explicitement :
|
||||
|
||||
```text
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
```
|
||||
|
||||
Aucune logique Rust, WASM, Tauri, logging ou Escape n'est modifiée.
|
||||
|
||||
## Validation
|
||||
|
||||
```bash
|
||||
cargo fmt --all
|
||||
cargo fmt --all -- --check
|
||||
|
||||
python3 scripts/audit_rust_workspace_rules.py
|
||||
python3 scripts/audit_markdown_tables.py README.md RULES.md ROADMAP.md CHANGELOG.md docs prompts crates Android deltas history
|
||||
|
||||
cargo check --workspace
|
||||
cargo clippy --workspace --all-targets --all-features -- -D warnings
|
||||
|
||||
cargo test -p game-logging-lib --all-targets --all-features
|
||||
cargo test -p game-reflex-poc --all-targets --all-features
|
||||
cargo test -p game-reflex-poc-wasm --all-targets --all-features
|
||||
```
|
||||
|
||||
Puis :
|
||||
|
||||
```bash
|
||||
python3 scripts/build_reflex_tauri_wasm.py
|
||||
|
||||
cd crates/apps/game-reflex-poc-tauri
|
||||
cargo tauri dev
|
||||
```
|
||||
|
||||
Critères fonctionnels inchangés :
|
||||
|
||||
- logs Rust et frontend visibles dans le terminal ;
|
||||
- `Escape` traverse `EngineGame::quit_requested` ;
|
||||
- une décision `Exit` ferme proprement la fenêtre Tauri.
|
||||
Reference in New Issue
Block a user