Rob Ede
7b936bc443
add some useful header name constants ( #2956 )
2023-01-02 13:33:31 +00:00
Rob Ede
d2364c80c4
improve error handling on new new example
2023-01-02 00:16:59 +00:00
Rob Ede
77459ec415
add h2c example
2023-01-02 00:14:25 +00:00
Rob Ede
6f0a6bd1bb
address clippy lints
...
For intrepid commit message readers:
The choice to add allows for the inlined format args lint instead of actually
inlining them is not very clear because our actual real world MSRV is not clear.
We currently claim 1.60 is our MSRV but this is mainly due to dependencies. I'm
fairly sure that we could support < 1.58 if those deps are outdated in a users
lockfile. We'll remove these allows again at some point soon.
2023-01-01 20:56:34 +00:00
Rob Ede
06c3513bc0
add Allow header to resource's default 405 handler ( #2949 )
2022-12-21 20:28:45 +00:00
Rob Ede
29bd6a1dd5
fix version requirement for futures_util
2022-12-18 01:34:48 +00:00
Rob Ede
17f7cd2aae
bump zstd to 0.12
2022-12-18 01:31:06 +00:00
Rob Ede
ede645ee4e
bump criterion to 0.4
2022-12-18 01:11:04 +00:00
Rob Ede
6d48593a60
fix doc tests
2022-11-25 23:28:31 +00:00
Rob Ede
3c69d078b2
add redirect service ( #1961 )
2022-11-25 21:44:52 +00:00
Rob Ede
e7c34f2e45
tweak form docs
2022-11-25 21:38:57 +00:00
Rob Ede
d708a4de6d
add acceptable guard ( #2265 )
2022-11-25 21:04:24 +00:00
Rob Ede
d97bd7ec17
fix msrv CI
2022-11-25 17:37:23 +00:00
Rob Ede
fcd06c9896
workaround zstd msrv issue
2022-11-25 17:28:06 +00:00
Rob Ede
1065043528
ci: use dtolnay's rust-toolchain action
2022-11-25 17:00:59 +00:00
Alex
45b77c6819
GitHub Workflows security hardening ( #2923 )
2022-11-04 00:42:22 +00:00
Rob Ede
a2e2c30d59
use tokio-util deps directly where possible
2022-10-30 19:47:49 +00:00
fakeshadow
83cd061c86
remove fakeshadow from author lists ( #2921 )
2022-10-25 16:37:04 +01:00
Alex
068909f1b3
Replace deprecated twoway with memchr ( #2909 )
2022-10-14 11:52:13 +00:00
Rob Ede
f8cb71e789
remove incomplete doc comment
2022-10-14 13:20:38 +02:00
kkocdko
73b94e902d
fix xhtml pages' content-disposition
( #2903 )
...
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2022-10-09 12:44:10 +01:00
Benny Nazimov
ad7e67f940
add middleware::logger::custom_response_replace
( #2631 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-09-26 18:44:51 +00:00
Rob Ede
1519ae7772
clarify tokio::main docs
2022-09-26 12:29:57 +01:00
Rob Ede
cc7145d41d
rust 1.64 clippy run ( #2891 )
2022-09-25 20:54:17 +01:00
Rob Ede
172c4c7a0a
use noop hasher in extensions ( #2890 )
2022-09-25 15:32:26 +01:00
Jacob Halsey
fd63305859
Fix actix-multipart field content_type() to return an Option ( #2885 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-09-23 17:06:40 +00:00
david-monroe
ef64d6a27c
update derive_more dependency to 0.99.8 ( #2888 )
2022-09-23 12:39:18 +00:00
e-rhodes
4d3689db5e
Remove unnecesary clones in extractor configs ( #2884 )
...
Co-authored-by: erhodes <erik@space-nav.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-09-20 23:17:58 +00:00
Rob Ede
894effb856
prepare actix-router release 0.5.1
2022-09-19 18:52:16 +01:00
Torin Cooper-Bennun
07a7290432
Fix typo in error string for i32 parse in router deserialization ( #2876 )
...
* fix typo in error string for i32 parse
* update actix-router changelog for #2876
* Update CHANGES.md
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-09-19 18:44:52 +01:00
e-rhodes
bd5c0af0a6
Add ability to set default error handlers to the ErrorHandler
middleware ( #2784 )
...
Co-authored-by: erhodes <erik@space-nav.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-09-15 13:06:34 +00:00
Rob Ede
c73fba16ce
implement MessageBody for mut B ( #2868 )
2022-09-14 11:23:22 +01:00
Rob Ede
909461087c
add ContentDisposition::attachment
constructor ( #2867 )
2022-09-13 01:19:25 +01:00
Rob Ede
40f7ab38d2
prepare actix-web release 4.2.1
2022-09-12 10:43:03 +01:00
Rob Ede
a9e44bcf07
fix -http version to 3.2.2 ( #2871 )
...
fixes #2869
2022-09-12 10:42:22 +01:00
Rob Ede
7767cf3071
prepare actix-web release 4.2.0
2022-09-11 16:44:46 +01:00
Rob Ede
b59a96d9d7
prepare actix-web-codegen release 4.1.0
2022-09-11 16:42:28 +01:00
Rob Ede
037740bf62
prepare actix-http release 3.2.2
2022-09-11 16:41:29 +01:00
Rob Ede
386258c285
clarify worker_max_blocking_threads default
2022-09-06 10:13:10 +01:00
Rob Ede
99bf774e94
update gh-pages deploy action
2022-09-03 22:15:59 +01:00
Rob Ede
35b0fd1a85
specify branch in doc job
2022-09-03 22:05:28 +01:00
Rob Ede
0b5b4dcbf3
reduce size of docs branch
2022-09-03 21:56:37 +01:00
Juan Aguilar
c993055fc8
replace askama_escape in favor of v_htmlescape ( #2824 )
2022-08-30 09:34:46 +01:00
Rob Ede
679f61cf37
bump msrv to 1.59
2022-08-27 13:14:16 +01:00
Rob Ede
056de320f0
fix scope doc example
...
fixes #2843
2022-08-25 03:17:48 +01:00
Rob Ede
f220719fae
prepare awc release 3.0.1
2022-08-25 03:13:31 +01:00
liushuyu
c9f91796df
awc: correctly handle redirections that begins with //
( #2840 )
2022-08-25 03:12:58 +01:00
Rob Ede
ea764b1d57
add feature annotations to docs
2022-07-31 23:40:09 +01:00
Rob Ede
19aa14a9d6
re-order HttpServer methods for better docs
2022-07-31 22:10:51 +01:00
Rob Ede
10746fb2fb
improve HttpServer docs
2022-07-31 21:58:15 +01:00