mirror of https://github.com/rwf2/Rocket.git
c45a83897f
In particular, 'FromFormField' and 'UriDisplayQuery' now allow any number of form 'field' attributes. For the former, multiple 'value's are allowed, all of which are used to match against incoming fields - any match wins. For the latter, multiple 'name' and 'value's are allowed; the first of each is used to render the query value. Additionally, 'UriDisplayQuery' can now be derived for C-like enums. This brings the derive to parity with 'FromFormValue' and allows their unified application on C-like enums. Resolves #843. |
||
---|---|---|
.. | ||
codegen | ||
http | ||
lib |