From 94f76137a3f8a519cf8f2f48f49695534153ff1a Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Thu, 5 Sep 2019 14:31:05 +0900 Subject: [PATCH] doc: add description of unreleased toml features --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 292269b..81e0a53 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,7 @@ int main() - [Formatting user-defined error messages](#formatting-user-defined-error-messages) - [Serializing TOML data](#serializing-toml-data) - [Underlying types](#underlying-types) +- [Unreleased TOML features](#unreleased-toml-features) - [Breaking Changes from v2](#breaking-changes-from-v2) - [Running Tests](#running-tests) - [Contributors](#contributors) @@ -1396,6 +1397,16 @@ not capable of representing a Local Time independent from a specific day. It is recommended to get `datetime`s as `std::chrono` classes through `toml::get`. +## Unreleased TOML features + +There are some unreleased features in toml-lang/toml:master. +Currently, the following features are available after defining +`TOML11_USE_UNRELEASED_TOML_FEATURES` macro flag. + +- Leading zeroes in exponent parts of floats are permitted. + - e.g. `1.0e+01`, `5e+05` +- Allow raw tab characters in basic strings and multi-line basic strings. + ## Breaking Changes from v2 Although toml11 is relatively new library (it's three years old now), it had