aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2018-11-17Only validate table keys against fields when deserializing enum.Azriel Hoh-18/+27
Issue #225
2018-11-17Maintain compatibility with Rust 1.15Azriel Hoh-2/+2
Issue #225
2018-11-12Error when deserializing struct if encountering unknown fields.Azriel Hoh-0/+81
Issue #225
2018-11-12Added ignored tests for deserializing enums from dotted table.Azriel Hoh-0/+48
Issue #225
2018-11-10Maintain compatibility with Rust 1.15Azriel Hoh-1/+1
Issue #225
2018-11-10Implemented deserialization for external enums.Azriel Hoh-71/+328
Issue #225
2018-11-10Better error handling when parsing tuples.Azriel Hoh-12/+35
Issue #225
2018-11-10Implemented enum tuple deserialization.Azriel Hoh-9/+68
Issue #225
2018-11-10Added `NewType` variant to example.Azriel Hoh-0/+4
2018-11-10Implement deserialization for unit and struct variants.Azriel Hoh-1/+140
Issue #225
2018-10-29Merge pull request #271 from spease/allow-newtype-keyAlex Crichton-2/+2
Allow newtype key
2018-10-29Merge pull request #268 from jmhain/allow-ws-after-bsAlex Crichton-1/+40
Allow whitespace after line ending backslash (#162)
2018-10-29Merge pull request #272 from hcpl/tuple-supportAlex Crichton-15/+108
Support tuple Serde types for `Value`
2018-10-28Support tuple Serde types for `Value`hcpl-15/+108
2018-10-27Allow newtype keySteven Pease-2/+2
2018-10-27Allow whitespace after line ending backslash (#162)Joey Hain-1/+40
2018-10-01Bump to 0.4.8Alex Crichton-1/+1
2018-10-01Merge pull request #263 from Deewiant/final-quote-fixAlex Crichton-0/+20
Avoid panic on pretty string ending in single quote
2018-10-01Avoid panic on pretty string ending in single quoteMatti Niemenmaa-0/+20
Fixes #262.
2018-09-25Bump to 0.4.7Alex Crichton-1/+1
2018-09-25Merge pull request #261 from rhysd/fix-multiline-string-keyAlex Crichton-31/+53
Fix multi-line strings are not allowed for key (#260)
2018-09-25Fix multi-line strings are not allowed for keyrhysd-31/+53
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/+29
Support deserializing from other integer types
2018-08-06Test serde_json interoperabilityKornel-0/+13
2018-08-05Merge pull request #254 from ehuss/macro-0.5Alex Crichton-46/+214
Support the new 0.5 syntax in the toml! macro.
2018-08-05Support deserializing from other integer typesKornel-0/+16
2018-08-05Support the new 0.5 syntax in the toml! macro.Eric Huss-46/+214
- Space in datetime. - +- inf, nan, 0.0 - Dotted keys.
2018-07-28Merge pull request #252 from ehuss/dotted-keysAlex Crichton-7/+113
0.5: Support dotted keys.
2018-07-27Don't allow intermixing inline tables and dotted key tables.Eric Huss-17/+7
2018-07-16Support older rustc.Eric Huss-4/+4
2018-07-160.5: Support dotted keys.Eric Huss-6/+122
cc #224
2018-07-11Merge pull request #249 from ehuss/int-radixAlex Crichton-31/+66
0.5: Support hex/oct/bin integers.
2018-07-110.5: Support hex/oct/bin integers.Eric Huss-31/+66
cc #224
2018-07-11Merge pull request #251 from ehuss/datetime-spaceAlex Crichton-3/+19
0.5: Support space separator in datetime.
2018-07-11Merge pull request #250 from ehuss/reject-delAlex Crichton-2/+4
0.5: Reject 0x7f (DEL) in strings.
2018-07-11Merge pull request #248 from ehuss/float-0.5Alex Crichton-44/+117
0.5: Support floats nan, inf, and +/-0.0.
2018-07-110.5: Support floats nan, inf, and +/-0.0.Eric Huss-44/+117
cc #224
2018-07-100.5: Reject 0x7f (DEL) in strings.Eric Huss-2/+4
cc #224
2018-07-100.5: Support space separate in datetime.Eric Huss-3/+19
cc #224
2018-05-24Merge pull request #245 from alexcrichton/tuplesAlex Crichton-16/+116
Support fixed-length arrays
2018-05-24Support fixed-length arraysAlex Crichton-16/+116
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-24Bump to 0.4.6Alex Crichton-1/+1
2018-05-09Merge pull request #239 from udoprog/spansAlex Crichton-96/+427
Support spans when deserializing serde structures
2018-05-09Merge pull request #241 from avdv/fix-240Alex Crichton-8/+11
Treat unicode hex digits case-insensitively
2018-05-09Treat unicode hex digits case-insensitivelyClaudio Bley-8/+11
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-10/+44
2018-05-07Reintroduce serde_derive as dev-dependenciesJohn-John Tedro-0/+1
2018-05-07Fix incorrectly reported spans for DatetimeJohn-John Tedro-13/+47
2018-05-07Use BorrowedStrDeserializer instead of generated key deserializersJohn-John Tedro-56/+7
2018-05-07Adjust spans for more complex typesJohn-John Tedro-27/+67