Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2017-05-30 | Store fraction of seconds in times unconditionally | Alan Du | -5/+5 | |
This way, times without fractional seconds will be compare equal to times with 0 fractional seconds if all else is equal. For example, 06:00:00 == 06:00:00.0 Closes https://github.com/alexcrichton/toml-rs/issues/179 | ||||
2017-05-10 | Merge pull request #172 from rap2hpoutre/patch-1 | Alex Crichton | -0/+31 | |
add example for from_str | ||||
2017-05-10 | add example for to_string | Raphaël Huchet | -0/+35 | |
2017-05-10 | Update de.rs | Raphaël Huchet | -1/+1 | |
2017-05-10 | add example for from_str | Raphaël Huchet | -0/+31 | |
2017-05-09 | Document that line/col indices are 0 based | Oliver Schneider | -0/+2 | |
2017-05-09 | Allow extracting the location of the error | Oliver Schneider | -0/+5 | |
2017-05-02 | Update doc urls to 0.4 | Alex Crichton | -2/+2 | |
Closes #168 | ||||
2017-04-28 | Merge pull request #165 from Keats/master | Alex Crichton | -6/+67 | |
Allow to deserialize/serialize into enums | ||||
2017-04-28 | Address comment and make test pass | Vincent Prouillet | -90/+28 | |
2017-04-25 | Deserialize enum in Value | Vincent Prouillet | -2/+89 | |
2017-04-25 | Remove everything other than enum variant code | Vincent Prouillet | -97/+0 | |
2017-04-24 | Fixed the serde dependency in the documentation | Dzmitry Malyshau | -1/+1 | |
2017-04-24 | Allow to deserialize/serialize into enums | Vincent Prouillet | -3/+136 | |
Close #164 | ||||
2017-04-20 | Support serde 1.0.0 | Alex Crichton | -165/+151 | |
2017-04-12 | Remove lifetimes | Daniel Lockyer | -1/+1 | |
2017-04-12 | Stop taking references when not needed | Daniel Lockyer | -6/+6 | |
2017-04-12 | Simplify if-statements | Daniel Lockyer | -11/+10 | |
2017-04-12 | Switch from comparison to is_empty() | Daniel Lockyer | -3/+3 | |
2017-04-12 | Remove unneeded return statements | Daniel Lockyer | -4/+4 | |
2017-04-05 | Merge pull request #161 from colin-kiegel/crate-polish | Alex Crichton | -137/+2 | |
Crate polish | ||||
2017-04-05 | Replace unwrap with expect in public methods | Matthias Endler | -4/+4 | |
2017-04-05 | group mod statements consistently | Colin Kiegel | -1/+1 | |
2017-04-05 | remove deadcode (unused since f66d8bcf33530c858a5) | Colin Kiegel | -134/+0 | |
2017-04-05 | doc - group link definitions | Colin Kiegel | -2/+1 | |
2017-03-31 | Fix backcompat with array definitions | Alex Crichton | -1/+6 | |
2017-02-21 | Relax assertions in substr_offset slightly | Alex Crichton | -1/+1 | |
Closes #152 | ||||
2017-02-21 | Merge pull request #151 from EPashkin/fix_table_values_sorting | Alex Crichton | -2/+2 | |
Fixed sorting of table values | ||||
2017-02-21 | Add support for `serialize_bytes` | Alex Crichton | -3/+4 | |
Just serialize as a list of numbers. Closes #150 | ||||
2017-02-19 | Fixed sorting of table values | Evgenii Pashkin | -2/+2 | |
2017-02-11 | Fix displaying empty arrays | Alex Crichton | -8/+6 | |
Closes #145 | ||||
2017-02-10 | Add a serialization helper to put tables last | Alex Crichton | -2/+266 | |
This should help serializing maps where it's unknown up front whether the tables and/or values come first. Closes #142 | ||||
2017-02-10 | Update ser.rs | Jonas mg | -1/+1 | |
2017-02-09 | Remove newline that causes strange rendering | Jake Goulding | -1/+0 | |
2017-02-09 | Tighten up the crate-level docs | Jake Goulding | -11/+12 | |
2017-02-09 | Grammar on Value doc strings | Jake Goulding | -3/+3 | |
2017-02-08 | Implement Deserializer::set_require_newline_after_table | Alex Crichton | -6/+26 | |
2017-02-08 | Rewrite crate with serde support from ground up | Alex Crichton | -4887/+4290 | |
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-09 | Clarify that serde is supported | Alex Crichton | -0/+9 | |
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-09-06 | Don't space out the first table or array if not needed | nabijaczleweli | -4/+12 | |
Closes #110 | ||||
2016-08-16 | Fix a typo | Vinzent Steinberg | -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 | Restore defaulted Deserializer methods | David Tolnay | -18/+123 | |
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 | -8/+138 | |
2016-07-15 | next iteration | Oliver Schneider | -10/+118 | |
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 |