[package] name = "mrpgi-core" version = "0.1.0" edition = "2021" description = "MRPGI headless engine core — the sim, parser, renderer and control surfaces. 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 # Native-only: the AI lane and the HTTP surface don't exist in browser builds # (wasm gets the deterministic parser and a baked-in game). [target.'cfg(not(target_arch = "wasm32"))'.dependencies] ureq = { version = "2", features = ["json", "tls"] } # AI parser lane: Ollama / OpenRouter HTTP tiny_http = "0.12" # the --serve control surface; ponytail: swap for axum+WS if streaming push is ever needed [[bin]] name = "mrpgi-headless" path = "src/bin/mrpgi-headless/main.rs"