doc: add description of unreleased toml features

This commit is contained in:
ToruNiina 2019-09-05 14:31:05 +09:00
parent c2e1aa9a3c
commit 94f76137a3

View File

@ -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