aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
AgeCommit message (Collapse)AuthorLines
2016-03-27Implement advanced key lookup for lookup_mutBourgond Aries-37/+6
2016-03-27Implement a more advanced algorithm for lookupBourgond Aries-2/+50
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-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-01-21Address issues found by rust-clippyCorey Farwell-7/+7
2015-09-25Implement Value::lookup for empty path to return selfKerhong-0/+20
2015-08-12Merge remote-tracking branch 'remotes/origin/master' into serdeErick Tryzelaar-2/+1
2015-08-11Don't need to qualify StringAlex Crichton-2/+1
2015-06-06Rework fix for table redefinition to avoid breaking AST-compatiblityAndrzej Janik-18/+2
2015-06-04Disallow table redefinitionsAndrzej Janik-2/+18
2015-04-02wipAlex Crichton-0/+1
2015-04-02Modularize rustc-serialize supportAlex Crichton-60/+10
* Add rustc-serialize as a default feature * Make room for for serde support
2015-04-01Bump to 0.1.20Alex Crichton-1/+0
2015-03-25Bump to 0.1.19Alex Crichton-1/+1
2015-03-20Implement Encodable for ValueAlex Crichton-2/+51
We can't generically decode into one, but we can generically encode one! Closes #58
2015-03-15Improve test coverageAlex Crichton-2/+2
2015-03-09Reduce usage of unstable featuresAlex Crichton-3/+5
2015-03-03Don't upload extra docs on travisAlex Crichton-0/+1
2015-03-03Add a doc root urlSteven Fackler-1/+1
2015-02-03Bump to 0.1.16Alex Crichton-3/+5
2015-02-02Move show.rs to display.rsAlex Crichton-1/+1
2015-02-02Fix a deprecation warningAlex Crichton-2/+2
2015-01-29Add some feature gatesAlex Crichton-1/+1
2015-01-27Migrate to as many stable functions as possibleAlex Crichton-4/+4
2015-01-15Move tests to integration testsAlex Crichton-1/+1
2015-01-09Bump to 0.1.11Alex Crichton-4/+3
2015-01-08Update to masterValerii Hiora-4/+5
- features - macro reform - String/Show split in formatter - staging
2015-01-06Remove old_orphan_checkAlex Crichton-1/+0
2015-01-06Fallout of serialize traits changesValerii Hiora-0/+1
2015-01-03Update to masterValerii Hiora-1/+2
- updated `rustc-serialize` dependency, in other case `toml-rs` prohibits `rustc-serialize` update on other crates - updated after syntax and lib changes
2014-12-23Update to rust masterAlex Crichton-8/+6
2014-12-20Update to rust masterAlex Crichton-4/+4
2014-12-06Update to rust masterAlex Crichton-29/+27
Closes #34
2014-12-06Update to rust masterAlex Crichton-2/+5
2014-11-18Update to namespaced enum variants.Victor Berger-5/+9
2014-11-17FromStr fixesValerii Hiora-1/+1
2014-11-06fix error on masterSteve Klabnik-1/+1
2014-11-04Implement the libstd error trait for errorsAlex Crichton-1/+1
2014-10-31Update to rust masterAlex Crichton-2/+2
2014-10-03Export DecodeErrorKind c-tors publicly.Cristian Cobzarenco-0/+3
2014-09-23Allow warnings for nowAlex Crichton-1/+1
2014-09-23Remove allow(visible_private_types)Björn Steinbrink-1/+0
It's not needed and no longer supported by rustc anyway.
2014-09-21Update to rust masterAlex Crichton-7/+8
Closes #19
2014-08-24add crate_nameJulian Orth-0/+1
2014-08-17Rename parser::Error to parser::ParseErrorBrian Koropoff-1/+1
This avoids a conflict with serialization::Error and actually re-exports it from the crate root as intended. It also fixes a build break due to the new import shadowing gate in rustc.
2014-08-03Put documentation on githubAlex Crichton-0/+252