aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2016-03-27Add a test for lookup_mut_advancedBourgond Aries-0/+9
2016-03-27Implement advanced key lookup for lookup_mutBourgond Aries-37/+6
2016-03-27Implement a more advanced algorithm for lookupBourgond Aries-9/+133
The new algorithm allows the explicit usage of "" and '' to denote key names. This is useful for accessing tables or keys that are named in a non-conventional manner.
2016-03-25Merge pull request #88 from BourgondAries/masterAlex Crichton-0/+148
Add lookup_mut method for mutable access
2016-03-25Add a test to see if the table's contents have changedBourgond Aries-0/+22
2016-03-25Implement the non-recursive lookup_mutBourgond Aries-31/+95
Also include some tests simply by copying and modifying the other tests for lookup.
2016-03-24Add lookup_mut method for mutable accessBourgond Aries-0/+62
Mutable access may sometimes be desired in order to change values in the toml table. This can be used for dynamic configurations which will be easy to modify and store. lookup_mut requires a recursive method due to the borrow checker not allowing to have more than one mutable reference in the same scope.
2016-03-11Update depsAlex Crichton-10/+10
2016-03-11Bump to 0.1.28Alex Crichton-1/+1
2016-03-11Fix last testsAlex Crichton-0/+13
2016-03-11Fix an error message test, simlify some serde codeAlex Crichton-100/+104
2016-03-07WIPAlex Crichton-128/+134
2016-02-01Bump to 0.1.27Alex Crichton-3/+3
2016-01-25Update toml dep in serde-testsAlex Crichton-2/+2
2016-01-25Bump to 0.1.26Alex Crichton-1/+1
2016-01-25Move travis from 1.0.0 -> stableAlex Crichton-4/+1
2016-01-24Support literal strings in table namesAlex Crichton-13/+26
Closes #85
2016-01-21Merge pull request #84 from frewsxcv/clippyAlex Crichton-33/+30
Address issues found by rust-clippy
2016-01-21Address issues found by rust-clippyCorey Farwell-33/+30
2016-01-11Merge pull request #82 from shepmaster/patch-1Alex Crichton-2/+4
Minor documentation grammar fix
2016-01-09Update rand dependencyAlex Crichton-2/+2
2016-01-01Minor documentation grammar fixJake Goulding-2/+4
2015-12-18Update deps of serde-testsAlex Crichton-26/+26
2015-12-18Bump to 0.1.25Alex Crichton-1/+1
2015-12-18When decoding maps, leave fields that weren't processedAlex Crichton-28/+71
Fixes an XXX
2015-12-15Update serde-tests lockfileAlex Crichton-2/+2
2015-12-15Update travis syntaxAlex Crichton-1/+3
2015-12-15Merge pull request #79 from silvo38/masterAlex Crichton-1/+1
Remove floats from the Decoder.toml field when they get parsed
2015-12-15Fixed bug: floats always end up in Decoder.toml, even when they haveCameron Silvestrini-1/+1
been successfully decoded.
2015-12-10Bump to 0.1.24Alex Crichton-1/+1
2015-11-29Don't run serde tests on 1.0.0Alex Crichton-1/+1
2015-11-29Update dependenciesAlex Crichton-47/+47
2015-10-07Update toml in serde Cargo.lockAlex Crichton-2/+2
2015-10-07Bump to 0.1.23Alex Crichton-1/+1
2015-10-07Merge pull request #75 from andersforsgren/allow-toml-BOMAlex Crichton-0/+17
Allow BOM (Byte order mark) in toml
2015-10-07Allow BOM (Byte order mark) in tomlosboxes.org-0/+17
2015-09-29Merge pull request #74 from GuillaumeGomez/masterAlex Crichton-1/+1
Add Clone derive on ParserError
2015-09-30Add Clone derive on ParserErrorGuillaume Gomez-1/+1
2015-09-25Merge pull request #73 from kerhong/travisci-stableAlex Crichton-0/+1
Add stable Rust build to Travis-CI config
2015-09-25Merge pull request #72 from kerhong/masterAlex Crichton-0/+20
Implement Value::lookup for empty path to return self
2015-09-25Add stable Rust build to Travis-CI configKerhong-0/+1
2015-09-25Implement Value::lookup for empty path to return selfKerhong-0/+20
2015-09-23Protect against syntex upgradesAlex Crichton-0/+169
Check in a lock file for the serde-tests portion of the tests
2015-08-31Bump syntex dep for testsAlex Crichton-1/+1
2015-08-29Merge pull request #70 from mseri/patch-1Alex Crichton-1/+1
Fixed typo
2015-08-29Fixed typomseri-1/+1
2015-08-14Fix the arithmetic overflow in Parser::to_linecolAlex Gulyás-1/+1
This also changes the calculated line and column numbers. Without this patch, if an error occurs at the end of a line, the returned line and column numbers will point at the start of the next line. After this patch, the line and column numbers will correctly point at the end of the line where the actual parse error happened.
2015-08-14Add a very simple test for Parser::to_linecol.Alex Gulyás-0/+6
This test shows that in some cases converting error offsets generated by the parser to line and column numbers will panic ('arithmetic operation overflowed') in debug mode, and return an incorrect column number in release mode.
2015-08-13Bump to 0.1.22Alex Crichton-1/+1
2015-08-13Touch up some style in the decoderAlex Crichton-6/+12