Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2021-03-21 | hilarious and original jokeHEADmain | Melody Horn | -24/+24 | |
2019-09-05 | Nested dotted-table enums (#329) | James Kay | -0/+20 | |
Add support for deserializing enums from nested dotted tables. | ||||
2018-11-17 | Maintain backward compatibility with Rust 1.15, take 3. | Azriel Hoh | -7/+4 | |
2018-11-12 | Error when deserializing struct if encountering unknown fields. | Azriel Hoh | -0/+40 | |
Issue #225 | ||||
2018-11-12 | Added ignored tests for deserializing enums from dotted table. | Azriel Hoh | -0/+48 | |
Issue #225 | ||||
2018-11-10 | Implemented deserialization for external enums. | Azriel Hoh | -0/+153 | |
Issue #225 | ||||
2017-11-12 | Move tests into their own crate | David Tolnay | -3276/+0 | |
2017-08-28 | Fix a number of compile warnings | Alex Crichton | -1/+0 | |
2017-08-13 | close #209: remove FIXME, appears to have been invalid | Garrett Berg | -3/+7 | |
2017-08-13 | add pretty_string_literal to be able to disable literal strings | Garrett Berg | -1/+43 | |
2017-08-13 | add spaces between array items and test for them | Garrett Berg | -0/+48 | |
2017-07-28 | add """ for non-literals with newlines, clean up logic and add tests | Garrett Berg | -7/+25 | |
2017-07-28 | make single lines also pretty | Garrett Berg | -6/+15 | |
2017-07-27 | fix bugs with pretty | Garrett Berg | -5/+69 | |
2017-07-27 | close #199: add header information for empty structs | Garrett Berg | -0/+35 | |
- also add test which fails without this change - also add a few helpful unit tests to table | ||||
2017-07-24 | fix Serializer::pretty_array(false) | Garrett Berg | -5/+40 | |
2017-07-24 | add tests | Garrett Berg | -6/+113 | |
2017-07-10 | fix for rust 1.15 | Garrett Berg | -1/+1 | |
2017-07-09 | pretty arrays | Garrett Berg | -0/+6 | |
2017-07-09 | array doesn't break anything... | Garrett Berg | -3/+3 | |
2017-07-09 | add pretty sting serialization | Garrett Berg | -0/+20 | |
2017-07-06 | One more case of handling newtype structs | Alex Crichton | -0/+29 | |
2017-07-06 | Support deserializing newtypes | Alex Crichton | -0/+16 | |
Closes #196 | ||||
2017-06-01 | Store fractional seconds as a u32 instead of a f64 | Alan Du | -2/+2 | |
Drops precision down to the nanoseconds | ||||
2017-06-01 | Allow serializing keys with \n in them | Alan Du | -0/+7 | |
Use special quoted form Closes https://github.com/alexcrichton/toml-rs/issues/185 | ||||
2017-06-01 | Truncate fractional seconds to picoseconds | Alan Du | -0/+10 | |
Close https://github.com/alexcrichton/toml-rs/issues/186 | ||||
2017-06-01 | Add test case | Alan Du | -0/+24 | |
2017-05-31 | Remove unused test macro | Alan Du | -4/+0 | |
2017-05-30 | Merge pull request #183 from alanhdu/invalid_number | Alex Crichton | -0/+18 | |
Better invalid number handling | ||||
2017-05-31 | Error when trying to serialize invalid float | Alan Du | -0/+14 | |
2017-05-31 | Error when parsing numbers outside of f64's range | Alan Du | -0/+4 | |
2017-05-30 | Encode control characters with hex not decimal | Alan Du | -0/+2 | |
Fix https://github.com/alexcrichton/toml-rs/issues/178 | ||||
2017-04-24 | Allow to deserialize/serialize into enums | Vincent Prouillet | -0/+19 | |
Close #164 | ||||
2017-04-20 | Support serde 1.0.0 | Alex Crichton | -2/+2 | |
2017-04-12 | Simplify if-statements | Daniel Lockyer | -1/+1 | |
2017-03-31 | Fix backcompat with array definitions | Alex Crichton | -2/+7 | |
2017-02-21 | Relax assertions in substr_offset slightly | Alex Crichton | -0/+1 | |
Closes #152 | ||||
2017-02-19 | Fixed sorting of table values | Evgenii Pashkin | -0/+6 | |
2017-02-11 | Fix displaying empty arrays | Alex Crichton | -0/+49 | |
Closes #145 | ||||
2017-02-10 | Add a serialization helper to put tables last | Alex Crichton | -0/+30 | |
This should help serializing maps where it's unknown up front whether the tables and/or values come first. Closes #142 | ||||
2017-02-08 | Implement Deserializer::set_require_newline_after_table | Alex Crichton | -0/+14 | |
2017-02-08 | Rewrite crate with serde support from ground up | Alex Crichton | -59/+1205 | |
This commit completely rewrites this crate from the ground up, supporting serde at the lowest levels as I believe serde support was intended to do. This is a major change from the previous versions of this crate, with a summary of changes being: * Serialization directly to TOML is now supported without going through a `Value` first. * Deserialization directly from TOML is now supported without going through a `Value`. Note that due to the TOML format some values still are buffered in intermediate memory, but overall this should be at a minimum now. * The API of `Value` was overhauled to match the API of `serde_json::Value`. The changes here were to: * Add `is_*` accessors * Add `get` and `get_mut` for one-field lookups. * Implement panicking lookups through `Index` The old `index` methods are now gone in favor of `get` and `Index` implementations. * A `Datetime` type has been added to represent a TOML datetime in a first-class fashion. Currently this type provides no accessors other than a `Display` implementation, but the idea is that this will grow support over time for decomposing the date. * Support for the `rustc-serialize` crate has been dropped, that'll stay on the 0.2 and 0.1 release trains. * This crate no longer supports the detection of unused fields, for that though you can use the `serde_ignored` crate on crates.io | ||||
2016-09-06 | Add tests for checking for extraneous leading newlines (or lack thereof) | nabijaczleweli | -0/+52 | |
Couldn't find a better place to put this (the "valid" and "invalid" tests are just for parser) so I made a new test module | ||||
2016-04-17 | Add failing test cases containing invalid Toml with keys on the same line as ↵ | James Sanderson | -0/+6 | |
table definition | ||||
2016-04-03 | Tweak unicode-escape test | Tae-il Lim | -4/+4 | |
2016-04-02 | Update integration tests to ↵ | Tae-il Lim | -12/+196 | |
BurntSushi/toml-test@2f1c20de60bc9de743bdb8c7d2e79172fb28e6f8 | ||||
2015-10-07 | Allow BOM (Byte order mark) in toml | osboxes.org | -0/+8 | |
2015-08-14 | Add a very simple test for Parser::to_linecol. | Alex Gulyás | -0/+6 | |
This test shows that in some cases converting error offsets generated by the parser to line and column numbers will panic ('arithmetic operation overflowed') in debug mode, and return an incorrect column number in release mode. | ||||
2015-08-13 | Make serde-tests a standalone crate | Alex Crichton | -487/+0 | |
2015-08-12 | Get serde feature compiling again | Erick Tryzelaar | -1/+1 | |