Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2020-10-11 | Improve error message when parsing unquoted string (#385) | Alex Tokarev | -10/+19 | |
* 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 | -0/+23 | |
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-01-30 | Fix roundtripping of \u001f and \u007f in toml string literals (#372) | Michael Sloan | -0/+10 | |
2019-11-22 | Mixed type arrays (#358) | daubaris | -16/+46 | |
* Added support of mixed-type arrays * Add tests cases * Replaced &'static str type for type_ and created a new enum instead * Restored ArrayMixedType | ||||
2019-10-29 | Replace the test added by #349 with a bench (#351) | est31 | -37/+40 | |
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-28 | Decrease deserialization complexity from quadratic to linear (#349) | est31 | -0/+37 | |
* 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 | -1/+90 | |
* "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 | Spanned: impl PartialEq, Eq, Hash, PartialOrd, Ord in terms of the value (#344) | est31 | -0/+41 | |
* 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-09-16 | Support deserializing spanned keys (#333) | est31 | -0/+73 | |
* 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-05 | Suppport deserialization of Spanned<> at the top level (#328) | est31 | -9/+33 | |
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 | Run rustfmt | Alex Crichton | -12/+11 | |
2019-08-23 | Allow zero-prefixed float exponents. (#322) | Eric Huss | -1/+26 | |
2019-08-13 | Fix error line/column when using CRLF line endings. | Eric Huss | -0/+27 | |
2019-08-12 | Run `cargo fmt` | Alex Crichton | -1/+1 | |
2019-07-30 | Add line and column to all Errors | Andres Suarez | -59/+118 | |
2019-07-30 | Add tests covering custom deserializers | Andres Suarez | -1/+297 | |
2019-07-28 | Show "column" in Error messages | Andres Suarez | -132/+183 | |
2019-07-28 | Fully expand error messages in tests | Andres Suarez | -200/+414 | |
2019-05-09 | Merge pull request #308 from ehuss/edition-2018 | Alex Crichton | -520/+852 | |
Migrate to 2018 edition | ||||
2019-05-08 | cargo fmt | Eric Huss | -520/+847 | |
2019-05-08 | Remove rustc version checking. | Eric Huss | -15/+0 | |
This is no longer necessary, as <1.20 is no longer supported. | ||||
2019-05-08 | Migrate to 2018 edition. | Eric Huss | -1/+6 | |
2019-04-08 | Merge pull request #298 from ehuss/missing-tests | Alex Crichton | -4/+9 | |
Add some missing tests, and sort some entries. | ||||
2019-04-05 | Fix float with invalid suffix. | Eric Huss | -0/+3 | |
2019-04-05 | Add some missing tests, and sort some entries. | Eric Huss | -4/+9 | |
2019-04-02 | Fix warnings for deprecated usages of trim_{left,right}_matches. | Erich Gubler | -1/+1 | |
2019-02-19 | Fix case sensitivity with T, Z, and E. | Eric Huss | -0/+3 | |
2019-01-08 | Merge pull request #278 from Kerollmops/master | Alex Crichton | -6/+6 | |
Add the preserve_order feature (rebased version) | ||||
2019-01-07 | Fix disallowing duplicate table headers | Alex Crichton | -1/+33 | |
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 | Update the serde test-suite map! macro | Clément Renault | -1/+1 | |
2018-12-28 | Add the preserve_order feature | Vincent Prouillet | -5/+5 | |
2018-11-21 | Fix trailing space after date. | Eric Huss | -0/+2 | |
The space between date and time was being eagerly skipped when it shouldn't. | ||||
2018-10-29 | Merge pull request #268 from jmhain/allow-ws-after-bs | Alex Crichton | -0/+22 | |
Allow whitespace after line ending backslash (#162) | ||||
2018-10-28 | Support tuple Serde types for `Value` | hcpl | -6/+54 | |
2018-10-27 | Allow whitespace after line ending backslash (#162) | Joey Hain | -0/+22 | |
2018-10-01 | Avoid panic on pretty string ending in single quote | Matti Niemenmaa | -0/+16 | |
Fixes #262. | ||||
2018-09-25 | Fix multi-line strings are not allowed for key | rhysd | -0/+6 | |
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-08-06 | Merge pull request #255 from kornelski/master | Alex Crichton | -0/+13 | |
Support deserializing from other integer types | ||||
2018-08-06 | Test serde_json interoperability | Kornel | -0/+13 | |
2018-08-05 | Support the new 0.5 syntax in the toml! macro. | Eric Huss | -1/+80 | |
- Space in datetime. - +- inf, nan, 0.0 - Dotted keys. | ||||
2018-07-27 | Don't allow intermixing inline tables and dotted key tables. | Eric Huss | -13/+1 | |
2018-07-16 | 0.5: Support dotted keys. | Eric Huss | -1/+65 | |
cc #224 | ||||
2018-07-11 | 0.5: Support hex/oct/bin integers. | Eric Huss | -1/+27 | |
cc #224 | ||||
2018-07-11 | Merge pull request #251 from ehuss/datetime-space | Alex Crichton | -2/+6 | |
0.5: Support space separator in datetime. | ||||
2018-07-11 | Merge pull request #250 from ehuss/reject-del | Alex Crichton | -0/+2 | |
0.5: Reject 0x7f (DEL) in strings. | ||||
2018-07-11 | 0.5: Support floats nan, inf, and +/-0.0. | Eric Huss | -18/+85 | |
cc #224 | ||||
2018-07-10 | 0.5: Reject 0x7f (DEL) in strings. | Eric Huss | -0/+2 | |
cc #224 |