aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorLines
2017-07-06Support deserializing newtypesAlex Crichton-3/+22
Closes #196
2017-06-23updated toml version in the docs 0.4.2debris-1/+1
2017-06-19Use 'into()' to convert numerical values safelySergio Benitez-10/+8
2017-06-18Add exhaustive From<T> impls for ValueSergio Benitez-28/+44
2017-06-11Implement `IntoDeserializer` for `Value`Pit Kleyersburg-0/+8
2017-06-01Store fractional seconds as a u32 instead of a f64Alan Du-24/+23
Drops precision down to the nanoseconds
2017-06-01Add toml::ser::Error::KeyNewline back inAlan Du-0/+6
Avoid a breaking change
2017-06-01Allow serializing keys with \n in themAlan Du-8/+0
Use special quoted form Closes https://github.com/alexcrichton/toml-rs/issues/185
2017-06-01Truncate fractional seconds to picosecondsAlan Du-1/+4
Close https://github.com/alexcrichton/toml-rs/issues/186
2017-06-01Close #180Alan Du-1/+21
2017-05-30Merge pull request #183 from alanhdu/invalid_numberAlex Crichton-2/+21
Better invalid number handling
2017-05-31Error when trying to serialize invalid floatAlan Du-2/+15
2017-05-31Error when parsing numbers outside of f64's rangeAlan Du-0/+6
2017-05-30Encode control characters with hex not decimalAlan Du-1/+1
Fix https://github.com/alexcrichton/toml-rs/issues/178
2017-05-30Store fraction of seconds in times unconditionallyAlan 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-10Merge pull request #172 from rap2hpoutre/patch-1Alex Crichton-0/+31
add example for from_str
2017-05-10add example for to_stringRaphaël Huchet-0/+35
2017-05-10Update de.rsRaphaël Huchet-1/+1
2017-05-10add example for from_strRaphaël Huchet-0/+31
2017-05-09Document that line/col indices are 0 basedOliver Schneider-0/+2
2017-05-09Allow extracting the location of the errorOliver Schneider-0/+5
2017-05-02Update doc urls to 0.4Alex Crichton-2/+2
Closes #168
2017-04-28Merge pull request #165 from Keats/masterAlex Crichton-6/+67
Allow to deserialize/serialize into enums
2017-04-28Address comment and make test passVincent Prouillet-90/+28
2017-04-25Deserialize enum in ValueVincent Prouillet-2/+89
2017-04-25Remove everything other than enum variant codeVincent Prouillet-97/+0
2017-04-24Fixed the serde dependency in the documentationDzmitry Malyshau-1/+1
2017-04-24Allow to deserialize/serialize into enumsVincent Prouillet-3/+136
Close #164
2017-04-20Support serde 1.0.0Alex Crichton-165/+151
2017-04-12Remove lifetimesDaniel Lockyer-1/+1
2017-04-12Stop taking references when not neededDaniel Lockyer-6/+6
2017-04-12Simplify if-statementsDaniel Lockyer-11/+10
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/+2
Crate polish
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-05doc - group link definitionsColin Kiegel-2/+1
2017-03-31Fix backcompat with array definitionsAlex Crichton-1/+6
2017-02-21Relax assertions in substr_offset slightlyAlex Crichton-1/+1
Closes #152
2017-02-21Merge pull request #151 from EPashkin/fix_table_values_sortingAlex Crichton-2/+2
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/+2
2017-02-11Fix displaying empty arraysAlex Crichton-8/+6
Closes #145
2017-02-10Add a serialization helper to put tables lastAlex 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-10Update ser.rsJonas mg-1/+1
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