aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
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
2016-09-07Merge pull request #111 from nabijaczleweli/masterAlex Crichton-4/+64
Don't space out the first table or array if not needed
2016-09-06Add tests for checking for extraneous leading newlines (or lack thereof)nabijaczleweli-0/+52
Couldn't find a better place to put this (the "valid" and "invalid" tests are just for parser) so I made a new test module
2016-09-06Don't space out the first table or array if not needednabijaczleweli-4/+12
Closes #110
2016-08-16Merge pull request #108 from vks/patch-2Alex Crichton-1/+1
Fix a typo
2016-08-16Fix a typoVinzent Steinberg-1/+1
2016-08-16Merge pull request #107 from vks/patch-1Alex Crichton-1/+1
Update toml-rs version in README
2016-08-16Update toml-rs version in READMEVinzent Steinberg-1/+1
2016-08-01Remove Cargo.lock in serde-testsAlex Crichton-170/+0
2016-08-01Update serde-tests Cargo.lockAlex Crichton-2/+2
2016-08-01Bump to 0.2.0Alex Crichton-1/+1
2016-07-29Touch up the encoder/decoder a bitAlex Crichton-100/+180
* Whitespace things * Don't make `State` public * Remove `#[cfg]` annotations
2016-07-29Merge pull request #105 from dtolnay/upAlex Crichton-80/+508
Update to serde 0.8.0
2016-07-29Restore defaulted Deserializer methodsDavid Tolnay-18/+123
2016-07-29Bump serde dependency in serde-testsDavid Tolnay-31/+66
2016-07-28Cfg off functions only needed for rustc-serialize or serdeDavid Tolnay-13/+31
2016-07-28Update to serde 0.8.0David Tolnay-9/+139
2016-07-15next iterationOliver Schneider-16/+119
2016-07-14adjust for seq/map ser revampOliver Schneider-23/+60
2016-06-05Merge pull request #101 from leodasvacas/clippy-runAlex Crichton-37/+42
Clippy run and implement Default for State and Enconder
2016-06-03Clippy runleonardo.yvens-38/+43
2016-06-01Merge pull request #103 from MarkSwanson/lookup-lifetime-enhancementAlex Crichton-1/+1
lookup() and lookup_mut() lifetime enhancements.
2016-05-31Fix serde tests on nightlyAlex Crichton-40/+40
2016-05-31Rely on lifetime elision.Mark Swanson-2/+2
2016-05-30lookup() and lookup_mut() lifetime enhancements.Mark Swanson-2/+2
Rationale: - The path has nothing to do with the result. - The path has no need to live as long as the Value/self. - In some cases it can be hard to actually build a path that meets the same lifetime requirements as the Value or String slice result.
2016-05-22Require newlines to be present after keysAlex Crichton-2/+35
Closes #100
2016-05-18Merge pull request #98 from zofrex/accept-empty-tableAlex Crichton-1/+14
Accept empty table
2016-05-19Refactor checking for EOF into methodJames Sanderson-1/+6
2016-05-19Accept empty table on last lineJames Sanderson-1/+1
2016-05-19Failing test for empty table on last lineJames Sanderson-0/+8
2016-05-16Update serde-tests Cargo.lockAlex Crichton-2/+2
2016-05-16Bump to 0.1.30Alex Crichton-1/+1
2016-05-16Fix accepting comments after table definitionsAlex Crichton-3/+2
2016-05-12Accept fractional seconds and timezones in datetime parsingAlex Crichton-41/+99
Closes #96
2016-05-12Update serde-test toml versionAlex Crichton-2/+2
2016-05-12Bump to 0.1.29Alex Crichton-1/+1
2016-05-12Add option to enable old behaviorAlex Crichton-9/+23
Cargo will use this in the interim.
2016-05-12Merge pull request #94 from zofrex/require-newline-after-tableAlex Crichton-1/+17
Require newline after table
2016-04-17Require a newline after table definitionJames Sanderson-1/+11
2016-04-17Add failing test cases containing invalid Toml with keys on the same line as ↵James Sanderson-0/+6
table definition
2016-04-12Merge pull request #93 from trlim/masterAlex Crichton-6/+5
Fix wrong handling of unicode escape code
2016-04-05Use different method to ensure unicode escape code is ASCII of expected lengthTae-il Lim-2/+1
2016-04-03Tweak unicode-escape testTae-il Lim-4/+4
2016-04-03Merge pull request #92 from trlim/masterAlex Crichton-12/+196
Update integration tests