Commit graph

282 commits

Author SHA1 Message Date
Yehuda Katz + Carl Lerche 806a7bd937 Decodes foo-bar into a field named foo_bar
This logic is specific to the Decoder, and because Rust does not support
hyphenated names as identifiers, it's the only reasonable thing to do
with hyphenated names in Toml.
2014-07-02 17:23:35 -07:00
Alex Crichton e32363c788 Fix tests on master 2014-07-01 06:30:17 -07:00
Alex Crichton 713816102b Remove stray println!() 2014-06-28 15:16:15 -07:00
Alex Crichton b4f706cceb Be more resilient about unused values in array 2014-06-28 15:15:25 -07:00
Alex Crichton 85af174778 Always remove Array values from the Decoder 2014-06-28 15:00:45 -07:00
Alex Crichton 0f20aad823 Prune more unused fields 2014-06-28 14:49:04 -07:00
Alex Crichton 6b4f33444a Don't leave empty tables lying around 2014-06-28 14:42:30 -07:00
Alex Crichton 9c1806283c Merge pull request #1 from vhbit/lookups
Path lookups
2014-06-27 13:53:15 -04:00
Valerii Hiora 13cc8a9201 Fixed tests, merged lookup functions 2014-06-27 17:28:55 +03:00
Alex Crichton 0f9410a7f0 Document a new public field 2014-06-26 22:55:20 -07:00
Alex Crichton c28df7cb52 Leave unused keys in TOML while decoding 2014-06-26 22:52:31 -07:00
Alex Crichton 7ba80c5ac4 Make some makefile variables overridable 2014-06-26 19:27:42 -07:00
Alex Crichton caf4071137 Add a CRLF test 2014-06-26 19:27:42 -07:00
Alex Crichton 66c83483f8 Merge pull request #2 from dtrebbien/patch-integer-suffix-fix
Fix "error: cannot determine the type of this integer"
2014-06-25 10:03:29 -04:00
Valerii Hiora 2047fa3bc9 Added separate tests, moved comments 2014-06-25 17:00:10 +03:00
Daniel Trebbien 8524f2b2c2 Fix "error: cannot determine the type of this integer" 2014-06-25 08:42:46 -04:00
Valerii Hiora dd828e613b Path lookups 2014-06-25 12:22:11 +03:00
Alex Crichton b663d6ae99 Handle \r\n 2014-06-23 22:28:53 -07:00
Alex Crichton 6e30770355 Fix a test 2014-06-23 11:17:39 -07:00
Alex Crichton ed88ef0b81 Expose kinds of errors 2014-06-23 10:58:06 -07:00
Alex Crichton 21e91fe753 Add Encodable/Decodable support for enums 2014-06-23 09:37:13 -07:00
Alex Crichton cd4fede072 Add a method for converting to (line, column) 2014-06-23 08:58:44 -07:00
Alex Crichton 3ff116ea84 Add a test for a missing field 2014-06-23 08:50:00 -07:00
Alex Crichton 266cd75e92 Improve decoder errors 2014-06-23 08:38:45 -07:00
Alex Crichton 16d5e67fa5 Clean up warnings and documentation 2014-06-22 22:31:09 -07:00
Alex Crichton f06fae1602 Implement Encoder/Decoder for libserialize traits 2014-06-22 22:23:27 -07:00
Alex Crichton 3bbf216491 Add documentation and examples 2014-06-20 17:30:08 -07:00
Alex Crichton 019cd4122b Add a Cargo.toml 2014-06-20 17:12:03 -07:00
Alex Crichton e0d451604a Add a travis yml 2014-06-20 17:09:35 -07:00
Alex Crichton b2c1a22dbc Ignore some directories 2014-06-20 17:06:24 -07:00
Alex Crichton d501a1ddfd Add a makefile 2014-06-20 17:06:17 -07:00
Alex Crichton 11115f13a3 Initial commit 2014-06-20 17:01:38 -07:00