0.1.0-1-alpha.2-fix.5

This commit is contained in:
2026-09-17 09:53:02 +02:00
parent a80233dbb1
commit 019fa2ac3d
7 changed files with 79 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
// file: Android/game-reflex-poc/build.gradle
// version: 15
// version: 16
plugins {
id 'com.android.application'
@@ -18,7 +18,7 @@ android {
minSdk 21
targetSdk 36
versionCode 1
versionName '0.1.0-1-alpha.2.fix.4'
versionName '0.1.0-1-alpha.2.fix.5'
}
compileOptions {

View File

@@ -1,5 +1,5 @@
// file: Android/game-snake-poc/build.gradle
// version: 15
// version: 16
plugins {
id 'com.android.application'
@@ -18,7 +18,7 @@ android {
minSdk 21
targetSdk 36
versionCode 1
versionName '0.1.0-1-alpha.2.fix.4'
versionName '0.1.0-1-alpha.2.fix.5'
}
compileOptions {

View File

@@ -1,5 +1,5 @@
# file: Cargo.toml
# version: 32
# version: 33
[workspace]
resolver = "3"
@@ -19,7 +19,7 @@ members = [
]
[workspace.package]
version = "0.1.0-1-alpha.2.fix.4"
version = "0.1.0-1-alpha.2.fix.5"
edition = "2024"
license = "MIT"
repository = "https://git.sasedev.com/Sasedev/games"
@@ -27,6 +27,7 @@ authors = ["Sasedev <games@sasedev.com>"]
publish = false
[workspace.dependencies]
serde = { version = "1", features = ["derive"] }
sdl3 = "^0.20"
tracing = "0.1.44"
tracing-appender = "0.2.5"

View File

@@ -1,5 +1,5 @@
# file: crates/apps/game-reflex-poc-tauri/Cargo.toml
# version: 5
# version: 6
[package]
name = "game-reflex-poc-tauri"

View File

@@ -1,7 +1,7 @@
{
"name": "game-reflex-poc-tauri",
"private": true,
"version": "0.1.0-1-alpha.2.fix.4",
"version": "0.1.0-1-alpha.2.fix.5",
"type": "module",
"scripts": {
"dev": "vite",

View File

@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Reflex POC Tauri",
"version": "0.1.0-1-alpha.2.fix.4",
"version": "0.1.0-1-alpha.2.fix.5",
"identifier": "com.sasedev.games.reflex.tauri",
"build": {
"beforeDevCommand": {

View 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.