aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2019-09-05Suppport deserialization of Spanned<> at the top level (#328)est31-13/+76
2019-09-04Make `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-28Work around a rustfmt bugAlex Crichton-1/+2
2019-08-28wutAlex Crichton-1/+1
2019-08-28More rustfmtAlex Crichton-1/+1
2019-08-28Remove outdated README badgesAlex Crichton-2/+0
2019-08-28Run rustfmtAlex Crichton-12/+11
2019-08-28Switch to github actions for CIAlex Crichton-24/+44
2019-08-23Allow zero-prefixed float exponents. (#322)Eric Huss-3/+28
2019-08-20Merge pull request #321 from NickHackman/fix-clippy-warnings-and-errorsAlex Crichton-152/+133
Fix clippy warnings and errors
2019-08-20Propogate write! errors to ser::ErrorNick Hackman-9/+7
std::fmt::Errors are now converted to ser::Errors via ser::Error::custom
2019-08-18Fixed Clippy warning of long return typeNick Hackman-8/+11
Created an alias named TablePair being a (Cow<'a, str>, Value<'a>)
2019-08-18Potential Solution to drop clippy errorsNick 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-14Removed all warnings besides twoNick 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-13Bump to 0.5.3Eric Huss-1/+1
2019-08-13Merge pull request #320 from ehuss/crlf-error-indexEric Huss-1/+31
Fix error line/column when using CRLF line endings.
2019-08-13Fix error line/column when using CRLF line endings.Eric Huss-1/+31
2019-08-13Merge pull request #319 from NickHackman/modernize-enum-discriminant-comparisonAlex Crichton-23/+4
Simplified Logic when comparing discriminants
2019-08-13Simplified Logic when comparing discriminantsNick 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-13Bump to 0.5.2Alex Crichton-1/+1
2019-08-13Merge pull request #318 from JustAPerson/patch-1Alex Crichton-1/+1
Derive Clone+PartialEq for Spanned
2019-08-12Derive Clone+PartialEq for SpannedJason Priest-1/+1
Should any other traits be derived?
2019-08-12Run `cargo fmt`Alex Crichton-3/+2
2019-08-12Fix a bad mergeAlex Crichton-7/+6
2019-08-12Merge pull request #315 from jwdeitch/masterAlex Crichton-0/+7
Allow conversion from de::Error to std::io::error
2019-08-12Merge pull request #314 from zertosh/add-line-and-col-to-errorsAlex Crichton-109/+540
Add line and column to all Errors
2019-08-12Merge pull request #317 from ehuss/outlives-requirementsAlex Crichton-4/+4
Squelch explicit_outlives_requirements warning.
2019-08-12Squelch explicit_outlives_requirements warning.Eric Huss-4/+4
2019-08-09Merge pull request #316 from pietroalbini/doc-spannedAlex Crichton-21/+21
Include Spanned in the docs
2019-08-09include Spanned in the docsPietro 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-01convert toml error to std::io errorJordan Deitch-0/+7
2019-07-30Add line and column to all ErrorsAndres Suarez-125/+260
2019-07-30Add tests covering custom deserializersAndres Suarez-1/+297
2019-07-29Merge pull request #313 from zertosh/show-col-in-errorsAlex Crichton-204/+469
Show "column" in Error messages
2019-07-28Show "column" in Error messagesAndres Suarez-133/+184
2019-07-28Fully expand error messages in testsAndres Suarez-200/+414
2019-07-27Merge pull request #311 from Aaron1011/feature/update-serdeEric Huss-1/+1
Bump Serde dependency to 1.0.97
2019-07-27Bump Serde dependency to 1.0.97Aaron Hill-1/+1
toml-rs depends on some Serde types not present in Serde 1.0.0 (e.g BorrowedStrDeserializer). By explicitly depending on a newever version, we ensure compatibility with any crates using '-Z minimal-versions' Note that we could probably depend on an older version of Serde, but I didn't see much point in finding the exact minimum patch release that's compatible with toml-rs
2019-05-16Bump to 0.5.1Alex Crichton-1/+1
2019-05-09Merge pull request #308 from ehuss/edition-2018Alex Crichton-693/+998
Migrate to 2018 edition
2019-05-09Merge pull request #307 from ehuss/remove-conditional-rustcAlex Crichton-15/+0
Remove rustc version checking.
2019-05-08cargo fmtEric Huss-525/+851
2019-05-08Remove rustc version checking.Eric Huss-15/+0
This is no longer necessary, as <1.20 is no longer supported.
2019-05-082018 edition idioms.Eric Huss-80/+53
2019-05-08Migrate to 2018 edition.Eric Huss-90/+96
2019-04-25Merge pull request #305 from ehuss/0.5-versionEric Huss-1/+1
Bump html_root_url version.
2019-04-25Bump html_root_url version.Eric Huss-1/+1
2019-04-25Merge pull request #304 from felixrabe/patch-1Alex Crichton-1/+1
README.md: `0.4` -> `0.5`
2019-04-24README.md: `0.4` -> `0.5`Felix Rabe-1/+1
2019-04-09Merge pull request #301 from nickelc/from_tableAlex Crichton-0/+1
implement From<toml::value::Table> for toml::Value