0.1.0-1-alpha.2-fix.4
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: Android/game-reflex-poc/build.gradle
|
||||
// version: 14
|
||||
// version: 15
|
||||
|
||||
plugins {
|
||||
id 'com.android.application'
|
||||
@@ -18,7 +18,7 @@ android {
|
||||
minSdk 21
|
||||
targetSdk 36
|
||||
versionCode 1
|
||||
versionName '0.1.0-1-alpha.2.fix.3'
|
||||
versionName '0.1.0-1-alpha.2.fix.4'
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: Android/game-snake-poc/build.gradle
|
||||
// version: 14
|
||||
// version: 15
|
||||
|
||||
plugins {
|
||||
id 'com.android.application'
|
||||
@@ -18,7 +18,7 @@ android {
|
||||
minSdk 21
|
||||
targetSdk 36
|
||||
versionCode 1
|
||||
versionName '0.1.0-1-alpha.2.fix.3'
|
||||
versionName '0.1.0-1-alpha.2.fix.4'
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# file: Cargo.toml
|
||||
# version: 31
|
||||
# version: 32
|
||||
|
||||
[workspace]
|
||||
resolver = "3"
|
||||
@@ -19,7 +19,7 @@ members = [
|
||||
]
|
||||
|
||||
[workspace.package]
|
||||
version = "0.1.0-1-alpha.2.fix.3"
|
||||
version = "0.1.0-1-alpha.2.fix.4"
|
||||
edition = "2024"
|
||||
license = "MIT"
|
||||
repository = "https://git.sasedev.com/Sasedev/games"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# file: crates/apps/game-reflex-poc-tauri/Cargo.toml
|
||||
# version: 4
|
||||
# version: 5
|
||||
|
||||
[package]
|
||||
name = "game-reflex-poc-tauri"
|
||||
@@ -24,6 +24,7 @@ tauri-build.workspace = true
|
||||
|
||||
[dependencies]
|
||||
game-logging-lib = { path = "../../common/game-logging-lib" }
|
||||
serde.workspace = true
|
||||
engine-v1-platform-api = { path = "../../engines/engine-v1-platform-api" }
|
||||
tauri.workspace = true
|
||||
tauri-plugin-tracing.workspace = true
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "game-reflex-poc-tauri",
|
||||
"private": true,
|
||||
"version": "0.1.0-1-alpha.2.fix.3",
|
||||
"version": "0.1.0-1-alpha.2.fix.4",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://schema.tauri.app/config/2",
|
||||
"productName": "Reflex POC Tauri",
|
||||
"version": "0.1.0-1-alpha.2.fix.3",
|
||||
"version": "0.1.0-1-alpha.2.fix.4",
|
||||
"identifier": "com.sasedev.games.reflex.tauri",
|
||||
"build": {
|
||||
"beforeDevCommand": {
|
||||
|
||||
65
deltas/0.1.0/1-alpha.2.fix.4.md
Normal file
65
deltas/0.1.0/1-alpha.2.fix.4.md
Normal file
@@ -0,0 +1,65 @@
|
||||
<!-- file: deltas/0.1.0/1-alpha.2.fix.4.md -->
|
||||
<!-- version: 1 -->
|
||||
|
||||
# Delta 0.1.0-1-alpha.2.fix.4
|
||||
|
||||
## Base
|
||||
|
||||
Base déclarée : `0.1.0-1-alpha.2.fix.3`, non validée.
|
||||
|
||||
## Échec observé
|
||||
|
||||
`cargo check --workspace` et Clippy échouent dans `game-reflex-poc-tauri` :
|
||||
|
||||
```text
|
||||
failed to resolve: use of unresolved module or unlinked crate `serde`
|
||||
```
|
||||
|
||||
La structure `FrontendLogPayload` dérive `serde::Deserialize`, mais `serde` n'était pas une dépendance directe de la crate Tauri.
|
||||
|
||||
## Correctif
|
||||
|
||||
Le workspace déclare désormais :
|
||||
|
||||
```text
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
```
|
||||
|
||||
et `game-reflex-poc-tauri` consomme :
|
||||
|
||||
```text
|
||||
serde.workspace = true
|
||||
```
|
||||
|
||||
Aucune autre logique du bridge logging/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 la politique `EngineGame::quit_requested` ;
|
||||
- décision `Exit` ferme la fenêtre Tauri proprement.
|
||||
Reference in New Issue
Block a user