Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2019-10-25 | Switch from linked-hash-map to indexmap | Alex Crichton | -11/+11 | |
Follow the footsteps of serde_json! Closes #348 | ||||
2019-10-25 | Spanned: impl PartialEq, Eq, Hash, PartialOrd, Ord in terms of the value (#344) | est31 | -1/+36 | |
* Spanned: impl PartialEq, Eq, Hash, PartialOrd, Ord in terms of the value This is because we want to be able to index into HashMap<Spanned<String>, T> with a dummy span and get results where only the content has to match. * Add Borrow impl * Add tests | ||||
2019-10-15 | feat: support tabs in basic strings (#343) | Kyle Clemens | -1/+3 | |
Close #310. | ||||
2019-10-03 | get_mut should return a mutable reference (#338) | Guillaume Fraux | -2/+2 | |
2019-09-30 | Forbid unsafe code (#332) | Sergey "Shnatsel" Davidoff | -0/+5 | |
* Forbid unsafe code * Add badge advertising that unsafe code is forbidden * Revert "Add badge advertising that unsafe code is forbidden" This reverts commit e8d35d20d016a341d37969b975463588d3143528. * Comment on #![forbid(unsafe_code)] * Run rustfmt | ||||
2019-09-16 | Support deserializing spanned keys (#333) | est31 | -36/+88 | |
* 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 | -17/+6 | |
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-20 | Propogate write! errors to ser::Error | Nick Hackman | -9/+7 | |
std::fmt::Errors are now converted to ser::Errors via ser::Error::custom | ||||
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-18 | Potential Solution to drop clippy errors | Nick Hackman | -7/+11 | |
Calling the write!, the result that it returns doesn't matter or wasn't deemed as important and was dropped before. This was just removed and then the unused Result is ignored via clippy attribute. This is a plausible solution to get past the Clippy Error, but others may be more ideal. | ||||
2019-08-14 | Removed all warnings besides two | Nick Hackman | -137/+113 | |
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 | -23/+4 | |
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 | Derive Clone+PartialEq for Spanned | Jason Priest | -1/+1 | |
Should any other traits be derived? | ||||
2019-08-12 | Run `cargo fmt` | Alex Crichton | -2/+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 | -4/+4 | |
2019-08-09 | include Spanned in the docs | Pietro Albini | -21/+21 | |
The `Spanned` struct was originally included in the docs as a re-export, but rustdoc doesn't render re-exports if the module from which it's exported isn't documented. Since `Spanned` is the only public item inside the `spanned` module this commit shows the struct as a normal item in the index, and moves the example from the module docs to the struct docs. | ||||
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 | cargo fmt | Eric Huss | -5/+4 | |
2019-05-08 | 2018 edition idioms. | Eric Huss | -71/+51 | |
2019-05-08 | Migrate to 2018 edition. | Eric Huss | -89/+89 | |
2019-04-25 | Bump html_root_url version. | Eric Huss | -1/+1 | |
2019-04-08 | implement From<toml::value::Table> for toml::Value | Constantin Nickel | -0/+1 | |
2019-04-05 | Fix float with invalid suffix. | Eric Huss | -0/+2 | |
2019-04-02 | Merge pull request #295 from ErichDonGubler/fix_warnings | Eric Huss | -3/+3 | |
Fix warnings for deprecated usages of trim_{left,right}_matches. | ||||
2019-04-02 | Fix warnings for deprecated usages of trim_{left,right}_matches. | Erich Gubler | -3/+3 | |
2019-04-02 | Make importing `toml_internal` macro unnecessary when using the `toml` macro | Erich Gubler | -63/+63 | |
2019-03-20 | Fix parsing of repeated delimiters inside multi-line strings | Tomasz 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-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 | -3/+7 | |
2019-01-08 | Merge pull request #278 from Kerollmops/master | Alex Crichton | -8/+611 | |
Add the preserve_order feature (rebased version) | ||||
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-28 | Add the preserve_order feature | Vincent Prouillet | -8/+611 | |
2018-12-17 | Run `cargo fmt` | Alex Crichton | -782/+1088 | |
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 | Merge pull request #276 from ehuss/fix-version | Alex Crichton | -1/+1 | |
Indicate this is now supporting version 0.5 of TOML. | ||||
2018-11-21 | Indicate this is now supporting version 0.5 of TOML. | Eric Huss | -1/+1 | |
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 |