agkountis / crius

MIT License
3 stars 0 forks source link

Initialize the engine using a configuration file #8

Closed agkountis closed 4 years ago

agkountis commented 4 years ago

Task

The engine's settings should be able to be configured using a configuration file.

Details

Note: The initial version of this struct should not contain the entire configuration of the engine. Instead is should be a starting point towards that goal. This file will be gradually completed as new configuration needs arise.

I strongly recommend using YAML for any kind of configuration since it is human readable and allows for adding comments making it more intuitive to manipulate by the user.

Deserializing a YAML file is really easy in Rust using the serde and serde_yaml crates.