Commit Graph

59 Commits

Author SHA1 Message Date
Sergio Benitez df9b71bee7 Updated README to use method specific decorator. 2016-08-08 18:35:24 -07:00
Sergio Benitez 1ef7a15bab Working error handling! Not quite there yet though.
A few important things needs to get this to be 'right':
  1a. Have a way to return a response with a status code.
  1b. Use that mechanism in the default catchers.
  2. Automatically fill in that code from the #[error] handler.
  3. Have a way for a responder to say if responding succeeded.
  4. Try next highest ranking route if responding with one handler fails.
2016-04-06 13:50:02 -07:00
Sergio Benitez 33c4d89614 Updated README. 2016-04-06 12:50:51 -07:00
Sergio Benitez 6e3d23b5f0 Add that badge in. 2016-04-04 19:04:46 -07:00
Sergio Benitez ba6caad7c8 A better README. 2016-04-03 04:28:09 -07:00
Sergio Benitez 782536e43f Updated README with more thorough example. 2016-03-17 19:56:23 -07:00
Sergio Benitez 4d4985a0e7 Update example. 2016-03-14 20:46:55 -07:00
Sergio Benitez d5db70afc4 A small README. Because, why not? 2016-03-12 10:54:38 -08:00
Sergio Benitez 2e2cc3c216 Rocket is almost operational! `routes!` macro complete.
Here's what works so far:

  * The `route` decorator checks its inputs correctly. There's a nice utility
    for doing this, and it's working quite well at the moment.

  * The `route` decorator emits a `route_fn` and a `route_struct`. The `routes`

  * macro prepends the path terminator with the route struct prefix. The

  * `Rocket` library can read mount information (though not act on it properly
    just yet) and launch a server using Hyper.
2016-03-12 10:45:19 -08:00