Refactor: migrate TOML parser from toml11 to toml++

- Replace vendored single-header toml11 (includes/toml.hpp) with the toml++ library (includes/toml++)

- Rewrite Config to use toml::parse_file and expose typed get/getArray/getPath/contains accessors, storing parse errors instead of logging them

- Update bundled license to toml++
This commit is contained in:
xiaozhou233 committed 2026-10-14 16:21:48 +08:00
1 parent 382bfb7fed
commit 3626abb35a
55 files changed
+21945 -18309

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
//# This file is a part of toml++ and is subject to the the terms of the MIT license.
//# Copyright (c) Mark Gillard <mark.gillard@outlook.com.au>
//# See https://github.com/marzer/tomlplusplus/blob/master/LICENSE for the full license text.
// SPDX-License-Identifier: MIT
#pragma once
#include "preprocessor.hpp"
TOML_DISABLE_WARNINGS;
#include <vector>
#include <iterator>
TOML_ENABLE_WARNINGS;