Expand description
Loading of the config files, including serialization and deserialization.
Re-exports§
pub use board::BoardConfig;pub use game::GameConfig;pub use unit::UnitConfig;
Modules§
Structs§
- Config
Set - A struct encapsulating a set of configs needed to run a lobby.
Enums§
Constants§
- CONFIG_
BOARD - The filename of the board config file
- CONFIG_
DEFAULT - The default directory for searching for config files.
- CONFIG_
GAME - The filename of the game config file
- CONFIG_
PREFIX - The prefix every config directory needs to have
- CONFIG_
UNIT - The filename of the unit config file
- CONFIG_
VAR - The name of the environment variable which defines the location of the config files.
Functions§
- load_
configs - Loads all configurations from the path specified in the environment.
- load_
from 🔒