Commit Graph

3537 Commits

Author SHA1 Message Date
Erik Johnston cb1a712296 Port over doc comments in route macros.
This allows documentation on the functions to appear in the generated
docs, e.g.:

```rust
/// The index page
async fn index() -> &'static str {
    "Hello!"
}
```
2021-02-23 23:10:16 +00:00
Ibraheem Ahmed d92ab7e8e0
add msrv to clippy config (#1862) 2021-02-22 15:39:31 +00:00
Alex Rebert 5845b3965c
actix-http-test: minimize features of dependencies (#2019) 2021-02-22 12:00:08 +00:00
fakeshadow aacec30ad1
reduce duplicate code (#2020) 2021-02-22 11:15:12 +00:00
Adam Chalmers 2dbdf61c37
Inner field of web::Query is public again (#2016) (#2017)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-02-20 17:59:09 +00:00
Dávid Szabó 83365058ce
Fix HTTP client link (#2011) 2021-02-18 21:56:24 +00:00
Richard Janis Goldschmidt 3b93c62e23
Fix Json extractor to be 32kB by default (#2010) 2021-02-18 15:20:20 +00:00
fakeshadow 946cccaa1a
refactor awc::ClientBuilder (#2008) 2021-02-18 12:30:09 +00:00
fakeshadow 1838d9cd0f
remove unused method. reduce leaf future type (#2009) 2021-02-18 11:24:10 +00:00
fakeshadow f62a982a51
simplify the match on h1 message type (#2006) 2021-02-18 10:38:27 +00:00
fakeshadow dfd9dc40ea
remove awc::connect::connect trait. (#2004) 2021-02-17 17:10:46 +00:00
fakeshadow 5efea652e3
add ClientResponse::timeout (#1931) 2021-02-17 11:55:11 +00:00
fakeshadow dfa795ff9d
return poll in poll_flush (#2005) 2021-02-17 11:18:31 +00:00
Luka Zakrajšek 2cc6b47fcf
Use http-range library for HttpRange (#2003) 2021-02-16 18:48:16 +00:00
fakeshadow 117025a96b
simplify client::connection::Connection trait (#1998) 2021-02-16 14:10:22 +00:00
Rob Ede 3e0a9b99ff
update rust-cache action 2021-02-16 09:28:14 +00:00
Rob Ede 17b3e7e225
pool doc nits (#1999) 2021-02-16 09:08:30 +00:00
fakeshadow c065729468
rework client connection pool (#1994) 2021-02-16 08:27:14 +00:00
Rob Ede 55db3ec65c
split up http body module 2021-02-15 12:20:43 +00:00
Rob Ede 0404b78b54
improve body size docs 2021-02-15 11:24:46 +00:00
fakeshadow 68d1bd88b1
remove unused flag upgrade (#1992) 2021-02-14 18:13:05 +00:00
fakeshadow 308b70b039
fix potential over read (#1991) 2021-02-14 17:36:18 +00:00
Rob Ede 7fa6333a0c
use rcgen for tls key generation (#1989) 2021-02-13 17:16:36 +00:00
Rob Ede 3279070f9f
optional cookies features (#1981) 2021-02-13 15:08:43 +00:00
fakeshadow b37669cb3b
fix notify on drop (#1987) 2021-02-13 04:23:37 +00:00
Rob Ede 1e538bf73e
rework ci (#1982) 2021-02-12 21:53:21 +00:00
fakeshadow 366c032c36
refactor DateService (#1983) 2021-02-12 21:52:58 +00:00
fakeshadow 95113ad12f
do not self wake up when have a payload (#1984) 2021-02-12 20:33:13 +00:00
fakeshadow ce9b2770e2
remove unused Dispatcher::new_timeout (#1985) 2021-02-12 10:37:28 +00:00
Rob Ede 4fc7d76759
s/websocket/WebSocket in docs 2021-02-12 00:27:20 +00:00
Rob Ede 81bef93e5e
add time parser year shift tests 2021-02-12 00:15:25 +00:00
Rob Ede 31d9ed81c5
change rustfmt line width to 96 2021-02-11 23:03:17 +00:00
Rob Ede c1af5089b9
add 431 and 451 status codes 2021-02-11 22:58:40 +00:00
Rob Ede 77efc09362
hide httpmessage mod 2021-02-11 22:58:40 +00:00
Rob Ede 871ca5e4ae
stop claiming actor support 2021-02-11 22:58:40 +00:00
fakeshadow ceace26ed4
remove unused flag POLLED (#1980) 2021-02-11 14:19:14 -08:00
fakeshadow 75a9a72e78
clean up poll_response. add comments (#1978) 2021-02-11 14:54:42 +00:00
fakeshadow d9d0d1d1a2
reduce unsafe (#1972) 2021-02-10 23:11:12 +00:00
Rob Ede ea5ce3befb
prepare actix-http 3.0.0-beta.3 release 2021-02-10 18:36:14 +00:00
Rob Ede e18464b274
bump actix web versions in deps 2021-02-10 12:57:13 +00:00
Rob Ede bd26083f33
prepare codegen 0.5.0-beta.1 release 2021-02-10 12:45:46 +00:00
Rob Ede 991363a104
consistent case s/web/Web 2021-02-10 12:12:03 +00:00
Rob Ede a290e58982
prepare beta 2 release set (#1975) 2021-02-10 12:10:03 +00:00
fakeshadow dcad9724bc
ensure poll_flush on h1 connection disconnect (#1974) 2021-02-10 10:11:53 +00:00
Rob Ede 949d14ae2b
clean up header map (#1964) 2021-02-09 22:59:17 +00:00
fakeshadow a6ed4aee84
add poll_flush after a non blocked write to h1 dispatcher (#1971) 2021-02-09 22:32:46 +00:00
fakeshadow 519d7f2b8a
add trust-dns optional feature for actix-http and awc (#1969) 2021-02-09 10:41:20 +00:00
fakeshadow dddb623a11
add services register for tuple and vec of services (#1933) 2021-02-07 23:47:51 +00:00
fakeshadow 266cf0622c
reduce branch.remove deadcode for h1 dispatcher (#1962) 2021-02-07 22:48:27 +00:00
Rob Ede 9604e249c9
use stable clippy (#1963) 2021-02-07 20:33:53 +00:00