eddelbuettel / rcpptoml

Rcpp Bindings to C++ parser for TOML files
GNU General Public License v2.0
36 stars 9 forks source link

Switch to toml++ (closes #49

Closed eddelbuettel closed 1 year ago

eddelbuettel commented 1 year ago

This PR switches the package from using cpptoml (which has been stale for a while, at stuck at the spec for TOML 0.5.0) to toml++ which is TOML 1.0.0 compliant and actively maintained.

We have prepared the transition with an intermediate non-CRAN package RcppTomlPlusPlus which passes all of the tests of this package -- and some added ones.

Reverse depends checks revealed an issue with one package, configr. Looking into the issue it turned out that the test fail was due to cpptoml tolerating an invalid input 'key' where toml++ objected. We reported this in this issue -- and the underlying input file has now been corrected so that tests pass!

With that we can switch to toml++.