- mrpgi-vault (standalone crate): tiny signup/login/world-save service. Argon2 password hashes, random session cookies, JSON-file storage, naive per-IP rate limit, 4MB body cap. tiny_http, no framework, no db. Runs as a container on the dealgod network; nginx proxies /engine/api/ to it. - core: WorldBundle — a whole world (manifest + every room) as one JSON document, with World::to_bundle/apply_bundle. - web bridge: mrpgi_request_save / mrpgi_alloc / mrpgi_world_in exports + an mrpgi_world_saved JS plugin import; the page's SAVE button pulls the live world out of the running engine, LOAD swaps it back in. SAVE_REQUESTED is an AtomicBool on purpose — wasm's thread-less Mutex<bool> is a plain static to LLVM and release builds const-folded the read (the only writer is JS-visible, not IR-visible). - web UI: SIGN IN tab → create account (own username + password) / sign in / Save world / Load world / sign out. Session restores on revisit. Verified live end-to-end through Cloudflare: signup → save → reload → anonymous rejected; throwaway account removed after. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 line
600 B
JSON
1 line
600 B
JSON
{"rustc":11744402056482654987,"features":"[]","declared_features":"[]","target":2092925202467021945,"profile":14448301111190550315,"path":4942398508502643691,"deps":[[8578586876803397814,"serde_json",false,5435485944888288525],[11023519408959114924,"getrandom",false,8549281822470616344],[17370996505528185903,"tiny_http",false,15952634872308680628],[18112009879309521262,"argon2",false,15542356301966651014]],"local":[{"CheckDepInfo":{"dep_info":"release/.fingerprint/mrpgi-vault-67046901d5e81c19/dep-bin-mrpgi-vault","checksum":false}}],"rustflags":[],"config":8247474407144887393,"compile_kind":0} |