Rob Ede
c25dd23820
move path impls to derives
2022-01-22 04:02:34 +00:00
Rob Ede
86df295ee2
fully percent decode path segments when capturing ( #2566 )
2022-01-04 15:19:29 +00:00
Rob Ede
85c9b1a263
move quoter
2022-01-04 12:58:40 +00:00
Rob Ede
93754f307f
try path config from Data as well
2022-01-04 04:08:46 +00:00
Rob Ede
c7c02ef99d
body ergonomics v3 ( #2468 )
2021-12-04 19:40:47 +00:00
Rob Ede
efdf3ab1c3
clippy
2021-10-19 01:32:58 +01:00
Rob Ede
450ff5fa1d
improve extract docs ( #2384 )
2021-09-11 16:48:47 +01:00
Arniu Tseng
8ae278cb68
Remove FromRequest::Config
( #2233 )
...
Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-09-11 01:11:16 +01:00
Rob Ede
f6e69919ed
update to router 0.5.0 beta ( #2339 )
2021-08-06 22:42:31 +01:00
Igor Aleksanov
262c6bc828
Various refactorings ( #2281 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-06-26 15:33:43 +01:00
Rob Ede
532f7b9923
refined error model ( #2253 )
2021-06-17 17:57:58 +01:00
Rob Ede
2a8c650f2c
move internalerror to actix web ( #2215 )
2021-05-14 16:40:00 +01:00
Rob Ede
981c54432c
remove json and url encoded form support from -http ( #2148 )
2021-04-12 10:30:28 +01:00
Rob Ede
44c55dd036
remove cookie support from -http ( #2065 )
2021-04-09 18:07:10 +01:00
Ibraheem Ahmed
c72d77065d
derive debug where possible ( #2142 )
2021-04-09 03:22:51 +01:00
Rob Ede
c8ed8dd1a4
migrate to -utils beta 4 ( #2127 )
2021-04-01 15:26:13 +01:00
obayemi
abcb444dd9
fix routes in Path documentation ( #2084 )
2021-03-18 13:21:44 +00:00
Rob Ede
31d9ed81c5
change rustfmt line width to 96
2021-02-11 23:03:17 +00:00
Rob Ede
a290e58982
prepare beta 2 release set ( #1975 )
2021-02-10 12:10:03 +00:00
Rob Ede
6575ee93f2
big clean up and docs improvmenet of types mod ( #1894 )
2021-01-09 13:17:19 +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
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
Yuki Okushi
a98e53ecb8
web: Minimize futures
dependencies
2020-05-19 08:29:12 +09: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
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
Nikolay Kim
2a2d7f5768
nightly clippy warnings
2019-07-17 15:53:51 +06:00
Nikolay Kim
c8118e8411
fix path doc tests
2019-06-12 20:12:15 +06:00
Nikolay Kim
e7ba67e1a8
rename PathPayloadError and test for path config
2019-06-12 17:02:45 +06:00
Lucas Berezy
13e618b128
Added initial support for PathConfig, allows setting custom error handler. ( #903 )
2019-06-12 16:49:56 +06:00
Nikolay Kim
e659e09e29
update tests
2019-04-18 11:01:04 -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
75b213a6f0
refactor FromRequest trait
2019-04-07 14:43:07 -07:00
Nikolay Kim
bca31eb7ad
remove Deref
2019-04-02 13:35:01 -07:00
Nikolay Kim
725ee3d396
rename extract to types
2019-03-16 21:43:48 -07:00