Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2020-11-13 | Remove `no_inline` from `Spanned` import | Stu | -1/+0 | |
2020-10-11 | Bump to 0.5.7 | Alex Crichton | -1/+1 | |
2020-10-11 | Improve error message when parsing unquoted string (#385) | Alex Tokarev | -13/+41 | |
* Improve error message when parsing unquoted string * Remove conversion to lowercase in parse_keylike() Converting keys to lowercase goes against TOML specification for floats. * Change error message for unquoted string | ||||
2020-05-28 | Allow delimiter quotes at the end of multiline strings (#393) | pyfisch | -1/+32 | |
TOML allows (unlike many other formats) up to 2 additonal quotes that are part of the string: basic = """2 extra quotes -->""""" literal = '''here too '''' Changed in TOML v1.0.0-rc.1 See also #392 | ||||
2020-02-25 | Apply some Clippy suggestions. (#378) | Bram Geron | -5/+5 | |
2020-02-25 | Rustdoc: Add links. Show all reexports as reexports. (#377) | Bram Geron | -8/+16 | |
* Rustdoc: Add links. Show all reexports as reexports. * Reformat. | ||||
2020-01-30 | Fix roundtripping of \u001f and \u007f in toml string literals (#372) | Michael Sloan | -3/+14 | |
2020-01-19 | Merge pull request #370 from zeenix/fix-typo | Eric Huss | -1/+1 | |
Fix a small typo in docs | ||||
2020-01-19 | Fix a small typo in docs | Zeeshan Ali | -1/+1 | |
2020-01-16 | Bump to 0.5.6 | Alex Crichton | -1/+1 | |
2020-01-15 | Fix a couple errors in DateStrEmitter (#368) | Michael Sloan | -2/+2 | |
2019-12-22 | Merge pull request #365 from AnderEnder/remove-deprecated-error-description | Eric Huss | -50/+3 | |
Remove deprecated Error::description | ||||
2019-12-22 | remove deprecated Error::description | Andrii Radyk | -50/+3 | |
2019-11-22 | Mixed type arrays (#358) | daubaris | -68/+81 | |
* 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 | Bump to 0.5.5 | Alex Crichton | -1/+1 | |
2019-11-01 | replace copied wit filter_map for rustc 1.35 compatibility (#354) | Maxim Vorobjov | -4/+2 | |
2019-10-29 | Replace the test added by #349 with a bench (#351) | est31 | -37/+41 | |
CI environments can be noisy and while the test worked great locally on my machine, it didn't on the CI environment. This replaces the test with a (manually tracked) benchmark. As per https://github.com/alexcrichton/toml-rs/pull/349#issuecomment-546998173 | ||||
2019-10-29 | update (#352) | Tshepang Lekhonkhobe | -1/+1 | |
2019-10-28 | Bump to 0.5.4 | Alex Crichton | -1/+1 | |
2019-10-28 | Decrease deserialization complexity from quadratic to linear (#349) | est31 | -18/+131 | |
* 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 | -7/+140 | |
* "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-10-25 | Switch from linked-hash-map to indexmap | Alex Crichton | -13/+13 | |
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/+77 | |
* 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-16 | Remove outdated Travis CI badge (#346) | Linda_pp | -3/+0 | |
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/+161 | |
* 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/+52 | |
Add support for deserializing enums from nested dotted tables. | ||||
2019-09-05 | Suppport deserialization of Spanned<> at the top level (#328) | est31 | -13/+76 | |
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-28 | Work around a rustfmt bug | Alex Crichton | -1/+2 | |
2019-08-28 | wut | Alex Crichton | -1/+1 | |
2019-08-28 | More rustfmt | Alex Crichton | -1/+1 | |
2019-08-28 | Remove outdated README badges | Alex Crichton | -2/+0 | |
2019-08-28 | Run rustfmt | Alex Crichton | -12/+11 | |
2019-08-28 | Switch to github actions for CI | Alex Crichton | -24/+44 | |
2019-08-23 | Allow zero-prefixed float exponents. (#322) | Eric Huss | -3/+28 | |
2019-08-20 | Merge pull request #321 from NickHackman/fix-clippy-warnings-and-errors | Alex Crichton | -152/+133 | |
Fix clippy warnings and errors | ||||
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 | Bump to 0.5.3 | Eric Huss | -1/+1 | |
2019-08-13 | Merge pull request #320 from ehuss/crlf-error-index | Eric Huss | -1/+31 | |
Fix error line/column when using CRLF line endings. | ||||
2019-08-13 | Fix error line/column when using CRLF line endings. | Eric Huss | -1/+31 | |
2019-08-13 | Merge pull request #319 from NickHackman/modernize-enum-discriminant-comparison | Alex Crichton | -23/+4 | |
Simplified Logic when comparing discriminants | ||||
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-13 | Bump to 0.5.2 | Alex Crichton | -1/+1 | |