C++ TOML

Open-source C++ projects categorized as TOML

Top 9 C++ TOML Projects

  1. tomlplusplus

    Header-only TOML config file parser and serializer for C++17.

    Project mention: OSD600 Lab 4 | dev.to | 2025-10-03

    I found that this repository had no pull request yet so I contacted the owner to get permission to work on it after filing an issue, then I got to work researching how to approach this using C++. My C++ is rusty, so it took me some time to work my way through the code. Finally, with a little research, I worked out that I could use the existing CMake file in this project to set up the tomlplusplus implementation which would allow me to parse a config.toml file and load default options into the tool. I added a new function, loadFromConfig, that reads the TOML file and populates the CLI options struct with values like output, include, exclude, and recent. This way, users can define their preferences once and avoid repeating long command-line arguments.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. toml11

    TOML for Modern C++

  4. cmkr

    Modern build system based on CMake and TOML.

  5. cforge

    A fast, cross-platform backwards compatible CMake build tool for C and C++

    Project mention: CForge – A Modern C++ Build System | dev.to | 2025-05-16
  6. figcone

    Read JSON, YAML, TOML, XML or INI configuration by declaring a struct

  7. serdepp

    c++ serialize and deserialize adaptor library like rust serde.rs

  8. pytomlpp

    A python wrapper for tomlplusplus

  9. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  10. toml.lua

    TOML v1.0.0 parser and serializer for Lua. Powered by toml++.

  11. crunchy-bytes

    C++ 17 Schema Serialization Library

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C++ TOML discussion

C++ TOML related posts

  • OSD600 Lab 4

    3 projects | dev.to | 3 Oct 2025
  • Cmkr

    1 project | news.ycombinator.com | 2 Aug 2024
  • Cmkr – a modern build system based on CMake and TOML

    2 projects | news.ycombinator.com | 6 May 2024
  • how to handle config files in c++?

    2 projects | /r/cpp_questions | 6 Mar 2023
  • How Visual Studio Became Unusable to Me

    1 project | /r/cpp | 7 Jan 2023
  • Poxy - a Doxygen frontend - v0.9.0 released

    3 projects | /r/cpp | 3 Oct 2022
  • Preferred way to read in application settings/config in C++

    1 project | /r/cpp_questions | 5 Sep 2022
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 23 Dec 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

What are some of the best open-source TOML projects in C++? This list will help you:

# Project Stars
1 tomlplusplus 1,939
2 toml11 1,213
3 cmkr 587
4 cforge 174
5 figcone 116
6 serdepp 113
7 pytomlpp 91
8 toml.lua 43
9 crunchy-bytes 7

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that C++ is
the 7th most popular programming language
based on number of references?