aboutsummaryrefslogtreecommitdiff
path: root/test-suite/tests
AgeCommit message (Collapse)AuthorLines
2018-10-27Allow whitespace after line ending backslash (#162)Joey Hain-0/+22
2018-10-01Avoid panic on pretty string ending in single quoteMatti Niemenmaa-0/+16
Fixes #262.
2018-09-25Fix multi-line strings are not allowed for keyrhysd-0/+6
In spec https://github.com/toml-lang/toml#keys Quoted keys are clarified as > he exact same rules as either basic strings or literal strings TOML clearly distinguishes basic string and multi-line basic string (literal string is also). https://github.com/toml-lang/toml#string So table key and quoted key should not allow multi-line basic string and multi-line literal string. ABNF definition also describes that. https://github.com/toml-lang/toml/blob/master/toml.abnf ``` string = ml-basic-string / basic-string / ml-literal-string / literal-string quoted-key = basic-string / literal-string ``` `string` contains `ml-*` but `quoted-key` doesn't.
2018-08-06Merge pull request #255 from kornelski/masterAlex Crichton-0/+13
Support deserializing from other integer types
2018-08-06Test serde_json interoperabilityKornel-0/+13
2018-08-05Support the new 0.5 syntax in the toml! macro.Eric Huss-1/+80
- Space in datetime. - +- inf, nan, 0.0 - Dotted keys.
2018-07-27Don't allow intermixing inline tables and dotted key tables.Eric Huss-13/+1
2018-07-160.5: Support dotted keys.Eric Huss-1/+65
cc #224
2018-07-110.5: Support hex/oct/bin integers.Eric Huss-1/+27
cc #224
2018-07-11Merge pull request #251 from ehuss/datetime-spaceAlex Crichton-2/+6
0.5: Support space separator in datetime.
2018-07-11Merge pull request #250 from ehuss/reject-delAlex Crichton-0/+2
0.5: Reject 0x7f (DEL) in strings.
2018-07-110.5: Support floats nan, inf, and +/-0.0.Eric Huss-18/+84
cc #224
2018-07-100.5: Reject 0x7f (DEL) in strings.Eric Huss-0/+2
cc #224
2018-07-100.5: Support space separate in datetime.Eric Huss-2/+6
cc #224
2018-05-24Support fixed-length arraysAlex Crichton-1/+14
Turns out these are deserialized/serialized as tuples! While we're at it add support for tuple variants and tuple structs through the same paths. Closes #244
2018-05-09Merge pull request #239 from udoprog/spansAlex Crichton-0/+66
Support spans when deserializing serde structures
2018-05-09Treat unicode hex digits case-insensitivelyClaudio Bley-1/+7
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-09Make spanned module private and hide internalsJohn-John Tedro-3/+3
2018-05-07Fix incorrectly reported spans for DatetimeJohn-John Tedro-0/+23
2018-05-07Adjust spans for more complex typesJohn-John Tedro-0/+13
2018-05-07Use custom struct/field naming to deserialize spansJohn-John Tedro-0/+30
2017-11-12A toml macroDavid Tolnay-0/+286
2017-11-12Move tests into their own crateDavid Tolnay-0/+3276