jeb
8e779610c4
Reimplement 'routes!' and 'catchers!' as proc-macros.
2018-09-16 18:52:23 -07:00
Sean Stangl
9bf585496c
Apply more Clippy suggestions.
2018-08-11 23:41:35 -07:00
Sergio Benitez
084481a84e
Initial implementation of typed URIs.
...
This is a breaking change. All Rocket applications using code
generation must now additionally declare usage of the 'decl_macro'
feature.
2017-09-14 22:10:25 -07:00
Sergio Benitez
e6615af7e6
Add tests for pastebin example.
2017-04-14 14:39:17 -07:00
Sergio Benitez
65da988962
Return a `LaunchError` from `launch` when launching fails.
...
This is a (minor) breaking change. If `rocket.launch()` is the last expression
in a function, the return type will change from `()` to `LaunchError`. A simple
workaround that preserves the previous functionality is to simply add a
semicolon after `launch()`: `rocket.launch();`.
resolves #34
2017-03-15 22:10:09 -07:00
Sergio Benitez
374593c2f0
Use 'ContentType::Plain' for 'String' responses.
...
Resolves #49 .
2017-01-31 02:43:19 -08:00
Sergio Benitez
b72af317f1
Simplify pastebin retrieve handler.
2016-12-09 21:01:30 -08:00
Sergio Benitez
e0bc546e93
Add pastebin example.
2016-12-09 19:56:49 -08:00