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
Florian Dehau
76b45ee001 feat: allow serialization of unit structs 2019-04-18 08:21:54 +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
Anthony Ramine
8e5cf19e07 Reformat with rustfmt 2017-01-27 22:56:04 +01:00
Matthias Endler
f553c4e08f Add support for boolean values 2016-09-22 14:31:05 +02:00
Matthias Endler
f639279e3e Add support for option parameters 2016-09-18 19:15:03 +02:00