Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2017-02-08 | Implement Deserializer::set_require_newline_after_table | Alex Crichton | -6/+40 | |
2017-02-08 | Update metadata | Alex Crichton | -37/+15 | |
2017-02-08 | Merge pull request #137 from alexcrichton/serde-upgrade | Alex Crichton | -5515/+5529 | |
Rewrite crate with serde support from ground up | ||||
2017-02-08 | Rewrite crate with serde support from ground up | Alex Crichton | -5515/+5529 | |
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 | ||||
2017-01-28 | Merge pull request #134 from SamWhited/patch-1 | Alex Crichton | -0/+1 | |
Add a latest version shield to the readme | ||||
2017-01-27 | Add a latest version shield to the readme | Sam Whited | -0/+1 | |
2017-01-09 | Clarify that serde is supported | Alex Crichton | -0/+40 | |
Closes #122 | ||||
2016-12-30 | Return encoding errors for NaN and infinite | Alex Crichton | -0/+19 | |
TOML can't actually represent them, so we should bail out. Closes #125 | ||||
2016-12-30 | Escape control characters when encoding strings | Alex Crichton | -0/+9 | |
Closes #126 | ||||
2016-11-19 | Update travis token | Alex Crichton | -1/+2 | |
2016-10-02 | Touch up the `decode` example | Alex Crichton | -51/+61 | |
2016-10-02 | Merge pull request #114 from kper/master | Alex Crichton | -0/+51 | |
Add example for decoding toml to struct | ||||
2016-10-02 | Add example for decoding toml to struct | kper | -0/+51 | |
2016-09-08 | Bump to 0.2.1 | Alex Crichton | -1/+1 | |
2016-09-07 | Merge pull request #111 from nabijaczleweli/master | Alex Crichton | -4/+64 | |
Don't space out the first table or array if not needed | ||||
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-09-06 | Don't space out the first table or array if not needed | nabijaczleweli | -4/+12 | |
Closes #110 | ||||
2016-08-16 | Merge pull request #108 from vks/patch-2 | Alex Crichton | -1/+1 | |
Fix a typo | ||||
2016-08-16 | Fix a typo | Vinzent Steinberg | -1/+1 | |
2016-08-16 | Merge pull request #107 from vks/patch-1 | Alex Crichton | -1/+1 | |
Update toml-rs version in README | ||||
2016-08-16 | Update toml-rs version in README | Vinzent Steinberg | -1/+1 | |
2016-08-01 | Remove Cargo.lock in serde-tests | Alex Crichton | -170/+0 | |
2016-08-01 | Update serde-tests Cargo.lock | Alex Crichton | -2/+2 | |
2016-08-01 | Bump to 0.2.0 | Alex Crichton | -1/+1 | |
2016-07-29 | Touch up the encoder/decoder a bit | Alex Crichton | -100/+180 | |
* Whitespace things * Don't make `State` public * Remove `#[cfg]` annotations | ||||
2016-07-29 | Merge pull request #105 from dtolnay/up | Alex Crichton | -80/+508 | |
Update to serde 0.8.0 | ||||
2016-07-29 | Restore defaulted Deserializer methods | David Tolnay | -18/+123 | |
2016-07-29 | Bump serde dependency in serde-tests | David Tolnay | -31/+66 | |
2016-07-28 | Cfg off functions only needed for rustc-serialize or serde | David Tolnay | -13/+31 | |
2016-07-28 | Update to serde 0.8.0 | David Tolnay | -9/+139 | |
2016-07-15 | next iteration | Oliver Schneider | -16/+119 | |
2016-07-14 | adjust for seq/map ser revamp | Oliver Schneider | -23/+60 | |
2016-06-05 | Merge pull request #101 from leodasvacas/clippy-run | Alex Crichton | -37/+42 | |
Clippy run and implement Default for State and Enconder | ||||
2016-06-03 | Clippy run | leonardo.yvens | -38/+43 | |
2016-06-01 | Merge pull request #103 from MarkSwanson/lookup-lifetime-enhancement | Alex Crichton | -1/+1 | |
lookup() and lookup_mut() lifetime enhancements. | ||||
2016-05-31 | Fix serde tests on nightly | Alex Crichton | -40/+40 | |
2016-05-31 | Rely on lifetime elision. | Mark Swanson | -2/+2 | |
2016-05-30 | lookup() and lookup_mut() lifetime enhancements. | Mark Swanson | -2/+2 | |
Rationale: - The path has nothing to do with the result. - The path has no need to live as long as the Value/self. - In some cases it can be hard to actually build a path that meets the same lifetime requirements as the Value or String slice result. | ||||
2016-05-22 | Require newlines to be present after keys | Alex Crichton | -2/+35 | |
Closes #100 | ||||
2016-05-18 | Merge pull request #98 from zofrex/accept-empty-table | Alex Crichton | -1/+14 | |
Accept empty table | ||||
2016-05-19 | Refactor checking for EOF into method | James Sanderson | -1/+6 | |
2016-05-19 | Accept empty table on last line | James Sanderson | -1/+1 | |
2016-05-19 | Failing test for empty table on last line | James Sanderson | -0/+8 | |
2016-05-16 | Update serde-tests Cargo.lock | Alex Crichton | -2/+2 | |
2016-05-16 | Bump to 0.1.30 | Alex Crichton | -1/+1 | |
2016-05-16 | Fix accepting comments after table definitions | Alex Crichton | -3/+2 | |
2016-05-12 | Accept fractional seconds and timezones in datetime parsing | Alex Crichton | -41/+99 | |
Closes #96 | ||||
2016-05-12 | Update serde-test toml version | Alex Crichton | -2/+2 | |
2016-05-12 | Bump to 0.1.29 | Alex Crichton | -1/+1 | |
2016-05-12 | Add option to enable old behavior | Alex Crichton | -9/+23 | |
Cargo will use this in the interim. |