Commit Graph

729 Commits

Author SHA1 Message Date
Sergio Benitez da08f1ea9d Improve the fairings guide. 2017-07-11 04:45:28 -07:00
Sergio Benitez f34bb42e4a Update CHANGELOG for logging change. 2017-07-11 04:41:40 -07:00
Sergio Benitez 5a632a4d27 Always log a request's 'format' when available. 2017-07-11 04:35:05 -07:00
Sergio Benitez 46c721d3f5 Fill in missing CHANGELOG links. 2017-07-10 05:15:25 -07:00
Sergio Benitez 1c866f34fa Various guide updates for 0.3. 2017-07-10 05:05:25 -07:00
Sergio Benitez ed14f59c44 Add documentation for the 'FromForm' derive. 2017-07-10 03:41:45 -07:00
Sergio Benitez 7e0cbe4842 Restrict compilation to rustc >= 2017-07-09. 2017-07-09 22:34:29 -07:00
Sergio Benitez 6050eb5169 Update for 2017-07-09. 'associated_consts' is stable. 2017-07-09 22:00:01 -07:00
Sergio Benitez 0628f01f56 Make 'Example' a subsubheading in fairings guide. 2017-07-06 20:50:39 -07:00
Sergio Benitez 90d85d3c06 Implement 'Fairing' for 'Arc<T>'. Fix various doc issues. 2017-07-06 20:48:25 -07:00
Sergio Benitez 6ddbba2571 Remove whitespace. 2017-07-06 20:47:30 -07:00
Sergio Benitez ba6d87a0e8 Add a fairings guide. 2017-07-06 20:46:43 -07:00
Sergio Benitez 05944c01af Update diesel example dependency to 0.14. 2017-07-06 02:04:00 -07:00
Sergio Benitez 67fe89dcc7 Update state guide for 0.3. Add databases section. 2017-07-06 01:58:57 -07:00
Sergio Benitez ef2739ee50 Update the pastebin tutorial for 0.3. 2017-07-04 19:39:17 -07:00
Sergio Benitez b2ab3861b4 Update the testing guide for 0.3. 2017-07-04 19:21:46 -07:00
Sergio Benitez 05a8a93eec Add tests for the 'session' example.
Closes #316.
2017-07-04 14:51:41 -07:00
Sergio Benitez 58445be4ff Add 'LocalRequest' cookies as original. 2017-07-04 14:51:00 -07:00
Sergio Benitez 6df5564983 Fix 'IntoOutcome' implementations for 'Option' and 'Result'.
Fixes #334.
2017-07-04 14:05:16 -07:00
Sergio Benitez 85051eae49 Fix minor typo in Pastebin tutorial. 2017-07-04 13:59:06 -07:00
Sergio Benitez 462f1f9298 Add a 'status::NotFound' responder. 2017-07-04 02:43:00 -07:00
Sergio Benitez a61977befc Rewrite the 'Responses' guide for 0.3. 2017-07-04 02:37:21 -07:00
Sergio Benitez 436bd99376 Use a streamed 'Responder' body for 'File', as before. 2017-07-04 01:34:43 -07:00
Sergio Benitez da9bf1189f Add variant checker methods to 'StatusClass'. 2017-07-04 01:33:52 -07:00
Sergio Benitez 1e7bf33e0a Update CHANGELOG for 'State' changes. 2017-07-03 15:51:09 -07:00
Sergio Benitez 15c2ef7aaa Derive 'PartialOrd', 'Ord', and 'Hash' for 'State'. 2017-07-03 15:39:24 -07:00
Sergio Benitez 8eb1fff93f Silence incorrect unmanaged state warnings. 2017-07-03 15:37:24 -07:00
Sergio Benitez a94dc9a270 Document 'IntoOutcome'. 2017-07-03 15:29:12 -07:00
Sergio Benitez 00df2846d7 Improve 'State' docs. 2017-07-03 15:13:21 -07:00
Sergio Benitez 9dd83a9c39 Use 'eprintln' instead of custom 'printerr'. 2017-07-03 02:59:47 -07:00
Sergio Benitez 0fa2c459d9 Remove 'more_io_inner_methods' feature: it's been stabilized. 2017-07-03 02:39:32 -07:00
Sergio Benitez 77c51ff43f Use the '!' type for 'str::FromForm::Error'. 2017-07-03 02:25:02 -07:00
Sergio Benitez aec2d9ea30 Finished draft of requests guide for 0.3. 2017-07-03 02:21:03 -07:00
Sergio Benitez 82a2d2f44e Implement 'FromForm' for 'Option' and 'Result'. 2017-07-03 02:13:35 -07:00
Sergio Benitez 02f466fa17 Inline 'Method::supports_payload()'. 2017-07-03 01:38:14 -07:00
Sergio Benitez 6781c329ea Reworking of first few chapters of guide for 0.3. 2017-07-02 22:52:07 -07:00
Sergio Benitez a6d03b1e2f Small code improvements in guide. 2017-07-02 01:37:50 -07:00
Lori Holden a6e01f97c1 Initial guide updates for 0.3. 2017-07-02 01:36:13 -07:00
Sergio Benitez 4409a903e3 Preliminary 0.3.0 CHANGELOG. 2017-07-01 21:02:25 -07:00
Sergio Benitez 4d586c5006 Checkout the current tag in quickstart guide. 2017-06-30 18:36:59 -07:00
Sergio Benitez 1f367af704 Fix broken link to 'LaunchError' in 'Rocket' docs. 2017-06-30 13:50:36 -07:00
Sergio Benitez beb5ca14cf Improve 'Route' documentation. 2017-06-30 13:17:40 -07:00
Sergio Benitez b0612d7346 Enable features on docs.rs. 2017-06-30 02:41:00 -07:00
Sergio Benitez 3310c19960 Add examples for 'Data' methods. 2017-06-30 02:18:56 -07:00
Sergio Benitez 0a772286a9 Fully document the 'local' module. 2017-06-30 02:06:03 -07:00
Sergio Benitez 06ad52157d Use Into<Value> from 'toml' instead of 'IntoValue'. 2017-06-29 14:04:54 -07:00
Sergio Benitez ef4c2fd989 Fix 'Accept' PartialEq impl. Finish 'Request' docs. 2017-06-24 21:00:50 -07:00
Sergio Benitez dfbd3265f3 Improve fairing and request/data guard docs. 2017-06-24 18:43:10 -07:00
Sergio Benitez 150aef7764 Impl 'try' for 'Outcome'. Document 'Cookies'.
The 'try' impl for 'Outcome' allows the '?' operator to be used with
'Outcome' values. This is likely to make 'FromRequest' and 'FromData'
implementations more ergonomic.

This commit also expands the 'IntoOutcome' trait. It is now
implemented for 'Option'. It also now includes an additional
'or_forward' method.
2017-06-24 02:49:31 -07:00
Sergio Benitez 0376fb5fe5 Rename 'WeightedMediaType' to 'QMediaType'. More docs.
This commit nears completion of the 'http' module docs.
2017-06-22 04:29:59 -07:00