aboutsummaryrefslogtreecommitdiff
path: root/tests/serde.rs
AgeCommit message (Collapse)AuthorLines
2017-07-27close #199: add header information for empty structsGarrett Berg-0/+22
- also add test which fails without this change - also add a few helpful unit tests to table
2017-07-06One more case of handling newtype structsAlex Crichton-0/+29
2017-07-06Support deserializing newtypesAlex Crichton-0/+16
Closes #196
2017-05-31Remove unused test macroAlan Du-4/+0
2017-04-24Allow to deserialize/serialize into enumsVincent Prouillet-0/+19
Close #164
2017-04-20Support serde 1.0.0Alex Crichton-2/+2
2017-02-08Rewrite crate with serde support from ground upAlex Crichton-0/+496
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
2015-08-13Make serde-tests a standalone crateAlex Crichton-487/+0
2015-08-12Get serde feature compiling againErick Tryzelaar-1/+1
2015-04-20most tests work nowOliver Schneider-5/+16
2015-04-02wipAlex Crichton-0/+476