Rob Ede
a290e58982
prepare beta 2 release set ( #1975 )
2021-02-10 12:10:03 +00:00
fakeshadow
41bc04b1c4
Use immutable reference of service state. Update awc dns resolver. ( #1905 )
2021-02-07 01:00:40 +00:00
fakeshadow
51e54dac8b
fix limit not working on HttpMessageBody::limit ( #1938 )
2021-01-27 10:49:57 +00:00
Jonas Platte
c201c15f8c
Improve documentation for PayloadConfig ( #1923 )
2021-01-24 00:32:10 +00:00
Rob Ede
0a506bf2e9
cleanup top level doc comments
2021-01-15 05:38:50 +00:00
Rob Ede
b1dd8d28bc
response header rework ( #1869 )
2021-01-15 02:11:10 +00:00
Rob Ede
6575ee93f2
big clean up and docs improvmenet of types mod ( #1894 )
2021-01-09 13:17:19 +00:00
fakeshadow
d40ae8c8ca
use sync method on Responder trait ( #1891 )
2021-01-08 22:17:19 +00:00
Rob Ede
d3c476b8c2
use env_logger builders in examples
2021-01-07 02:41:05 +00:00
Rob Ede
dc23559f23
address clippy lints
2021-01-07 02:04:26 +00:00
Rob Ede
2d4a174420
fmt
2021-01-04 01:01:35 +00:00
Rob Ede
21f6c9d7a5
improve code readability
2021-01-04 00:49:02 +00:00
fakeshadow
32de9f8840
Tokio 1.0 ( #1813 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-01-03 23:47:04 +00:00
fakeshadow
87655b3028
reduce one clone on Arc. ( #1850 )
2020-12-23 23:58:25 +00:00
fakeshadow
2a5215c1d6
Remove boxed future from HttpMessage ( #1834 )
2020-12-17 11:40:49 +00:00
fakeshadow
97f615c245
remove boxed futures on Json extract type ( #1832 )
2020-12-16 23:34:33 +00:00
Rob Ede
1a361273e7
optimize bytes and string payload extractors ( #1831 )
2020-12-16 22:40:26 +00:00
Aravinth Manivannan
fabc68659b
Intradoc links conversion ( #1827 )
...
* switching to nightly for intra-doc links
* actix-files intra-doc conversion
* more specific Result
* intradoc conversion complete
* rm blank comments and readme doc link fixes
* macros and broken links
2020-12-13 13:28:39 +00:00
Rob Ede
ae63eb8bb2
fix clippy warnings ( #1806 )
...
* fix clippy warnings
* prevent CI fail status caused by codecov
2020-12-09 11:22:19 +00:00
Rob Ede
4100c50c70
add either extractor ( #1788 )
2020-11-20 18:02:41 +00:00
Pouya Mobasher Behrouz
9b42333fac
Fix typo in Query extractor docs ( #1777 )
2020-11-06 13:34:42 +00:00
Yuki Okushi
c2c71cc626
Fix/suppress clippy warnings ( #1720 )
2020-10-01 18:19:09 +09:00
Robert Gabriel Jakabosky
22089aff87
Improve json, form and query extractor config docs ( #1661 )
2020-09-10 15:40:20 +01:00
Rob Ede
4e321595bc
extract more config types from Data<T> as well ( #1641 )
2020-09-02 22:12:07 +01:00
Yuki Okushi
92b5bcd13f
Check format and tweak CI config ( #1619 )
2020-07-22 00:28:33 +01:00
Rob Ede
0ec335a39c
bump MSRV to 1.42 ( #1616 )
2020-07-21 16:40:30 +09:00
Jonas Platte
f8d5ad6b53
Make web::Path a tuple struct with a public inner value ( #1594 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2020-07-21 00:54:26 +01:00
Rob Ede
43c362779d
also try extracting payload config as Data<T> ( #1610 )
2020-07-20 17:40:58 +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
a98e53ecb8
web: Minimize futures
dependencies
2020-05-19 08:29:12 +09:00
Stig Johan Berggren
0d958fabd7
📝 Improve the code example for JsonConfig ( #1418 )
...
* 📝 Improve the code example for JsonConfig
* Remove a redundant comment
2020-03-17 08:23:54 +09:00
Otavio Salvador
7e0d898d5a
Fix clippy warnings
...
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-03-12 00:52:21 -03:00
Nikolay Kim
f86ce0390e
allow to specify multi pattern for resources
2019-12-25 20:14:44 +04:00
Nikolay Kim
2b4256baab
add links to configs
2019-12-20 17:49:05 +06:00
Nikolay Kim
c877840c07
rename App::register_data to App::app_data and HttpRequest::app_data returns Option<&T> instead of Option<&Data<T>>
2019-12-20 17:13:09 +06:00
Nikolay Kim
cb705317b8
compile with default-features off
2019-12-15 13:28:54 +06:00
Nikolay Kim
6c9f9fff73
clippy warnings
2019-12-08 00:46:51 +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
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
Igor Aleksanov
f81ae37677
Add From<Payload> for crate::dev::Payload ( #1110 )
...
* Add From<Payload> for crate::dev::Payload
* Make dev::Payload field of Payload public and add into_inner method
* Add changelog entry
2019-10-01 14:05:38 +06:00
Jos van den Oever
32a1c36597
Make UrlencodedError::Overflow more informative ( #1089 )
2019-09-17 06:58:04 +06:00
Yuki Okushi
23d768a77b
Add explicit dyn
s ( #1041 )
...
* Add explicit `dyn`s
* Remove unnecessary lines
2019-08-17 02:45:44 +09:00
jesskfulwood
8f48ed2597
impl Responder for Form
2019-07-20 14:46:46 +01:00
jesskfullwood
f8320fedd8
add note about Query decoding ( #992 )
2019-07-19 17:37:49 +06:00
jesskfullwood
c808364c07
make Query payload public ( #991 )
2019-07-19 15:47:44 +06:00
Nikolay Kim
2a2d7f5768
nightly clippy warnings
2019-07-17 15:53:51 +06:00
Nikolay Kim
4092c7f326
clippy warnings
2019-07-17 15:08:30 +06:00
Ravi Shankar
32718b7e31
Expose factory traits and some clippy fixes ( #983 )
2019-07-17 12:58:42 +06:00