Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
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 | |
2015-04-20 | most tests work now | Oliver Schneider | -5/+16 | |
2015-04-02 | wip | Alex Crichton | -0/+476 | |
2015-03-25 | Bump to 0.1.19 | Alex Crichton | -1/+1 | |
2015-03-09 | Reduce usage of unstable features | Alex Crichton | -1/+1 | |
2015-02-13 | Add v0.4.0 compliance test | Alex Crichton | -0/+239 | |
2015-02-02 | Properly escape keys when printing TOML | Alex Crichton | -2/+8 | |
Closes #53 | ||||
2015-01-27 | Migrate to as many stable functions as possible | Alex Crichton | -14/+8 | |
2015-01-20 | Remove slash as an escapeable character | Alex Crichton | -1/+1 | |
2015-01-15 | Update key syntax to TOML master | Alex Crichton | -4/+4 | |
* Bare keys contain a very limited set of characters now. * Keys in quotes behave the same as basic strings. Closes #47 | ||||
2015-01-15 | Implement new rules for bare key names | Alex Crichton | -5/+5 | |
* Key names are restricted to [a-zA-Z0-9_-] * Equal signs must be on the same line (as must the next value) as the key * Quoted keys are allowed and are parsed as basic strings. Closes #48 | ||||
2015-01-15 | Fix parsing leading `+` on numbers | Alex Crichton | -3/+3 | |
2015-01-15 | Add a few more tests from the toml-lang repo | Alex Crichton | -0/+274 | |
2015-01-15 | Move tests to integration tests | Alex Crichton | -0/+748 | |