Alex Crichton
2a15817c47
Support fixed-length arrays
...
Turns out these are deserialized/serialized as tuples! While we're at it add
support for tuple variants and tuple structs through the same paths.
Closes #244
2018-05-24 07:25:42 -07:00
Alex Crichton
98d997c1fd
Merge pull request #239 from udoprog/spans
...
Support spans when deserializing serde structures
2018-05-09 16:48:58 -05:00
Claudio Bley
96ca73e130
Treat unicode hex digits case-insensitively
...
In Rust >= 1.24.0 we could have used `char::is_ascii_hexdigit`, but to keep
compatiblity with older versions, `char::is_digit(16)` is used.
Fixes #240 .
2018-05-09 22:18:14 +02:00
John-John Tedro
0616d3562c
Make spanned module private and hide internals
2018-05-09 21:54:22 +02:00
John-John Tedro
407845d620
Fix incorrectly reported spans for Datetime
2018-05-07 05:36:41 +02:00
John-John Tedro
09c8957ae7
Adjust spans for more complex types
2018-05-07 04:28:00 +02:00
John-John Tedro
6b919f8833
Use custom struct/field naming to deserialize spans
2018-05-07 04:28:00 +02:00
David Tolnay
eab7d806e9
A toml macro
2017-11-12 23:46:34 -08:00
David Tolnay
cdb1bfd237
Move tests into their own crate
2017-11-12 19:33:11 -08:00