Commit graph

283 commits

Author SHA1 Message Date
FémLol Stúdió
4f010d9b2d
Updating tls-rustls example (#2457) 2023-12-29 01:07:58 +01:00
gerardcl
fd3bfe4448
Fix comments on reqwest-response example for axum 0.7 (#2437) 2023-12-18 20:31:21 +01:00
Fujiwara Takumi
2f585ac9b7
Upgrade tokio-tungstenite to 0.21 (#2435) 2023-12-18 15:13:35 +01:00
gerardcl
12676aabea
Update example-reqwest-response (#2430) 2023-12-17 12:47:45 +01:00
Francis
1fa21bbb73
Update example http-proxy to hyper 1.0 (#2394) 2023-12-02 16:58:31 +01:00
Mape
b02ce30737
Update example reverse-proxy to axum 0.7 (#2395) 2023-12-02 11:48:10 +01:00
Erèbe - Romain Gerard
6d7ddee9ae
Update example low-level-rustls to axum 0.7 (#2375) 2023-11-29 09:52:16 +01:00
Erèbe - Romain Gerard
52dec90ed2
Update example low-level-openssl to axum 0.7 (#2376) 2023-11-29 09:51:31 +01:00
Joel Uckelman
2e963cea9d
Add a use of route_service with ServeFile to the static-file-server example (#2361) 2023-11-27 15:49:54 +01:00
David Pedersen
9d0e634285 Fix comment in testing example 2023-11-27 10:58:03 +01:00
David Pedersen
e63cc49f55
Update unix-domain-socket, listen-multiple-addrs, and testing examples (#2358) 2023-11-27 10:23:52 +01:00
David Pedersen
15781fe22b
Prepare serve for potentially supporting graceful shutdown (#2357) 2023-11-26 12:21:35 +00:00
David Pedersen
da82e887cd
Update graceful shutdown example (#2355)
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2023-11-26 10:34:41 +00:00
19年梦醒
fc3cb44b91
Upgrade headers to 0.4.0 (#2351) 2023-11-25 08:47:57 +00:00
David Pedersen
20862d42f5
Add example showing how to use hyper's low level API (#2338) 2023-11-23 13:39:01 +01:00
David Pedersen
43b14a5f02
Update to latest versions of hyper and http-body (#1882)
Co-authored-by: Michael Scofield <mscofield0@tutanota.com>
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2023-11-23 11:03:03 +00:00
David Pedersen
c8cf147657
Make sure axum-extra also supports being compiled to WASM (#2237)
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2023-09-21 15:14:57 +02:00
Yuri Astrakhan
786329d85d
Use inline format args (#2232) 2023-09-19 06:51:57 +00:00
David Pedersen
9eb502c768
Use tuples instead of ServiceBuilder internally (#2229) 2023-09-17 10:56:47 +02:00
Lennart Melzer
368c3ee08f
Add IntoResponse impl to customize-extractor-error example (#2191) 2023-09-11 12:12:03 +00:00
Jonas Platte
3f5c907e2d
Add auto-reload example (#2166) 2023-09-11 13:56:47 +02:00
PGIII
998ef8dc89
Add tls-graceful-shutdown example (#2208) 2023-09-11 13:55:11 +02:00
Olaf Alders
503d31976f
Use "set up" rather than "setup" when used as a verb 2023-09-08 16:13:36 +00:00
nabbisen
d244d3f936
Fix typo in examples README: plural form examples 2023-09-05 13:51:18 +00:00
Igor Shevchenko
8e033e7f88
Fix typos in examples/diesel-postgres/src/main.rs (#2159) 2023-08-08 08:13:13 +00:00
Igor Shevchenko
9dbfdbb4df
Fix typo in prometheus-metrics/src/main.rs (#2160) 2023-08-08 08:11:01 +00:00
David Pedersen
e8cf5f4f0e Mention tokio-stream in SSE example 2023-08-06 20:45:35 +02:00
David Pedersen
5b89f1dfaa
Add example showing how to proxy reqwest::Response (#2138) 2023-08-02 08:15:47 +00:00
Alex Butler
a6a849bb5b
Update tokio-tungstenite 0.20 (#2116)
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2023-08-02 09:38:56 +02:00
Adrian Jerome Wright
e5b0852bdb
Update main.rs - Correct method in comments (#2132) 2023-07-30 07:48:07 +00:00
tuhana
64c566cd1c
Fix typo on customize-extractor-error example (#2124) 2023-07-27 14:03:10 +00:00
David Pedersen
f9ea40bb44
Don't depend on axum-macros in examples (#2122) 2023-07-26 20:21:39 +02:00
Raphael Nestler
b20e66e79a
Remove unnecessary allow(dead_code) from testing example (#2117) 2023-07-25 17:30:19 +00:00
David Pedersen
bb22802bfc
Update to latest sqlx in example (#2099) 2023-07-16 13:49:53 +02:00
David Pedersen
b34715fe81
Update to hyper 1.0.0-rc.4 (#2094) 2023-07-15 15:38:38 +00:00
Rodrigo Santiago
8cb11e7f94
Remove unwraps via '?' with anyhow crate for example-oauth (#2069) 2023-07-04 19:48:58 +00:00
David Pedersen
f4accdc95d Remove unwrap from example-stream-to-file 2023-07-01 23:12:23 +02:00
David Pedersen
99e8828df5 Remove unwrap from example-reverse-proxy 2023-07-01 23:12:23 +02:00
David Pedersen
b1b0e45683 Remove sessions example
There are better libraries these days for doing sessions with axum. So
think this example was just causing more confusion than helping.
2023-07-01 23:12:20 +02:00
Alex Butler
26daec2b17
Update tokio-tungstenite to 0.19 (#2021)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-06-23 00:03:30 +02:00
David Pedersen
b7665b209a
Fix CI (#2054) 2023-06-22 23:20:46 +02:00
Jerry Wang
7208cdf795
Fix the cargo hack check (#2013) 2023-05-18 18:40:19 +00:00
David Pedersen
db300efc33
Remove impl Connected<&AddrStream> for SocketAddr (#1954) 2023-04-21 18:24:47 +02:00
David Pedersen
877e3fe4de Move TypedHeader to axum-extra (#1850)
Co-authored-by: Michael Scofield <mscofield0@tutanota.com>
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2023-04-21 17:45:31 +02:00
David Pedersen
c97967252d Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
David Pedersen
6703f8634c Remove B type param: Follow ups (#1789)
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
Co-authored-by: Michael Scofield <mscofield0@tutanota.com>
2023-04-21 17:45:31 +02:00
David Pedersen
4e4c29175f Remove B type param (#1751)
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
Co-authored-by: Michael Scofield <mscofield0@tutanota.com>
2023-04-21 17:45:31 +02:00
David Pedersen
39bb28130d
Enable println warning (#1929) 2023-04-14 22:26:56 +02:00
David Pedersen
6b106f4bab
Log built-in rejections (#1890) 2023-04-11 16:57:49 +02:00
David Pedersen
24f8dc53f4
Update rest-grpc-multiplex example to include reflection (#1902) 2023-04-01 20:49:36 +02:00