aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2017-04-24Allow to deserialize/serialize into enumsVincent Prouillet-3/+155
Close #164
2017-04-20Bump to 0.4.0Alex Crichton-1/+1
2017-04-20Support serde 1.0.0Alex Crichton-170/+156
2017-04-12Merge pull request #157 from neosilky/clippy-fixesAlex Crichton-26/+25
Fix issues indicated by clippy
2017-04-12Remove lifetimesDaniel Lockyer-1/+1
2017-04-12Stop taking references when not neededDaniel Lockyer-6/+6
2017-04-12Simplify if-statementsDaniel Lockyer-12/+11
2017-04-12Switch from comparison to is_empty()Daniel Lockyer-3/+3
2017-04-12Remove unneeded return statementsDaniel Lockyer-4/+4
2017-04-05Merge pull request #161 from colin-kiegel/crate-polishAlex Crichton-137/+3
Crate polish
2017-04-05Merge pull request #160 from mre/error-handling-unwrapAlex Crichton-4/+4
Replace unwrap with expect in public-facing code
2017-04-05Replace unwrap with expect in public methodsMatthias Endler-4/+4
2017-04-05group mod statements consistentlyColin Kiegel-1/+1
2017-04-05remove deadcode (unused since f66d8bcf33530c858a5)Colin Kiegel-134/+0
2017-04-05travis - run tests on 1.15.0Colin Kiegel-0/+1
2017-04-05doc - group link definitionsColin Kiegel-2/+1
2017-04-05Merge pull request #158 from mre/patch-1Alex Crichton-2/+1
Add a beautiful badge for docs.rs
2017-04-05Add a beautiful badge for docs.rsMatthias Endler-2/+1
2017-03-31Bump to 0.3.2Alex Crichton-1/+1
2017-03-31Fix backcompat with array definitionsAlex Crichton-3/+13
2017-02-27Bump to 0.3.1Alex Crichton-1/+1
2017-02-21Relax assertions in substr_offset slightlyAlex Crichton-1/+2
Closes #152
2017-02-21Merge pull request #151 from EPashkin/fix_table_values_sortingAlex Crichton-2/+8
Fixed sorting of table values
2017-02-21Add support for `serialize_bytes`Alex Crichton-3/+4
Just serialize as a list of numbers. Closes #150
2017-02-19Fixed sorting of table valuesEvgenii Pashkin-2/+8
2017-02-13Merge pull request #148 from rekka/patch-1Alex Crichton-1/+1
Fix serde.rs link in README.md
2017-02-13Fix serde.rs link in README.mdNorbert Pozar-1/+1
2017-02-11Fix displaying empty arraysAlex Crichton-8/+55
Closes #145
2017-02-10Bump to 0.3.0Alex Crichton-1/+1
2017-02-10Add a serialization helper to put tables lastAlex Crichton-2/+296
This should help serializing maps where it's unknown up front whether the tables and/or values come first. Closes #142
2017-02-10Merge pull request #144 from tredoe/patch-1Alex Crichton-1/+1
Add Eq trait in main error
2017-02-10Update ser.rsJonas mg-1/+1
2017-02-09Merge pull request #141 from shepmaster/proseAlex Crichton-15/+15
Minor prose fixes
2017-02-09Remove newline that causes strange renderingJake Goulding-1/+0
2017-02-09Tighten up the crate-level docsJake Goulding-11/+12
2017-02-09Grammar on Value doc stringsJake Goulding-3/+3
2017-02-08Implement Deserializer::set_require_newline_after_tableAlex Crichton-6/+40
2017-02-08Update metadataAlex Crichton-37/+15
2017-02-08Merge pull request #137 from alexcrichton/serde-upgradeAlex Crichton-5515/+5529
Rewrite crate with serde support from ground up
2017-02-08Rewrite crate with serde support from ground upAlex 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-28Merge pull request #134 from SamWhited/patch-1Alex Crichton-0/+1
Add a latest version shield to the readme
2017-01-27Add a latest version shield to the readmeSam Whited-0/+1
2017-01-09Clarify that serde is supportedAlex Crichton-0/+40
Closes #122
2016-12-30Return encoding errors for NaN and infiniteAlex Crichton-0/+19
TOML can't actually represent them, so we should bail out. Closes #125
2016-12-30Escape control characters when encoding stringsAlex Crichton-0/+9
Closes #126
2016-11-19Update travis tokenAlex Crichton-1/+2
2016-10-02Touch up the `decode` exampleAlex Crichton-51/+61
2016-10-02Merge pull request #114 from kper/masterAlex Crichton-0/+51
Add example for decoding toml to struct
2016-10-02Add example for decoding toml to structkper-0/+51
2016-09-08Bump to 0.2.1Alex Crichton-1/+1