Sergio Benitez
bcb9bd860b
Allow different lifetimes in handler Request reference and its contents.
2016-10-06 20:38:13 -07:00
Sergio Benitez
d4f9525b22
Allow error handlers to take 0, 1, or 2 parameters.
...
fixes #13
2016-10-04 15:05:25 -07:00
Sergio Benitez
008605bec7
This commit changes parsing traits and documents some of the core library:
...
* All From* trait methods are now named like the trait.
* All From* traits have an associated Error type.
* Document all of the `form` module.
* Add codegen tests for auto-derived forms.
* The param parsing traits now live under Request.
2016-09-30 01:25:07 -07:00
Sergio Benitez
85c06fde04
Fix test for new error message.
2016-09-28 20:55:13 -07:00
Sergio Benitez
3ddc133a0e
Add more codegen tests.
2016-09-28 20:39:14 -07:00
Sergio Benitez
6498c26473
Fix test for latest nightly.
2016-09-28 19:38:11 -07:00
Sergio Benitez
4e03bb6107
Add NamedFile response type.
2016-09-12 01:51:02 -07:00
Sergio Benitez
46f73ed57c
Renamed macros to codegen.
2016-09-08 20:38:58 -07:00