[package] name = "mrpci-core" version = "0.1.0" edition = "2021" description = "MRPCI headless engine core — the SCI-generation sim: 256-color rooms, walkbox pathfinding, rhai scripts, and the command/event bus. Zero windowing dependencies: a compile error is the guardrail." [dependencies] serde = { version = "1", features = ["derive"] } serde_json = "1" image = { version = "0.24", default-features = false, features = ["png"] } # PNG-only: lean builds # Room logic. "sync" keeps the engine Send+Sync (the HTTP surface shares # GameState across threads); "no_time" bans wall-clock from scripts, so a # replayed script is bit-identical — the whole CPU-speed-bug class, deleted. rhai = { version = "1", features = ["sync", "no_time"] } # Native-only: the HTTP surface doesn't exist in browser builds. [target.'cfg(not(target_arch = "wasm32"))'.dependencies] tiny_http = "0.12" # the --serve control surface [[bin]] name = "mrpci-headless" path = "src/bin/mrpci-headless/main.rs"