Commit Graph

534 Commits

Author SHA1 Message Date
Sergio Benitez f0a7206694 Backport benchmarks. 2017-04-23 00:26:19 -07:00
Sergio Benitez 7fa99b75dd Add Rocket::routes() method to get all routes. Add some internal benchmarks. 2017-04-23 00:13:47 -07:00
Sergio Benitez 7cc0f520ec Add pastebin uploads to gitignore. 2017-04-23 00:13:44 -07:00
Sergio Benitez d5a70b76cd New version: 0.2.6. 2017-04-17 16:23:27 -07:00
Sergio Benitez 71878ffebf Avoid collision in FromForm derive by using weird names.
Fixes #265.
2017-04-17 15:54:44 -07:00
Sergio Benitez 9f0c8a80ae New version: 0.2.5. 2017-04-16 14:25:16 -07:00
Sergio Benitez d2388081e7 Update minimum nightly version in codegen. 2017-04-16 14:23:48 -07:00
Sergio Benitez 153e7f0480 Fix lints for latest nightly. 2017-04-16 14:22:27 -07:00
Sergio Benitez 355da8a1ba New version: 0.2.4. 2017-03-30 19:50:07 -07:00
Sergio Benitez 3a2edba2a9 Update codegen for latest nightly. 2017-03-30 19:50:03 -07:00
Sergio Benitez 1fb0231d87 Rewrite some markdown for commonmark. 2017-03-30 19:44:59 -07:00
Sergio Benitez b802d677f5 Fix 'Response::join' docs. 2017-03-23 03:53:12 -07:00
Sergio Benitez bd66cc1313 New version: 0.2.3. 2017-03-22 19:44:33 -07:00
Sergio Benitez 266aa2fd5b Update minimum rustc version for codegen. 2017-03-22 19:44:32 -07:00
Sergio Benitez c18e121f94 Remove spurious new line. 2017-03-22 19:44:32 -07:00
Sergio Benitez b303ae08f1 Remove pub_restricted feature: it's stable! 2017-03-22 19:44:32 -07:00
Sergio Benitez cc3eb57d7f Update codegen for latest nightly. 2017-03-22 19:44:32 -07:00
Sergio Benitez d1631ea845 Don't use hyper directly in request tests. 2017-03-22 19:44:32 -07:00
Alan Stoate cb41ffc033 Update `Catcher` example: returns Status::NotFound on 404. 2017-03-22 19:44:32 -07:00
Sergio Benitez 40c5f28331 Ensure no files have trailing whitespace. 2017-03-22 19:44:32 -07:00
Sergio Benitez 8e7c77fe21 Cleanup request tests; move into separate file. 2017-03-22 19:44:31 -07:00
Scott Schroeder 898533f1e6 Preserve multiple incoming header values. 2017-03-22 19:44:31 -07:00
Artem Biryukov e0a1131408 Add `get_slice` and `get_table` methods to `Config`. 2017-03-22 19:44:31 -07:00
Sergio Benitez 6be902162d New version: 0.2.2. 2017-02-26 18:31:15 -08:00
Sergio Benitez 56a631d4ba Update codegen for latest nightly. 2017-02-26 18:26:02 -08:00
Sergio Benitez 65c70479f8 Clarify which version of Hyper is benchmarked. 2017-02-25 14:23:08 -08:00
mikejiang f0836e22fa Add tests for static_files example. 2017-02-24 18:54:13 -08:00
Sergio Benitez 8bf51d15e3 Add a GitHub issue template. 2017-02-24 15:04:01 -08:00
Sergio Benitez d99de8e05b New version: 0.2.1. 2017-02-24 13:57:33 -08:00
Sergio Benitez efbfbd1045 Add 'into_bytes' and 'into_inner' methods to Body. 2017-02-24 13:20:35 -08:00
Sergio Benitez 62a75cdde6 Use `append_raw` to ensure all headers are set.
Fixes #206.
2017-02-22 11:25:30 -08:00
Sergio Benitez d89c2a0cb5 Presort routes instead of sorting on each route. 2017-02-18 00:23:20 -08:00
mikejiang 7e7c31b9e7 Add tests for extended_validation example. 2017-02-17 23:35:29 -08:00
Michael Aaron Murphy 4161949a1c Add webp, ttf, otf, woff, and woff2 as known Content-Types. 2017-02-17 19:13:45 -08:00
Sergio Benitez 46403b8d0a Iterate through Tera error chain for better errors. 2017-02-17 00:23:41 -08:00
Josh Holmer 937fe50ad7 Fix typo in json example. 2017-02-16 19:09:16 -08:00
Sergio Benitez 0acfea9c71 Remove unnecessary pub qualifier in forms example. 2017-02-16 18:30:44 -08:00
Crazy-Owl 3e063af965 Use managed state in json example. 2017-02-16 18:11:03 -08:00
Sergio Benitez 6184d94619 Expose docstring for JSON Responder impl. 2017-02-16 18:06:09 -08:00
Sergio Benitez d8afb4c7fa Implement Display and Error for ConfigError.
Closes #189.
2017-02-15 01:32:57 -08:00
Sergio Benitez d8b90ebf5f Readd missing config address test. 2017-02-14 23:34:27 -08:00
Sergio Benitez 0c963da1fd Fix IPv6 address parsing and validation. 2017-02-14 23:10:36 -08:00
Sergio Benitez a496d1dbc4 Fix typos in JSON docs. 2017-02-09 00:18:47 -08:00
Sergio Benitez 1e1ff3bd23 Explicitly delete flash cookie so that path is set. 2017-02-08 23:53:29 -08:00
Sergio Benitez 7d2695d19f Use type index to find type span in unmanaged_state lint.
Fixes #179.
2017-02-08 00:56:17 -08:00
Sergio Benitez 3c8dd0fad8 Fix fallout from latest cargo nightly. 2017-02-08 00:55:22 -08:00
Sergio Benitez 46f753e128 Fix typo in manage docs: referes -> refers. 2017-02-06 10:40:43 -08:00
Sergio Benitez c7db553286 New version: 0.2.0. 2017-02-06 05:35:19 -08:00
Sergio Benitez 8eef42a256 Compile-time enforce paths as absolute, non-empty, valid segments. 2017-02-06 04:03:30 -08:00
Sergio Benitez 20a548b11b Add percent_encode method to URI. 2017-02-06 03:41:12 -08:00