Nikolay Kim
03d851680b
Merge branch 'master' into add-header-for-juniper-example
2018-04-02 10:51:35 -07:00
Nikolay Kim
0ddd018214
Merge pull request #154 from dholbert/patch-1
...
Use https (not http) url for meritbadge
2018-04-02 10:50:17 -07:00
Daniel Holbert
8219a7aebe
Use https (not http) url for meritbadge
...
Right now this readme file uses an HTTP url to reference a meritbadge image, which ends up producing "broken https" UI on the crates.io page https://crates.io/crates/actix-web . This patch just upgrades this to an HTTPS url (which still works), to avoid that problem. (Literally a 1-character change, changing "http" to "https" in "http://meritbadge.herokuapp.com/actix-web ")
2018-04-02 10:44:46 -07:00
Nikolay Kim
6c906b08e1
match resource path before executing middlewares
2018-04-02 10:27:37 -07:00
Roman Frołow
220cbe40e5
Add header for juniper example
2018-04-02 19:10:33 +02:00
Nikolay Kim
74d0656d27
update diesel example
2018-04-01 18:24:07 -07:00
Nikolay Kim
17c27ef42d
HttpRequest::resource() returns current matched resource
2018-04-01 17:37:22 -07:00
Nikolay Kim
b2e771df2c
use r2d2 for diesel example
2018-04-01 08:20:15 -07:00
Nikolay Kim
a5a36ff194
update readme example
2018-03-31 17:15:44 -07:00
Nikolay Kim
97e2bcd055
allow primitive types for Path extractor
2018-03-31 17:12:08 -07:00
Nikolay Kim
23cfa649f4
update tests
2018-03-31 10:21:54 -07:00
Nikolay Kim
8791c0f880
simplify With handlers
2018-03-31 09:58:33 -07:00
Nikolay Kim
16c212f853
add extractors info to guide
2018-03-31 09:18:25 -07:00
Nikolay Kim
3ee228005d
rename Application
2018-03-31 00:16:55 -07:00
Nikolay Kim
7a743fa6b5
update examples
2018-03-30 23:37:15 -07:00
Nikolay Kim
44e3df82f6
simplify http response construction; deprecate httpcodes
2018-03-30 23:07:33 -07:00
Nikolay Kim
8d8f6bedad
update examples
2018-03-30 18:54:38 -07:00
Nikolay Kim
9e751de707
re-arrange modules and exports
2018-03-30 17:31:18 -07:00
Nikolay Kim
b16419348e
add from HttpRequest to a HttpRequestBuilder
2018-03-30 14:30:24 -07:00
Nikolay Kim
3ccaa04575
unhide AsyncResponder; remove unused code
2018-03-30 09:34:03 -07:00
Nikolay Kim
d80b84c915
add test builder guide information
2018-03-29 19:23:45 -07:00
Nikolay Kim
145010a2b0
use unreachable instead of panic
2018-03-29 15:55:27 -07:00
Nikolay Kim
3e98177fad
added State extractor
2018-03-29 15:41:13 -07:00
Nikolay Kim
d24752d9bc
update example in readme
2018-03-29 15:07:12 -07:00
Nikolay Kim
92fe2e96de
update doc strings
2018-03-29 15:00:18 -07:00
Nikolay Kim
3cf54bc0fd
proper serde deserializer implementation for path
2018-03-29 14:30:45 -07:00
Nikolay Kim
86dd732704
use FromRequest instead of HttpRequestExtractor
2018-03-29 13:12:28 -07:00
Nikolay Kim
dfd8f1058e
move NormalizePath type to separate module
2018-03-29 11:39:21 -07:00
Nikolay Kim
f5636f321b
drop deprecated code
2018-03-29 11:06:44 -07:00
Nikolay Kim
ae6c9cb7fa
re-arrange exports, some doc string updates
2018-03-29 10:44:26 -07:00
Nikolay Kim
32052c2750
update guide
2018-03-29 10:01:07 -07:00
Nikolay Kim
7d6deab9fb
drop request's extract_xxx methods
2018-03-29 09:26:01 -07:00
Nikolay Kim
9e61c67128
do not re-export Version
2018-03-28 22:00:36 -07:00
Nikolay Kim
13bb5f20d2
fix export name
2018-03-28 21:58:08 -07:00
Nikolay Kim
d14991ec96
update doc strings
2018-03-28 21:49:50 -07:00
Nikolay Kim
45dec8d0c0
optimize with and with2 method impls and tests
2018-03-28 21:33:40 -07:00
Nikolay Kim
90e3aaaf8a
fix router cannot parse Non-ASCII characters in URL #137
2018-03-28 16:10:58 -07:00
Nikolay Kim
4f7d45ee9c
remove unneeded import
2018-03-28 14:38:01 -07:00
Nikolay Kim
e1d2536d85
remove unused code
2018-03-28 14:34:17 -07:00
Nikolay Kim
65700281e8
add support for multiple extractors
2018-03-28 14:24:32 -07:00
Nikolay Kim
80f6b93714
Merge pull request #138 from bwasty/guide
...
Guide: improve wording & style
2018-03-28 13:40:05 -07:00
Nikolay Kim
5585465859
Merge branch 'master' into guide
2018-03-28 13:39:59 -07:00
Benjamin Wasty
368103dd09
guide: improve wording & style
2018-03-28 22:16:01 +02:00
Nikolay Kim
df7ffe14f2
add PathAndQuery extractor
2018-03-28 11:20:06 -07:00
Nikolay Kim
36161aba99
update Path and Query doc strings
2018-03-28 07:27:06 -07:00
Nikolay Kim
9f5a91ae3c
export types
2018-03-27 21:59:55 -07:00
Nikolay Kim
4e61e0db34
mdbook
2018-03-27 21:33:35 -07:00
Nikolay Kim
2dfccdd924
allow to fail nightly
2018-03-27 20:57:02 -07:00
Nikolay Kim
4358da9926
refactor WithHandler trait
2018-03-27 20:33:24 -07:00
Nikolay Kim
62fb75ff95
add Application::configure method, it simplifies configuration process
2018-03-27 11:16:02 -07:00