[package]
name = "game-wasm"
version = "0.1.0"
edition = "2021"
rust-version = "1.96"
description = "REIKHELM: DESCENT — the run state machine gluing the dungeon atlas to the Vigor combat engine, exposed to the browser via wasm-bindgen."

# `cdylib` is what wasm-pack/wasm-bindgen emit; `rlib` lets host tooling
# (cargo test/clippy) link the crate too — the whole game loop is testable natively.
[lib]
crate-type = ["cdylib", "rlib"]

[dependencies]
combat-core = { path = "../combat/combat-core" }
wasm-bindgen = "0.2"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.150"
