Alex Crichton
b4a4ed72d7
Migrate to a TreeMap for determinism
2014-07-15 17:30:00 -07:00
Michael Gehring
46ab9eb436
ToStr::to_str -> ToString::to_string
2014-07-09 15:46:49 +02:00
Alex Crichton
6e0701caa5
Add a test for _ => - translation
2014-07-02 18:43:32 -07:00
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
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
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
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
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