Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
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 | ||||
2018-11-12 | Error when deserializing struct if encountering unknown fields. | Azriel Hoh | -0/+41 | |
Issue #225 | ||||
2018-11-10 | Maintain compatibility with Rust 1.15 | Azriel Hoh | -1/+1 | |
Issue #225 | ||||
2018-11-10 | Implemented deserialization for external enums. | Azriel Hoh | -71/+175 | |
Issue #225 | ||||
2018-11-10 | Better error handling when parsing tuples. | Azriel Hoh | -12/+35 | |
Issue #225 | ||||
2018-11-10 | Implemented enum tuple deserialization. | Azriel Hoh | -6/+63 | |
Issue #225 | ||||
2018-11-10 | Implement deserialization for unit and struct variants. | Azriel Hoh | -1/+100 | |
Issue #225 | ||||
2018-10-29 | Merge pull request #271 from spease/allow-newtype-key | Alex Crichton | -2/+2 | |
Allow newtype key | ||||
2018-10-29 | Merge pull request #268 from jmhain/allow-ws-after-bs | Alex Crichton | -1/+18 | |
Allow whitespace after line ending backslash (#162) | ||||
2018-10-28 | Support tuple Serde types for `Value` | hcpl | -9/+54 | |
2018-10-27 | Allow newtype key | Steven Pease | -2/+2 | |
2018-10-27 | Allow whitespace after line ending backslash (#162) | Joey Hain | -1/+18 | |
2018-10-01 | Avoid panic on pretty string ending in single quote | Matti Niemenmaa | -0/+4 | |
Fixes #262. | ||||
2018-09-25 | Fix multi-line strings are not allowed for key | rhysd | -31/+47 | |
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/+16 | |
Support deserializing from other integer types | ||||
2018-08-05 | Support deserializing from other integer types | Kornel | -0/+16 | |
2018-08-05 | Support the new 0.5 syntax in the toml! macro. | Eric Huss | -45/+134 | |
- Space in datetime. - +- inf, nan, 0.0 - Dotted keys. | ||||
2018-07-27 | Don't allow intermixing inline tables and dotted key tables. | Eric Huss | -4/+6 | |
2018-07-16 | Support older rustc. | Eric Huss | -4/+4 | |
2018-07-16 | 0.5: Support dotted keys. | Eric Huss | -5/+57 | |
cc #224 | ||||
2018-07-11 | 0.5: Support hex/oct/bin integers. | Eric Huss | -30/+39 | |
cc #224 | ||||
2018-07-11 | Merge pull request #251 from ehuss/datetime-space | Alex Crichton | -1/+13 | |
0.5: Support space separator in datetime. | ||||
2018-07-11 | Merge pull request #250 from ehuss/reject-del | Alex Crichton | -2/+2 | |
0.5: Reject 0x7f (DEL) in strings. | ||||
2018-07-11 | 0.5: Support floats nan, inf, and +/-0.0. | Eric Huss | -26/+32 | |
cc #224 | ||||
2018-07-10 | 0.5: Reject 0x7f (DEL) in strings. | Eric Huss | -2/+2 | |
cc #224 | ||||
2018-07-10 | 0.5: Support space separate in datetime. | Eric Huss | -1/+13 | |
cc #224 | ||||
2018-05-24 | Support fixed-length arrays | Alex Crichton | -15/+102 | |
Turns out these are deserialized/serialized as tuples! While we're at it add support for tuple variants and tuple structs through the same paths. Closes #244 | ||||
2018-05-09 | Merge pull request #239 from udoprog/spans | Alex Crichton | -96/+361 | |
Support spans when deserializing serde structures | ||||
2018-05-09 | Treat unicode hex digits case-insensitively | Claudio Bley | -7/+4 | |
In Rust >= 1.24.0 we could have used `char::is_ascii_hexdigit`, but to keep compatiblity with older versions, `char::is_digit(16)` is used. Fixes #240. | ||||
2018-05-09 | Make spanned module private and hide internals | John-John Tedro | -7/+41 | |
2018-05-07 | Fix incorrectly reported spans for Datetime | John-John Tedro | -13/+24 | |
2018-05-07 | Use BorrowedStrDeserializer instead of generated key deserializers | John-John Tedro | -55/+7 | |
2018-05-07 | Adjust spans for more complex types | John-John Tedro | -27/+54 | |
2018-05-07 | Use custom struct/field naming to deserialize spans | John-John Tedro | -63/+178 | |
2018-05-06 | Proof of concept: reporting span information to a Spanned<T> type | David Tolnay | -51/+177 | |
2018-05-01 | Make Tokenizer emit spans | John-John Tedro | -75/+110 | |
2018-04-16 | Replace try!() with ? | Kornel | -4/+4 | |
2017-11-12 | A toml macro | David Tolnay | -0/+376 | |
2017-09-15 | Merge pull request #213 from behnam/doc | Alex Crichton | -7/+7 | |
[value] Fix some method docs | ||||
2017-09-14 | [value] Fix some method docs | Behnam Esfahbod ✅ | -7/+7 | |
2017-08-28 | Fix a number of compile warnings | Alex Crichton | -13/+13 | |