pyfisch
af05f537d8
Allow delimiter quotes at the end of multiline strings ( #393 )
...
TOML allows (unlike many other formats) up to 2
additonal quotes that are part of the string:
basic = """2 extra quotes -->"""""
literal = '''here too ''''
Changed in TOML v1.0.0-rc.1
See also #392
2020-05-28 10:39:55 -05:00
Michael Sloan
cd96581730
Fix roundtripping of \u001f and \u007f in toml string literals ( #372 )
2020-01-30 08:55:36 +01:00
daubaris
c822128a02
Mixed type arrays ( #358 )
...
* Added support of mixed-type arrays
* Add tests cases
* Replaced &'static str type for type_ and created a new enum instead
* Restored ArrayMixedType
2019-11-22 10:28:29 -06:00
Eric Huss
f822f4661b
Allow zero-prefixed float exponents. ( #322 )
2019-08-23 09:55:15 -07:00
Joey Hain
a9fb3bf188
Allow whitespace after line ending backslash ( #162 )
2018-10-27 12:49:17 -07:00
Matti Niemenmaa
dce343e926
Avoid panic on pretty string ending in single quote
...
Fixes #262 .
2018-10-01 11:58:57 +03:00
Eric Huss
fad5f4690e
Don't allow intermixing inline tables and dotted key tables.
2018-07-27 11:49:30 -07:00
Eric Huss
6d76b19b58
0.5: Support dotted keys.
...
cc #224
2018-07-16 09:10:38 -07:00
Eric Huss
c8919e8ed1
0.5: Support hex/oct/bin integers.
...
cc #224
2018-07-11 09:21:29 -07:00
Eric Huss
16d8b14fcf
0.5: Support floats nan, inf, and +/-0.0.
...
cc #224
2018-07-11 00:50:04 -07:00
Claudio Bley
96ca73e130
Treat unicode hex digits case-insensitively
...
In Rust >= 1.24.0 we could have used `char::is_ascii_hexdigit`, but to keep
compatiblity with older versions, `char::is_digit(16)` is used.
Fixes #240 .
2018-05-09 22:18:14 +02:00
David Tolnay
cdb1bfd237
Move tests into their own crate
2017-11-12 19:33:11 -08:00