Commit graph

1220 commits

Author SHA1 Message Date
Yuri Astrakhan
17993c5717
A few clippy inspired changes (#2233) 2023-09-29 07:28:57 +00:00
Georg Semmler
2f6200dfbd
Use the diagnostic namespace (#2246) 2023-09-29 09:25:26 +02:00
wayne
930e2ab7c1
axum::body no longer pulls in axum::body::stream_body (#2245)
Signed-off-by: wayne warren <wayne.warren.s@gmail.com>
2023-09-29 05:52:26 +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
David Pedersen
3b3bbb2403
Make tokio an optional dependency of axum-extra (#2236) 2023-09-21 07:33:40 +00:00
Yuri Astrakhan
786329d85d
Use inline format args (#2232) 2023-09-19 06:51:57 +00:00
David Pedersen
a9822ec80b
Use tower-http's TimeoutLayer (#2231) 2023-09-17 18:02:22 +02:00
David Pedersen
9eb502c768
Use tuples instead of ServiceBuilder internally (#2229) 2023-09-17 10:56:47 +02:00
David Pedersen
20f48af914
Add NestedPath (#1924) 2023-09-17 10:32:23 +02:00
David Pedersen
449e4c1138
Add docsrs feature to axum-core and axum-macros (#2164) 2023-09-16 19:47:49 +00:00
ttys3
268ba08e8e
Add space between SSE field and value for compatibility (#2149)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-09-16 19:47:28 +00:00
David Pedersen
65defdb463 fix cargo-deny 2023-09-16 21:32:40 +02:00
David Pedersen
eade3fdad6
Update prost (#2224) 2023-09-14 15:19:23 +02:00
Lennart Melzer
368c3ee08f
Add IntoResponse impl to customize-extractor-error example (#2191) 2023-09-11 12:12:03 +00:00
nabbisen
70171980cc
fix typo in axum-macros README: according to Cargo.toml msrv is 1.60 (#2204) 2023-09-11 12:03:50 +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
Jonas Platte
24f0f3eae8 Remove unused mut 2023-08-22 12:22:45 +02:00
Jonas Platte
11b24f7898 Remove redundant bindings 2023-08-22 12:22:45 +02:00
二手掉包工程师
52a9039019
Remove useless commented code (#2178)
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
2023-08-16 14:35:43 +00:00
Jonas Platte
e84a67e568
Fix documentation for MethodRouter::into_make_service (#2176) 2023-08-15 15:26:53 +00:00
Daniel Pauls
483ba7d5b5
Don't create a RouteId if routes can be merged (#2174) 2023-08-14 22:38:13 +02:00
二手掉包工程师
f7988398d0
Remove redundant space in the comment (#2172)
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
2023-08-14 08:23:39 +02:00
Rob
d30375925d
Update ECOSYSTEM.md (#2167) 2023-08-09 09:30:44 +02:00
Marco Inacio
fc0d9efb15
Update ECOSYSTEM.md (#2165) 2023-08-08 14:50:17 +02:00
Max
edfb1cece3
Clarify documentation about route_layer (#2154) 2023-08-08 11:40:38 +00:00
David Pedersen
54e203cd51
Clearly document applying DefaultBodyLimit to individual routes (#2157) 2023-08-08 09:57:55 +00:00
Jonas Platte
4120195c53 Check for typos in CI 2023-08-08 11:27:45 +02:00
Jonas Platte
34d1fbc052 Fix typos found by crate-ci/typos 2023-08-08 11:27:45 +02:00
Jonas Platte
ff3884aa41 Silence error from enabling nightly_error_messages 2023-08-08 11:27:45 +02: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
cc611b8b24
Implement IntoResponse for (R,) where R: IntoResponse (#2143) 2023-08-03 18:15:06 +00:00
Jonas Platte
432289dd04
Replace :emoji: codes with the actual emoji (#2144) 2023-08-03 08:23:18 +00:00
Jonas Platte
8af38763a5
Implement Clone for ErasedJson (#2142) 2023-08-02 19:35:04 +00:00
David Pedersen
2138489ce5
Implement Handler for T: IntoResponse (#2140) 2023-08-02 21:17:12 +02:00
Kristopher Wuollett
e4865e17fa
Add empty path capture docs and tests (#2127) 2023-08-02 20:57:15 +02:00
David Pedersen
5b89f1dfaa
Add example showing how to proxy reqwest::Response (#2138) 2023-08-02 08:15:47 +00:00
David Pedersen
6416a4784b
axum-extra: Remove unused tower-http dependency (#2137) 2023-08-02 07:50:44 +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
Ikko Eltociear Ashimine
025144be7e
Fix typo in typed_header.rs (#2133) 2023-07-31 15:27:20 +00: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
kinrany
0151aeea54
docs: delete MatchedPath nesting section (#2121) 2023-07-26 16:05:42 +00:00
David Pedersen
5567d665d7
Fix typo (#2118) 2023-07-25 21:52:08 +02:00
Raphael Nestler
b20e66e79a
Remove unnecessary allow(dead_code) from testing example (#2117) 2023-07-25 17:30:19 +00:00