aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2019-08-01convert toml error to std::io errorJordan Deitch-0/+7
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
2019-04-08implement From<toml::value::Table> for toml::ValueConstantin Nickel-0/+1
2019-04-08Merge pull request #298 from ehuss/missing-testsAlex Crichton-4/+9
Add some missing tests, and sort some entries.
2019-04-08Merge pull request #299 from ehuss/fix-float-suffixAlex Crichton-0/+5
Fix float with invalid suffix.
2019-04-05Fix float with invalid suffix.Eric Huss-0/+5
2019-04-05Add some missing tests, and sort some entries.Eric Huss-4/+9
2019-04-02Merge pull request #295 from ErichDonGubler/fix_warningsEric Huss-4/+4
Fix warnings for deprecated usages of trim_{left,right}_matches.
2019-04-02Merge pull request #296 from ErichDonGubler/toml_internal-stays-internalEric Huss-63/+63
Make importing `toml_internal` macro unnecessary when using the `toml` macro
2019-04-02Fix warnings for deprecated usages of trim_{left,right}_matches.Erich Gubler-4/+4
2019-04-02Make importing `toml_internal` macro unnecessary when using the `toml` macroErich Gubler-63/+63
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