Skip to content

Commit b0f1b58

Browse files
committed
Update README to reflect TOML v0.5.0 support.
1 parent 3f03efe commit b0f1b58

File tree

1 file changed

+12
-17
lines changed

1 file changed

+12
-17
lines changed

README.md

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
# cpptoml
22
A header-only library for parsing [TOML][toml] configuration files.
33

4-
Targets: [TOML v0.4.0][currver] as of February 2015.
4+
Targets: [TOML v0.5.0][currver] as of August 2018.
55

6-
It is reasonably conforming, with the exception of unicode escape
7-
characters in strings. This includes support for the new DateTime format,
8-
inline tables, multi-line basic and raw strings, and digit separators.
6+
This includes support for the new DateTime format, inline tables,
7+
multi-line basic and raw strings, digit separators, hexadecimal integers,
8+
octal integers, binary integers, and float special values.
99

1010
Alternatives:
11+
- [Boost.toml][boost.toml] is a C++ implementation of a TOML parser using
12+
the Boost library. As of writing, it supports v0.5.0 as well.
1113
- [ctoml][ctoml] is a C++11 implementation of a TOML parser, but only
1214
supports v0.2.0.
1315
- [libtoml][libtoml] is a C implementation of a TOML parser, which can be
@@ -20,27 +22,20 @@ Alternatives:
2022
[![Build Status](https://travis-ci.org/skystrife/cpptoml.svg?branch=master)](https://travis-ci.org/skystrife/cpptoml)
2123

2224
## Test Results
23-
The following test is the only failing test from [the toml-test
24-
suite][toml-test]:
2525

26-
```
27-
Test: datetime-malformed-no-z (invalid)
28-
29-
Expected an error, but no error was reported.
26+
From [the toml-test suite][toml-test]:
3027

31-
77 passed, 1 failed
3228
```
33-
34-
This is due to cpptoml's support for extended Date-times (from the TOML
35-
master branch) and can safely be ignored.
29+
117 passed, 0 failed
30+
```
3631

3732
We also currently maintain (but hopefully not indefinitely!) a [fork of the
3833
toml-test suite][toml-test-fork] that adds tests for features and
3934
clarifications that have been added to the TOML spec more recently than
4035
toml-test has been updated. We pass every test there.
4136

4237
```
43-
109 passed, 0 failed
38+
137 passed, 0 failed
4439
```
4540

4641
# Compilation
@@ -251,11 +246,11 @@ entire `cpptoml::table` for serialization.
251246
`build_toml.cpp` shows how to construct a TOML representation in-memory and
252247
then serialize it to a stream.
253248
254-
[currver]: https://github.com/toml-lang/toml/blob/master/versions/en/toml-v0.4.0.md
249+
[currver]: https://github.com/toml-lang/toml/blob/master/versions/en/toml-v0.5.0.md
255250
[toml]: https://github.com/toml-lang/toml
256251
[toml-test]: https://github.com/BurntSushi/toml-test
257252
[toml-test-fork]: https://github.com/skystrife/toml-test
258253
[ctoml]: https://github.com/evilncrazy/ctoml
259254
[libtoml]: https://github.com/ajwans/libtoml
260255
[tinytoml]: https://github.com/mayah/tinytoml
261-
[biicode]: https://www.biicode.com
256+
[boost.toml]: https://github.com/ToruNiina/Boost.toml

0 commit comments

Comments
 (0)