trictrac/clients/web/Cargo.toml

50 lines
1.2 KiB
TOML
Raw Normal View History

2026-04-25 16:49:25 +02:00
[package]
name = "trictrac-web"
2026-05-22 21:43:41 +02:00
version.workspace = true
2026-04-25 16:49:25 +02:00
edition = "2021"
[package.metadata.leptos-i18n]
default = "en"
locales = ["en", "fr"]
[dependencies]
leptos_i18n = { version = "0.5", features = ["csr", "interpolate_display"] }
leptos_router = { version = "0.7" }
trictrac-store = { path = "../../store" }
backbone-lib = { path = "../backbone-lib" }
leptos = { version = "0.7", features = ["csr"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
futures = "0.3"
rand = "0.9"
gloo-storage = "0.3"
qrcodegen = "1.8"
2026-05-25 16:14:25 +02:00
pulldown-cmark = "0.13"
2026-04-25 16:49:25 +02:00
[target.'cfg(target_arch = "wasm32")'.dependencies]
2026-05-25 21:19:12 +02:00
wasm-bindgen = "=0.2.118"
2026-04-25 16:49:25 +02:00
wasm-bindgen-futures = "0.4"
gloo-net = { version = "0.5", features = ["http"] }
gloo-timers = { version = "0.3", features = ["futures"] }
getrandom = { version = "0.3", features = ["wasm_js"] }
js-sys = "0.3"
web-sys = { version = "0.3", features = [
"RequestCredentials",
"AudioContext",
"AudioParam",
"AudioNode",
"AudioDestinationNode",
"AudioScheduledSourceNode",
"GainNode",
"OscillatorNode",
"OscillatorType",
"BaseAudioContext",
"HtmlAudioElement",
"Clipboard",
"Navigator",
"Location",
2026-04-25 16:49:25 +02:00
] }
2026-05-02 20:02:47 +02:00
[dev-dependencies]
wasm-bindgen-test = "0.3"