Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2019-12-22 | remove deprecated Error::description | Andrii Radyk | -29/+1 | |
2019-11-22 | Mixed type arrays (#358) | daubaris | -19/+0 | |
* 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-01 | replace copied wit filter_map for rustc 1.35 compatibility (#354) | Maxim Vorobjov | -4/+2 | |
2019-10-28 | Decrease deserialization complexity from quadratic to linear (#349) | est31 | -18/+94 | |
* Speed up array code * Speed up map code too Also add regression test * Use more obvious closure notation * Document the builder functions | ||||
2019-10-28 | Support for dotted table spans (#340) | est31 | -6/+50 | |
* "Support" spans for maps In toml you can declare maps via {} and via [name]. We can't obtain spans for [] maps but at least we can emit fake spans to make SpannedValue work. We also add a regression test. * Don't regress the inline table case * Also support arrays | ||||
2019-09-16 | Support deserializing spanned keys (#333) | est31 | -35/+87 | |
* Store key spans in the deserializer * Support deserializing spanned keys * Store key spans of the table header as well * Support nested table key spans as well | ||||
2019-09-09 | Remove redundant #[doc(hidden)] attributes (#331) | est31 | -6/+2 | |
2019-09-05 | Nested dotted-table enums (#329) | James Kay | -1/+32 | |
Add support for deserializing enums from nested dotted tables. | ||||
2019-09-05 | Suppport deserialization of Spanned<> at the top level (#328) | est31 | -4/+43 | |
2019-09-04 | Make `de::Error` `Eq` in addition to current `PartialEq` (#330) | Erich Gubler | -3/+3 | |
Not sure why this wasn't implemented before, since `ser::Error` has implemented `PartialEq` and `Eq` as of PR #144. | ||||
2019-08-23 | Allow zero-prefixed float exponents. (#322) | Eric Huss | -2/+2 | |
2019-08-18 | Fixed Clippy warning of long return type | Nick Hackman | -8/+11 | |
Created an alias named TablePair being a (Cow<'a, str>, Value<'a>) | ||||
2019-08-14 | Removed all warnings besides two | Nick Hackman | -74/+60 | |
Majority of warnings removed via RustFix Two remain one being a long return type and another being a name suggestion from Clippy `to_owned` for MaybeString | ||||
2019-08-13 | Fix error line/column when using CRLF line endings. | Eric Huss | -1/+4 | |
2019-08-13 | Simplified Logic when comparing discriminants | Nick Hackman | -12/+2 | |
Removed matches that were used to compare Enum variants for equality in favor of using discriminant from https://doc.rust-lang.org/std/mem/fn.discriminant.html introduced in Rust 1.21.0 | ||||
2019-08-12 | Run `cargo fmt` | Alex Crichton | -1/+1 | |
2019-08-12 | Fix a bad merge | Alex Crichton | -7/+6 | |
2019-08-12 | Merge pull request #315 from jwdeitch/master | Alex Crichton | -0/+7 | |
Allow conversion from de::Error to std::io::error | ||||
2019-08-12 | Merge pull request #314 from zertosh/add-line-and-col-to-errors | Alex Crichton | -66/+142 | |
Add line and column to all Errors | ||||
2019-08-12 | Squelch explicit_outlives_requirements warning. | Eric Huss | -1/+1 | |
2019-08-01 | convert toml error to std::io error | Jordan Deitch | -0/+7 | |
2019-07-30 | Add line and column to all Errors | Andres Suarez | -66/+142 | |
2019-07-28 | Show "column" in Error messages | Andres Suarez | -1/+1 | |
2019-05-08 | 2018 edition idioms. | Eric Huss | -10/+8 | |
2019-05-08 | Migrate to 2018 edition. | Eric Huss | -3/+3 | |
2019-04-05 | Fix float with invalid suffix. | Eric Huss | -0/+2 | |
2019-04-02 | Fix warnings for deprecated usages of trim_{left,right}_matches. | Erich Gubler | -2/+2 | |
2019-03-11 | Add PartialEq to Toml::de | Abid Omar | -3/+3 | |
Add PartialEq trait to Error, ErrorInner and ErrorKind. Relevant issue: https://github.com/alexcrichton/toml-rs/issues/291 | ||||
2019-02-19 | Fix case sensitivity with T, Z, and E. | Eric Huss | -1/+4 | |
2019-01-07 | Fix disallowing duplicate table headers | Alex Crichton | -6/+30 | |
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-17 | Run `cargo fmt` | Alex Crichton | -232/+335 | |
2018-11-28 | Merge pull request #264 from azriel91/feature/225/externally-tagged-enums | Alex Crichton | -57/+391 | |
Issue 255: Externally tagged enum deserialization | ||||
2018-11-21 | Fix trailing space after date. | Eric Huss | -7/+6 | |
The space between date and time was being eagerly skipped when it shouldn't. | ||||
2018-11-17 | Maintain backward compatibility with Rust 1.15, take 3. | Azriel Hoh | -1/+2 | |
2018-11-17 | Only validate table keys against fields when deserializing enum. | Azriel Hoh | -18/+27 | |
Issue #225 | ||||
2018-11-17 | Maintain compatibility with Rust 1.15 | Azriel Hoh | -2/+2 | |
Issue #225 | ||||
2018-11-12 | Error when deserializing struct if encountering unknown fields. | Azriel Hoh | -0/+41 | |
Issue #225 | ||||
2018-11-10 | Maintain compatibility with Rust 1.15 | Azriel Hoh | -1/+1 | |
Issue #225 | ||||
2018-11-10 | Implemented deserialization for external enums. | Azriel Hoh | -71/+175 | |
Issue #225 | ||||
2018-11-10 | Better error handling when parsing tuples. | Azriel Hoh | -12/+35 | |
Issue #225 | ||||
2018-11-10 | Implemented enum tuple deserialization. | Azriel Hoh | -6/+63 | |
Issue #225 | ||||
2018-11-10 | Implement deserialization for unit and struct variants. | Azriel Hoh | -1/+100 | |
Issue #225 | ||||
2018-09-25 | Fix multi-line strings are not allowed for key | rhysd | -0/+8 | |
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-07-27 | Don't allow intermixing inline tables and dotted key tables. | Eric Huss | -4/+6 | |
2018-07-16 | Support older rustc. | Eric Huss | -4/+4 | |
2018-07-16 | 0.5: Support dotted keys. | Eric Huss | -5/+57 | |
cc #224 | ||||
2018-07-11 | 0.5: Support hex/oct/bin integers. | Eric Huss | -30/+39 | |
cc #224 | ||||
2018-07-11 | Merge pull request #251 from ehuss/datetime-space | Alex Crichton | -0/+11 | |
0.5: Support space separator in datetime. | ||||
2018-07-11 | 0.5: Support floats nan, inf, and +/-0.0. | Eric Huss | -0/+9 | |
cc #224 | ||||
2018-07-10 | 0.5: Support space separate in datetime. | Eric Huss | -0/+11 | |
cc #224 |