Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2017-02-08 | Rewrite crate with serde support from ground up | Alex Crichton | -1384/+0 | |
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-07-29 | Touch up the encoder/decoder a bit | Alex Crichton | -13/+4 | |
* Whitespace things * Don't make `State` public * Remove `#[cfg]` annotations | ||||
2016-07-29 | Restore defaulted Deserializer methods | David Tolnay | -18/+123 | |
2016-07-28 | Cfg off functions only needed for rustc-serialize or serde | David Tolnay | -13/+27 | |
2016-07-28 | Update to serde 0.8.0 | David Tolnay | -0/+124 | |
2016-06-03 | Clippy run | leonardo.yvens | -5/+5 | |
2016-03-11 | Fix last tests | Alex Crichton | -0/+13 | |
2016-03-11 | Fix an error message test, simlify some serde code | Alex Crichton | -100/+104 | |
2016-03-07 | WIP | Alex Crichton | -42/+70 | |
2016-01-21 | Address issues found by rust-clippy | Corey Farwell | -12/+10 | |
2016-01-01 | Minor documentation grammar fix | Jake Goulding | -2/+4 | |
2015-12-18 | When decoding maps, leave fields that weren't processed | Alex Crichton | -28/+44 | |
Fixes an XXX | ||||
2015-12-15 | Fixed bug: floats always end up in Decoder.toml, even when they have | Cameron Silvestrini | -1/+1 | |
been successfully decoded. | ||||
2015-08-13 | Touch up some style in the decoder | Alex Crichton | -6/+12 | |
2015-08-13 | Rewrite the MapVisitor to add errors for a specific field | Erick Tryzelaar | -5/+24 | |
2015-08-13 | Override the numeric hints to not deserialize ints into floats, and vice versa | Erick Tryzelaar | -8/+81 | |
2015-08-13 | Add a Deserialize::visit_enum that tries to deserialize into each variant | Erick Tryzelaar | -0/+88 | |
This could be more efficiently done if serde communicated the number of arguments in each variant in this function. | ||||
2015-08-12 | Get serde feature compiling again | Erick Tryzelaar | -9/+9 | |
2015-08-12 | Merge remote-tracking branch 'remotes/origin/master' into serde | Erick Tryzelaar | -9/+66 | |
2015-08-06 | it helps to actually build with serde enabled | Ben Navetta | -1/+3 | |
2015-08-06 | implement serde::Deserialize for Value | Ben Navetta | -0/+41 | |
2015-06-23 | Improve the error message in failing enums | Alex Crichton | -9/+66 | |
2015-06-06 | Rework fix for table redefinition to avoid breaking AST-compatiblity | Andrzej Janik | -7/+7 | |
2015-06-04 | Disallow table redefinitions | Andrzej Janik | -7/+7 | |
2015-04-21 | Tweak some style | Alex Crichton | -37/+46 | |
2015-04-20 | most tests work now | Oliver Schneider | -34/+143 | |
2015-04-20 | updated to master | Oliver Schneider | -1/+17 | |
2015-04-02 | wip | Alex Crichton | -0/+153 | |
2015-04-02 | Modularize rustc-serialize support | Alex Crichton | -0/+516 | |
* Add rustc-serialize as a default feature * Make room for for serde support |