10 Commits

Author SHA1 Message Date
Devin R
93a7283991
Add support for matrix-style multiple query parameters
This adds support for query strings in which a sequence field of a
`Deserialize` / `Serialize` struct is (de)serialized as
`field=val1&field=val2&field=val3`, instead of the more common
`field[]=val1&field[]=val2&field[]=val3` syntax.
2020-04-24 09:32:37 +02:00
Devin R
68daaf86f6 update to 2018 edition, import in ruma style 2020-04-20 09:11:41 -04:00
MaxV
f60e4fd093 Allow serialization of unit type 2020-04-08 23:02:57 -07:00
Anthony Ramine
98f0113592 Don't use CowStrDeserializer (fixes #53) 2019-04-16 11:26:25 +02:00
Anthony Ramine
92eadc25be Reformat 2019-04-16 11:15:32 +02:00
Sam Sieber
0ecc730e64 Fix struct newtype deserialization (and add tests) 2018-11-19 08:59:04 -07:00
Shaun Mangelsdorf
4d220818f7 Implement deserialization into unit enums 2018-08-14 12:52:36 +02:00
Without Boats
ecb91cfcd7 Deserialize () from input without key/value pairs. 2017-05-21 00:28:04 -07:00
Anthony Ramine
7ddde33a33 Have a custom type for deserialising values (fixes #16)
This lets us handle Option values correctly.
2017-05-06 10:59:42 +02:00
Arthur Skobara
8839c6a86c Introduce de::from_reader 2017-02-05 14:34:14 +01:00