Skip to content

Replace toml11 library with tomlplusplus for TOML configuration files #615

@IAmNotHanni

Description

@IAmNotHanni

Is your feature request related to a problem?

We currently use toml11 library to load TOML configuration files.
In case you didn't know, you should not use `JSON for configuration files](https://www.reddit.com/r/programming/comments/bd0jsl/json_as_configuration_files_please_dont/).

Description

Although we don't use TOML configuration files with great extend currently, we have some issues with toml11.

  • Cloning the toml11 dependency takes a very long time because it always clones the git submodules of the testing enviroment and some more stuff. This takes significantly longer than everything else in the CMake setup, which also affects build times in CI.
  • We cannot disable cloning the submodules, even though we are not building the tests of the toml11 project!
  • It is not as actively maintained as tomlplusplus.

Alternatives

Use https://github.com/marzer/tomlplusplus

Affected Code

All code that works with TOML configuration files (currently only renderer setup).

Operating System

all

Additional Context

none

Metadata

Metadata

Assignees

No one assigned

    Labels

    cat:refactorrefactor/clean up/simplifications/etc.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions