Rob Ede
|
532f7b9923
|
refined error model (#2253)
|
2021-06-17 17:57:58 +01:00 |
|
Rob Ede
|
3188ef5731
|
don't use rust annotation on code doc blocks
|
2021-03-25 08:45:52 +00:00 |
|
fakeshadow
|
ebda60fd6b
|
refactor boxed route (#2033)
|
2021-02-27 21:00:36 +00:00 |
|
Rob Ede
|
31d9ed81c5
|
change rustfmt line width to 96
|
2021-02-11 23:03:17 +00:00 |
|
fakeshadow
|
41bc04b1c4
|
Use immutable reference of service state. Update awc dns resolver. (#1905)
|
2021-02-07 01:00:40 +00:00 |
|
fakeshadow
|
32de9f8840
|
Tokio 1.0 (#1813)
Co-authored-by: Rob Ede <robjtede@icloud.com>
|
2021-01-03 23:47:04 +00:00 |
|
Ibraheem Ahmed
|
cbda928a33
|
Rename factory to handler (#1852)
|
2020-12-26 21:46:19 +00:00 |
|
fakeshadow
|
3a192400a6
|
Simplify handler (#1843)
|
2020-12-23 15:47:07 +00:00 |
|
fakeshadow
|
6cbf27508a
|
simplify ExtractService's return type (#1842)
|
2020-12-20 02:20:29 +00:00 |
|
fakeshadow
|
7a3776b770
|
remove two unused generics on BoxedRouteFuture types. (#1820)
|
2020-12-09 10:47:59 +00:00 |
|
fakeshadow
|
ff79c33fd4
|
remove a box (#1814)
|
2020-12-06 11:42:15 +00:00 |
|
Jonas Platte
|
d765e9099d
|
Fix clippy::rc_buffer (#1728)
|
2020-10-10 09:26:05 +09:00 |
|
Rob Ede
|
cf5138e740
|
fix clippy async_yields_async lints (#1667)
|
2020-09-11 11:29:17 +01:00 |
|
Yuki Okushi
|
92b5bcd13f
|
Check format and tweak CI config (#1619)
|
2020-07-22 00:28:33 +01:00 |
|
Rob Ede
|
a70e599ff5
|
re-export rt in web and add main macro (#1575)
|
2020-06-22 20:09:48 +01:00 |
|
Yuki Okushi
|
6dd78d9355
|
Run rustfmt
|
2020-05-21 17:56:53 +09:00 |
|
Yuki Okushi
|
a98e53ecb8
|
web: Minimize futures dependencies
|
2020-05-19 08:29:12 +09:00 |
|
Rob Ede
|
f3b0233477
|
use mem::take where possible (#1507)
|
2020-05-17 10:54:42 +09:00 |
|
Nikolay Kim
|
6c9f9fff73
|
clippy warnings
|
2019-12-08 00:46:51 +06:00 |
|
Nikolay Kim
|
068f047dd5
|
update service factory config
|
2019-12-02 21:37:13 +06:00 |
|
Nikolay Kim
|
4dc31aac93
|
use actix_rt::test for test setup
|
2019-11-26 11:25:50 +06:00 |
|
Nikolay Kim
|
8683ba8bb0
|
rename .to_async() to .to()
|
2019-11-21 21:36:35 +06:00 |
|
Nikolay Kim
|
1f0577f8d5
|
cleanup api doc examples
|
2019-11-21 16:02:17 +06:00 |
|
Nikolay Kim
|
53c5151692
|
use response instead of result for asyn c handlers
|
2019-11-21 16:02:17 +06:00 |
|
Nikolay Kim
|
3127dd4db6
|
migrate actix-web to std::future
|
2019-11-21 16:02:17 +06:00 |
|
Priit Laes
|
0f09415469
|
Convert documentation examples to Rust 2018 edition (#1120)
* Convert types::query examples to rust-2018 edition
* Convert types::json examples to rust-2018 edition
* Convert types::path examples to rust-2018 edition
* Convert types::form examples to rust-2018 edition
* Convert rest of the examples to rust-2018 edition.
|
2019-10-07 11:29:11 +06:00 |
|
Nikolay Kim
|
2a2d7f5768
|
nightly clippy warnings
|
2019-07-17 15:53:51 +06:00 |
|
Nikolay Kim
|
7b1dcaffda
|
cleanup deprecation warning for Box<dyn>
|
2019-07-17 11:44:39 +06:00 |
|
Nikolay Kim
|
df08baf67f
|
update actix-net dependencies
|
2019-05-12 08:34:51 -07:00 |
|
Nikolay Kim
|
fa78da8156
|
unify route and app data, it allows to provide global extractor config #775
|
2019-05-04 19:43:49 -07:00 |
|
Nikolay Kim
|
48bee55087
|
.to_async() handler can return Responder type #792
|
2019-04-22 14:22:08 -07:00 |
|
Nikolay Kim
|
7a28b32f6d
|
Rename test::call_success to test::call_service
|
2019-04-15 07:44:07 -07:00 |
|
Nikolay Kim
|
ee33f52736
|
make extractor config type explicit
|
2019-04-13 16:35:25 -07:00 |
|
Nikolay Kim
|
4f30fa9d46
|
Remove generic type for request payload, always use default
|
2019-04-13 14:50:54 -07:00 |
|
Nikolay Kim
|
aa78565453
|
use objects pool for HttpRequest; optimize nested services call
|
2019-04-07 23:06:21 -07:00 |
|
Nikolay Kim
|
75b213a6f0
|
refactor FromRequest trait
|
2019-04-07 14:43:07 -07:00 |
|
Nikolay Kim
|
8d1195d8ac
|
add async handler tests
|
2019-03-25 14:33:34 -07:00 |
|
Nikolay Kim
|
ed322c175e
|
update tests
|
2019-03-24 16:28:16 -07:00 |
|
Nikolay Kim
|
4a4826b23a
|
cleanup doc strings and clippy warnings
|
2019-03-16 21:35:02 -07:00 |
|
Nikolay Kim
|
60386f1791
|
introduce RouteData extractor
|
2019-03-16 21:09:11 -07:00 |
|
Nikolay Kim
|
d93fe157b9
|
use better name Route::data instead of Route::config
|
2019-03-16 11:58:01 -07:00 |
|
Nikolay Kim
|
9680423025
|
Add more tests for route
|
2019-03-10 18:35:15 -07:00 |
|
Nikolay Kim
|
4d96abb639
|
use actix_web::Error for middleware errors
|
2019-03-10 16:35:38 -07:00 |
|
Nikolay Kim
|
16c42be4a2
|
simplify extractor configuration, config is optional now
|
2019-03-10 10:53:56 -07:00 |
|
Nikolay Kim
|
fde55ffa14
|
revert generic request parameter for service; support ServerConfig as new factory config
|
2019-03-09 09:49:11 -08:00 |
|
Nikolay Kim
|
eef687ec80
|
remove unneeded methods
|
2019-03-07 15:51:24 -08:00 |
|
Nikolay Kim
|
0e57b4ad61
|
export extractor configs via web module
|
2019-03-07 14:01:52 -08:00 |
|
Nikolay Kim
|
ceb6d45bf2
|
reexpost extractors in web module
|
2019-03-07 11:43:46 -08:00 |
|
Nikolay Kim
|
22708e78a9
|
added proc-macros for route registration
|
2019-03-07 11:09:42 -08:00 |
|
Nikolay Kim
|
244fff9e0a
|
added Logger middleware
|
2019-03-06 19:19:27 -08:00 |
|