Skip to content

factorio-rs

Rust SDK for Factorio's modding API, transpile Rust into loadable Lua mods.

Rust authoring

Use familiar Rust syntax, crates.io packages, and cargo check for type checking - including proc macros for events, settings, and locale.

Factorio Lua output

The CLI emits a normal Factorio mod directory (info.json, stage entry files, lua/, optional locale/).

Install and run

Build into dist/, copy into your Factorio mods folder, and optionally launch the game with factorio-rs open.