aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorLines
2018-07-110.5: Support floats nan, inf, and +/-0.0.Eric Huss-26/+32
cc #224
2018-05-24Support fixed-length arraysAlex Crichton-15/+102
Turns out these are deserialized/serialized as tuples! While we're at it add support for tuple variants and tuple structs through the same paths. Closes #244
2018-05-09Merge pull request #239 from udoprog/spansAlex Crichton-96/+361
Support spans when deserializing serde structures
2018-05-09Treat unicode hex digits case-insensitivelyClaudio Bley-7/+4
In Rust >= 1.24.0 we could have used `char::is_ascii_hexdigit`, but to keep compatiblity with older versions, `char::is_digit(16)` is used. Fixes #240.
2018-05-09Make spanned module private and hide internalsJohn-John Tedro-7/+41
2018-05-07Fix incorrectly reported spans for DatetimeJohn-John Tedro-13/+24
2018-05-07Use BorrowedStrDeserializer instead of generated key deserializersJohn-John Tedro-55/+7
2018-05-07Adjust spans for more complex typesJohn-John Tedro-27/+54
2018-05-07Use custom struct/field naming to deserialize spansJohn-John Tedro-63/+178
2018-05-06Proof of concept: reporting span information to a Spanned<T> typeDavid Tolnay-51/+177
2018-05-01Make Tokenizer emit spansJohn-John Tedro-75/+110
2018-04-16Replace try!() with ?Kornel-4/+4
2017-11-12A toml macroDavid Tolnay-0/+376
2017-09-15Merge pull request #213 from behnam/docAlex Crichton-7/+7
[value] Fix some method docs
2017-09-14[value] Fix some method docsBehnam Esfahbod ✅-7/+7
2017-08-28Fix a number of compile warningsAlex Crichton-13/+13
2017-08-13add pretty_string_literal to be able to disable literal stringsGarrett Berg-10/+69
2017-08-13add spaces between array items and test for themGarrett Berg-4/+17
2017-07-31Merge pull request #204 from vitiral/rc_settingsAlex Crichton-14/+28
reference count settings to bump performance a bit
2017-07-30back out doc changes for nowGarrett Berg-5/+5
2017-07-30doc fixesGarrett Berg-5/+5
2017-07-29reference count settings to bump performance a bitGarrett Berg-19/+33
2017-07-28add """ for non-literals with newlines, clean up logic and add testsGarrett Berg-55/+91
2017-07-28make single lines also prettyGarrett Berg-44/+102
2017-07-27fix bugs with prettyGarrett Berg-29/+23
2017-07-27close #199: add header information for empty structsGarrett Berg-0/+9
- also add test which fails without this change - also add a few helpful unit tests to table
2017-07-24fix Serializer::pretty_array(false)Garrett Berg-4/+4
2017-07-24use ignore rather than no_run for toml blocksGarrett Berg-4/+4
2017-07-22fix docs and addGarrett Berg-5/+71
2017-07-21fix "Garrett Berg-1/+7
2017-07-20use builder patternGarrett Berg-14/+72
2017-07-09pretty arraysGarrett Berg-4/+12
2017-07-09array doesn't break anything...Garrett Berg-5/+25
2017-07-09add pretty sting serializationGarrett Berg-3/+38
2017-07-09add Settings structGarrett Berg-0/+20
2017-07-06One more case of handling newtype structsAlex Crichton-1/+11
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