research other toml libraries #1062

Open
opened 2025-12-02 14:51:40 +00:00 by pennae · 1 comment
Owner

toml11 has numerous shortcomings (such as the recent integer parsing bugs and all the bugs uncovered by cl/4533). the api is also very limited and does not have a number of features a c++ container library should have, such as iterator-returning find operations. perhaps we should replace toml11 with something else?

we haven't surveyed the space much yet, but at a very cursory glance toml++ does look like a nicer alternative. perhaps it's worth a try to replace toml11 and see what happens.

toml11 has numerous shortcomings (such as the recent integer parsing bugs and all the bugs uncovered by cl/4533). the api is also very limited and does not have a number of features a c++ container library should have, such as iterator-returning find operations. perhaps we should replace toml11 with something else? we haven't surveyed the space much yet, but at a ***very*** cursory glance [toml++](https://marzer.github.io/tomlplusplus/) does look like a nicer alternative. perhaps it's worth a try to replace toml11 and see what happens.
Member

This issue was mentioned on Gerrit on the following CLs:

  • commit message in cl/4682 ("toml: Switch from toml11 to toml++")
<!-- GERRIT_LINKBOT: {"cls": [{"backlink": "https://gerrit.lix.systems/c/lix/+/4682", "number": 4682, "kind": "commit message"}], "cl_meta": {"4682": {"change_title": "toml: Switch from toml11 to toml++"}}} --> This issue was mentioned on Gerrit on the following CLs: * commit message in [cl/4682](https://gerrit.lix.systems/c/lix/+/4682) ("toml: Switch from toml11 to toml++")
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lix-project/lix#1062
No description provided.