r/cpp • toml++ • 3d ago

toml++ 3.5.1 released

Hiya folks,

I've finally come back to maintaining toml++ after a couple of years focusing on other things, and am happy to share that v3.5.1 is now released! Highlights since v3.4.0:

  • Support for TOML v1.1.0 🎉️
  • Support for C++20 std::chrono date-time types
  • Support for C++20 modules with import tomlplusplus
  • Faster parsing (~2x, ~5x for string-heavy docs)
  • Faster formatting (~1.5x, ~3x for float-heavy docs)
  • Faster compiles and smaller binaries for some configurations
  • Lots of fixes for various issues

Full changelog here.

"What about v3.5.0?"

3.5.0 and 3.5.1 are exactly the same library. The patch bump was necessary because I'm rusty and messed up the tagging for v3.5.0, so I just made a new release right on top of it to keep things safe for packaging systems.

Also this will probably the last feature bump for the v3.x series of releases. There's a whole load of larger structural and design things I want to get to that require breaking changes, so I'll start cooking on those and hopefully have that out as a v4 next year some time. Until then it'll just be patch bumps.

73 Upvotes

3 comments sorted by

10

u/aCuria 3d ago

Thanks for your hard work!

6

u/smdowney WG21, Text/Unicode SG, optional<T&> 3d ago

This is awesome because it removes one terrible objection to using pyproject.toml in a C++ project.

As if I really care today that the tools reading it are not written in C++. 🤷

As long as I can get cmake, clang-format, etc., et. al., with the versions I want for this project, I have no particular cares about the programming language used to fetch and make it available.

7

u/Zueuk 2d ago

😕 pyproject.toml in a C++ project?