aboutsummaryrefslogtreecommitdiff
path: root/test-suite
AgeCommit message (Collapse)AuthorLines
2019-07-28Fully expand error messages in testsAndres Suarez-200/+414
2019-05-09Merge pull request #308 from ehuss/edition-2018Alex Crichton-520/+852
Migrate to 2018 edition
2019-05-08cargo fmtEric Huss-520/+847
2019-05-08Remove rustc version checking.Eric Huss-15/+0
This is no longer necessary, as <1.20 is no longer supported.
2019-05-08Migrate to 2018 edition.Eric Huss-1/+6
2019-04-08Merge pull request #298 from ehuss/missing-testsAlex Crichton-4/+9
Add some missing tests, and sort some entries.
2019-04-05Fix float with invalid suffix.Eric Huss-0/+3
2019-04-05Add some missing tests, and sort some entries.Eric Huss-4/+9
2019-04-02Fix warnings for deprecated usages of trim_{left,right}_matches.Erich Gubler-1/+1
2019-02-19Fix case sensitivity with T, Z, and E.Eric Huss-0/+3
2019-01-08Merge pull request #278 from Kerollmops/masterAlex Crichton-6/+6
Add the preserve_order feature (rebased version)
2019-01-07Fix disallowing duplicate table headersAlex Crichton-1/+33
This commit fixes #279 where a case of duplicate table headers slipped through the cracks. This also adds an option to disable this new validation to allow Cargo to preserve backwards compatibility.
2018-12-28Update the serde test-suite map! macroClément Renault-1/+1
2018-12-28Add the preserve_order featureVincent Prouillet-5/+5
2018-11-21Fix trailing space after date.Eric Huss-0/+2
The space between date and time was being eagerly skipped when it shouldn't.
2018-10-29Merge pull request #268 from jmhain/allow-ws-after-bsAlex Crichton-0/+22
Allow whitespace after line ending backslash (#162)
2018-10-28Support tuple Serde types for `Value`hcpl-6/+54
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/+85
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/+295
2017-11-12Move tests into their own crateDavid Tolnay-0/+3290