mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-17 09:08:08 +08:00
doc: add description of unreleased toml features
This commit is contained in:
11
README.md
11
README.md
@@ -70,6 +70,7 @@ int main()
|
|||||||
- [Formatting user-defined error messages](#formatting-user-defined-error-messages)
|
- [Formatting user-defined error messages](#formatting-user-defined-error-messages)
|
||||||
- [Serializing TOML data](#serializing-toml-data)
|
- [Serializing TOML data](#serializing-toml-data)
|
||||||
- [Underlying types](#underlying-types)
|
- [Underlying types](#underlying-types)
|
||||||
|
- [Unreleased TOML features](#unreleased-toml-features)
|
||||||
- [Breaking Changes from v2](#breaking-changes-from-v2)
|
- [Breaking Changes from v2](#breaking-changes-from-v2)
|
||||||
- [Running Tests](#running-tests)
|
- [Running Tests](#running-tests)
|
||||||
- [Contributors](#contributors)
|
- [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`.
|
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
|
## Breaking Changes from v2
|
||||||
|
|
||||||
Although toml11 is relatively new library (it's three years old now), it had
|
Although toml11 is relatively new library (it's three years old now), it had
|
||||||
|
Reference in New Issue
Block a user