Logo
Explore Help
Sign In
tboudreaux/libconfig
1
0
Fork 0
You've already forked libconfig
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
main
libconfig/examples/config_example.toml

4 lines
56 B
TOML
Raw Permalink Normal View History

feat(TOML & Glaze): YAML -> TOML 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.
2025-12-05 14:26:22 -05:00
[main]
x = 10
y = 20
person = {age = 30, name = "Alice"}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 25ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API