Registry / config / tomlplusplus

tomlplusplus

JSON →
library3.4.0vcpkgunverified

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

vcpkg install tomlplusplus
INSTALL
IMPORT
SIG · TOMLPLUSPLUS
T
tomlplusplus
configcppv3.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

toml++/toml.h
#include <toml++/toml.h>

Parse a TOML file and read a value

#include <toml++/toml.h> #include <iostream> int main() { auto config = toml::parse_file("config.toml"); std::string_view title = config["title"].value_or("default"); std::cout << "Title: " << title << std::endl; return 0; }
Debug
Known issues
gotchaHeader-only library; no linking required but may increase compile times.
fix
Ensure you have C++17 or later; include the header directly.
affects: >=3.0.0
Upgrade
Version history
3.4.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
45 hits · last 30 days
node
40
OpenAI (training)
1
Resources

No resource links recorded.

tomlplusplus — pip install tomlplusplus · libregistry