Expand description
Rust SDK for Factorio’s modding API.
Re-exports§
pub use factorio_api;
Modules§
Macros§
- control_
mod - Declares a control/runtime-stage module from a block of items.
- data_
final_ fixes_ mod - Declares a data-final-fixes-stage module from a block of items.
- data_
mod - Declares a data/prototype-stage module from a block of items.
- data_
updates_ mod - Declares a data-updates-stage module from a block of items.
- locale
- Declare Factorio locale entries in Rust.
- mod_
settings - Declare mod settings in a single, concise block.
- settings_
final_ fixes_ mod - Declares a settings-final-fixes-stage module from a block of items.
- settings_
mod - Declares a settings-stage module from a block of items.
- settings_
updates_ mod - Declares a settings-updates-stage module from a block of items.
- shared_
mod - Declares a shared-stage module from a block of items.
Functions§
Attribute Macros§
- control
- data
- data_
final_ fixes - data_
updates - event
- Marks a control-stage function as a Factorio event handler.
- settings
- settings_
final_ fixes - settings_
updates - shared
- Marks a file or inline
modas shared-stage code for transpilation.