YAML is a horrid format with far too many edge cases. We have switched to TOML. Further, we have completly reworked the framework so that 1. There is no longer any global config state. Config objects now must be passed between scopes by the caller. This will introduce some more friction but whill also make order of initialization clear 2. Config objects are now strongly typed and there is a single sourth of truth for any given config object baked in using the some struct.
4 lines
56 B
TOML
4 lines
56 B
TOML
[main]
|
|
x = 10
|
|
y = 20
|
|
person = {age = 30, name = "Alice"} |