station/crates/game_server
Steve Biedermann afd3d3a537 feat(server): store worlds in sqlite or postgres with sqlx
Worlds are identified by a UUID and every table is keyed by it, so many
worlds can share one database. The schema is created and migrated
automatically. Autosaves are written on a background tokio runtime; exit
saves block until done.

Singleplayer saves are one SQLite file per save game in the platform data
directory. The dedicated server takes --database URL (default
sqlite://saves/server.sqlite) and --world NAME|UUID.

BREAKING CHANGE: the rsn save format and the server's --save FILE option
are removed; existing saves are not migrated.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-18 20:47:43 +02:00
..
src feat(server): store worlds in sqlite or postgres with sqlx 2026-10-18 20:47:43 +02:00
tests feat: add data-driven machines 2026-10-18 20:28:16 +02:00
Cargo.toml feat(server): store worlds in sqlite or postgres with sqlx 2026-10-18 20:47:43 +02:00