Flarp
69afb5c4a3
Fix typo in 'NotFound' docs: 404, not 400.
2017-07-17 14:10:52 -04:00
Tommy Ip
ae406cf0ca
Fix 'clusure' typo in fairings guide and ad_hoc.rs.
...
Fixes #348 .
2017-07-15 00:36:41 -07:00
Stuart Hinson
b3f41f248c
Update 'Fairing' example to reflect doc's content.
2017-07-15 00:35:25 -07:00
Sergio Benitez
cdacda0896
New version: 0.3.0.
2017-07-14 11:30:48 -07:00
Sergio Benitez
51a465f2cc
Add regression test for issue #345 .
2017-07-14 09:54:11 -07:00
Yong Wen Chua
10efcb1af9
Always implement 'Responder' with 'r instead of 'static.
2017-07-14 09:43:22 -07:00
Sergio Benitez
722959ee29
Use a parametric lifetime in 'Responder' example.
2017-07-14 09:42:33 -07:00
Sergio Benitez
897313730d
Use TitleCase for all 'content::' struct names.
2017-07-12 15:21:45 -07:00
Sergio Benitez
65886c8c4e
Rename 'contrib::JSON' to 'contrib::Json'.
2017-07-12 15:11:41 -07:00
Sergio Benitez
70bc97c322
Rename 'APIKey' in example docs to 'ApiKey'.
2017-07-12 14:53:08 -07:00
Sergio Benitez
0bbfa5e21a
Update 'version_check' to 0.1.3.
2017-07-12 04:15:30 -07:00
Sergio Benitez
85846c2af1
Use 'hyper_sync_rustls' for hyper/rustls interop.
2017-07-12 04:13:46 -07:00
Sergio Benitez
4609413828
Update 'pear' and 'pear_codegen' to 0.0.10.
2017-07-12 04:07:55 -07:00
Sergio Benitez
5a632a4d27
Always log a request's 'format' when available.
2017-07-11 04:35:05 -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
90d85d3c06
Implement 'Fairing' for 'Arc<T>'. Fix various doc issues.
2017-07-06 20:48:25 -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
462f1f9298
Add a 'status::NotFound' responder.
2017-07-04 02:43:00 -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
15c2ef7aaa
Derive 'PartialOrd', 'Ord', and 'Hash' for 'State'.
2017-07-03 15:39: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
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
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
Sergio Benitez
3c4cb27d55
Upgrade 'state' to 0.3 to prevent memory leaks.
...
Fixes #323 .
2017-06-20 16:46:07 -07:00
Sergio Benitez
3f87b16d75
Update minimum nightly to '2017-06-19'.
2017-06-19 22:58:31 -07:00
Sergio Benitez
ce363810c5
Disable coloring when output isn't a tty.
2017-06-19 18:29:26 -07:00
Sergio Benitez
6a7fde6d70
Initial cleanup of 'http' docs. Add 'handler::Outcome' docs.
...
This commit also changes the signature of the 'ContentType'
'from_extension" method so that it returns an 'Option<ContentType>' as
opposed to 'ContentType'.
This commit also disallows negative quality values in 'Accept' media
types.
2017-06-19 17:32:33 -07:00
Sergio Benitez
cdf9ff9bde
Remove 'LoggingLevel' from root. Add ConfigError::Io.
...
This tentatively completes the 'config' rustdocs.
2017-06-18 21:06:41 -07:00
Sergio Benitez
43a4028085
Use a less confusing version number during dev.
2017-06-18 02:25:26 -07:00
Vesa Kaihlavirta
3ef14f5392
Fix benchmarks to use 'route.uri' instead of 'route.path'.
2017-06-18 02:07:13 -07:00
Sergio Benitez
a3ea9d0f9a
Add support for lenient forms via 'LenientForm'.
...
This commit changes the 'FromForm' trait in two ways:
1. The singular method is now named 'from_form'.
2. The method takes a second parameter: 'strict: bool'.
The 'strict' parameter is used to specify whether form parsing should
be strict or not (i.e. lenient). When parsing is lenient, extra form
fields do not result in an error. This lenient behavior is used by a
new 'LenientForm' data guard type to request lenient form parsing. The
behavior for 'Form' remains unchanged.
Resolves #242 .
2017-06-18 01:59:22 -07:00
Sergio Benitez
8536e39d10
Update 'cookie' for cookie path deletion fix.
2017-06-17 13:31:24 -07:00
Sergio Benitez
2aad1d876b
Update ring-based dependencies.
2017-06-16 20:32:20 -07:00