You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@
20
20
## Library features
21
21
22
22
- Header-only (optional!)
23
+
- Module support
23
24
- Supports the latest [TOML] release ([v1.0.0]), plus optional support for some unreleased TOML features
24
25
- Passes all tests in the [toml-test](https://github.com/toml-lang/toml-test) suite
25
26
- Supports serializing to JSON and YAML
@@ -110,8 +111,8 @@ You'll find some more code examples in the `examples` directory, and plenty more
110
111
### 🍨️ Regular flavour
111
112
112
113
1. Clone the repository
113
-
2. Add `tomlplusplus/include` to your include paths
114
-
3. `#include <toml++/toml.hpp>`
114
+
2. Add `tomlplusplus/include` to your include paths, or for optional module support add `tomlplusplus/modules` as well and enable `TOMLPLUSPLUS_BUILD_MODULES`
@@ -281,13 +282,16 @@ UTF-8 decoding is performed using a state machine based on Bjoern Hoehrmann's '[
281
282
282
283
### With thanks to:
283
284
285
+
-**[@a-is](https://github.com/a-is)** - Fixed a bug
284
286
-**[@beastle9end](https://github.com/beastle9end)** - Made Windows.h include bypass
285
287
-**[@bjadamson](https://github.com/bjadamson)** - Reported some bugs and helped design a new feature
286
288
-**[@bobfang1992](https://github.com/bobfang1992)** - Reported a bug and created a [wrapper in python](https://github.com/bobfang1992/pytomlpp)
289
+
-**[@capuanob](https://github.com/capuanob)** - Integrated this project into OSSFuzz
287
290
-**[@GiulioRomualdi](https://github.com/GiulioRomualdi)** - Added cmake+meson support
288
291
-**[@jonestristand](https://github.com/jonestristand)** - Designed and implemented the `toml::path`s feature
289
292
-**[@kcsaul](https://github.com/kcsaul)** - Fixed a bug
290
293
-**[@levicki](https://github.com/levicki)** - Helped design some new features
294
+
-**[@mikomikotaishi](https://github.com/mikomikotaishi)** - Added support for C++20 modules
291
295
-**[@moorereason](https://github.com/moorereason)** - Reported a whole bunch of bugs
292
296
-**[@mosra](https://github.com/mosra)** - Created the awesome [m.css] used to generate the API docs
293
297
-**[@N-Dekker](https://github.com/N-Dekker)** - Added a workaround for the legacy lambda processor of MSVC 2019/2022, added `get_line`
@@ -304,11 +308,9 @@ UTF-8 decoding is performed using a state machine based on Bjoern Hoehrmann's '[
304
308
-**[@std-any-emplace](https://github.com/std-any-emplace)** - Reported some bugs
305
309
-**[@Tachi107](https://github.com/Tachi107)** - Made some tweaks to meson.build, added compile_library build option
306
310
-**[@traversaro](https://github.com/traversaro)** - Added vcpkg support and reported a bunch of bugs
311
+
-**[@tyler92](https://github.com/tyler92)** - Fixed stack overflow that occurred during fuzzing tests
307
312
-**[@whiterabbit963](https://github.com/whiterabbit963)** - Fixed a bug with value_or conversions
308
313
-**[@ximion](https://github.com/ximion)** - Added support for installation with meson
309
-
-**[@a-is](https://github.com/a-is)** - Fixed a bug
310
-
-**[@capuanob](https://github.com/capuanob)** - Integrated this project into OSSFuzz
311
-
-**[@tyler92](https://github.com/tyler92)** - Fixed stack overflow that occurred during fuzzing tests
Copy file name to clipboardExpand all lines: docs/pages/main_page.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@
7
7
@section mainpage-features Features
8
8
9
9
- Header-only (optional!)
10
+
- Module support
10
11
- Supports the latest [TOML](https://toml.io/) release ([v1.0.0](https://toml.io/en/v1.0.0)), plus
11
12
optional support for some unreleased TOML features
12
13
- Passes all tests in the [toml-test](https://github.com/BurntSushi/toml-test) suite
@@ -37,6 +38,8 @@ Call toml::parse_file() and work with the toml::table you get back, or handle an
37
38
@cpp
38
39
#include <iostream>
39
40
#include <toml++/toml.hpp>
41
+
// or alternatively:
42
+
import tomlplusplus; // if C++20 or later
40
43
41
44
int main(int argc, char\*\* argv)
42
45
{
@@ -460,8 +463,8 @@ and [emoji sundae] Regular. The API is the same for both.
460
463
461
464
<h3>[emoji sundae] Regular flavour</h3>
462
465
1. Clone \github{marzer/tomlplusplus, the repository} from GitHub
463
-
2. Add `tomlplusplus/include` to your include paths
464
-
3.`#include <toml++/toml.hpp>`
466
+
2. Add `tomlplusplus/include` to your include paths, or for optional module support add `tomlplusplus/modules` as well and enable `TOMLPLUSPLUS_BUILD_MODULES`
0 commit comments