aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2019-04-02Fix warnings for deprecated usages of trim_{left,right}_matches.Erich Gubler-4/+4
2019-03-20Merge pull request #294 from tmiasko/ml-delimAlex Crichton-5/+9
Fix parsing of repeated delimiters inside multi-line strings
2019-03-20Fix parsing of repeated delimiters inside multi-line stringsTomasz Miąsko-5/+9
The previous implementation of `read_string`, when looking for delimiters ending the multi-line string and failing to find exactly three in succession, always put a single delimiter back. This is incorrect when exactly two delimiters are present. Put back the correct number of delimiters depending on how many have been already consumed from input. The issue could be triggered only with `Owned` representation of `MaybeString`, since otherwise `push` operation is no-op.
2019-03-11Merge pull request #292 from omarabid/masterEric Huss-3/+3
Add PartialEq to Toml::de
2019-03-11Add PartialEq to Toml::deAbid Omar-3/+3
Add PartialEq trait to Error, ErrorInner and ErrorKind. Relevant issue: https://github.com/alexcrichton/toml-rs/issues/291
2019-02-19Merge pull request #290 from ehuss/fix-case-sensitivityAlex Crichton-3/+10
Fix case sensitivity with T, Z, and E.
2019-02-19Fix case sensitivity with T, Z, and E.Eric Huss-3/+10
2019-01-08Merge pull request #278 from Kerollmops/masterAlex Crichton-15/+628
Add the preserve_order feature (rebased version)
2019-01-07Merge pull request #280 from alexcrichton/fix-duplicateEric Huss-7/+66
Fix disallowing duplicate table headers
2019-01-07Fix disallowing duplicate table headersAlex Crichton-7/+66
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.
2019-01-02Update build urlsAlex Crichton-1/+1
2019-01-02Tweak travis configAlex Crichton-22/+15
2018-12-28Update the serde test-suite map! macroClément Renault-1/+1
2018-12-28test-suite is not tested with preserve_orderVincent Prouillet-1/+0
2018-12-28Add the preserve_order featureVincent Prouillet-14/+628
2018-12-17Run `cargo fmt`Alex Crichton-793/+1098
2018-12-06Bump to 0.4.10Alex Crichton-1/+1
2018-11-28Merge pull request #264 from azriel91/feature/225/externally-tagged-enumsAlex Crichton-57/+675
Issue 255: Externally tagged enum deserialization
2018-11-21Bump to 0.4.9Alex Crichton-1/+1
2018-11-21Merge pull request #276 from ehuss/fix-versionAlex Crichton-2/+2
Indicate this is now supporting version 0.5 of TOML.
2018-11-21Merge pull request #275 from ehuss/fix-datetime-trailing-spaceAlex Crichton-7/+8
Fix trailing space after date.
2018-11-21Indicate this is now supporting version 0.5 of TOML.Eric Huss-2/+2
2018-11-21Fix trailing space after date.Eric Huss-7/+8
The space between date and time was being eagerly skipped when it shouldn't.
2018-11-17Maintain backward compatibility with Rust 1.15, take 3.Azriel Hoh-8/+6
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