feat: add client_web (leptos impl. for 'multiplayer' project)

This commit is contained in:
Henri Bourcereau 2026-03-25 16:18:17 +01:00
parent 0b06c62fd9
commit 6c94f00746
15 changed files with 1661 additions and 9 deletions

16
client_web/Cargo.toml Normal file
View file

@ -0,0 +1,16 @@
[package]
name = "client_web"
version = "0.1.0"
edition = "2021"
[dependencies]
trictrac-store = { path = "../store" }
backbone-lib = { path = "../../forks/multiplayer/backbone-lib" }
leptos = { version = "0.7", features = ["csr"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
futures = "0.3"
gloo-storage = "0.3"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = "0.4"