Skip to main content

Module config

Module config 

Source

Structs§

Blocklist
CodegenConfig
LibraryOutput
Where one library’s generated code goes. The game’s library is compiled into the Rusteal plugin; a Rusteal plugin’s library into the plugin’s own module, with its own bindings crate.
ModuleMapping
PluginConfig
A Rusteal plugin’s rusteal.toml, at the plugin’s root (Plugins/<Name>/rusteal.toml): its library and the modules it binds.
PluginLayout
Where things live inside a Rusteal plugin, Plugins/<Name>/: the plugin and its one C++ module share the name.
PluginSection
ProjectConfig
Top-level rusteal.toml.
ProjectLayout
Where things live inside a Rusteal project. Fixed by convention so that the config, the CLI and the plugin agree without a single path in rusteal.toml.
ProjectSection

Enums§

LibraryKind
Where a library runs.

Constants§

FILE_NAME
Name of the project configuration file.

Functions§

find_plugins
The Rusteal plugins of a project: the directories of Plugins/ holding a rusteal.toml, by name.
find_project_root
Walk up from start to the first directory holding a .uproject.
find_uproject
The .uproject file in dir, if any.