Commit Graph

71 Commits

Author SHA1 Message Date
Sergio Benitez a688f59ca0 Use better URL for API docs in README. 2016-10-09 04:29:22 -07:00
Sergio Benitez 05bed92272 Add real link to API docs in README. 2016-10-04 15:05:25 -07:00
Sergio Benitez 418f80177c Fix README example for latest changes. 2016-10-03 19:49:12 -07:00
Sergio Benitez d631dfd300 Use ignite in README example. Check ROCKET_ENV without Rocket.toml being present. 2016-10-03 19:21:21 -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 4c96f6c71f Revamp README: add documentation, testing, and contributing sections. 2016-09-29 18:56:11 -07:00
Sergio Benitez 1c00793d0d Add overview to README. 2016-09-13 16:33:16 -07:00
Sergio Benitez 9edb1e34d2 Update badge URL in README. 2016-09-12 01:46:08 -07:00
Sergio Benitez 8fee2bbf38 Update Travis badge. 2016-09-08 20:41:00 -07:00
Sergio Benitez 46f73ed57c Renamed macros to codegen. 2016-09-08 20:38:58 -07:00
Sergio Benitez ec38d70449 Slightly cleaner Readme. 2016-09-04 15:07:47 -07:00
Sergio Benitez a127a06480 Update README.md example. 2016-09-04 04:10:35 -07:00
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