JohnTheCoolingFan / factorio-lib-rs

Rust library with a collection of things about Factorio
MIT License
7 stars 0 forks source link
factorio lua rust

factorio-lib-rs is a rust library for various Factorio concepts and data struct (prototypes, for example) to be interacted with using Rust. Check the docs (cargo doc --open) for an overview of what this library is capable of.

This library uses custom fork of mlua that includes lua runtime that is used in the game itself, source provided by the developers. It is used to load the lua code of mods and then parse the data into prototype structs that can then be used from Rust code.

This library consists of a number of modules:

These features are available through corresponding feature flags, all enabled by default

This library is still WIP.

Development status: restructuring, switching to serde for deserialization