Commit graph

1381 commits

Author SHA1 Message Date
Emil Gardström
f7a0011ea5
explain that Router::merge only merges paths and fallback (#2316)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-11-18 12:36:25 +00:00
wayne
0c7ff7c76b
Json: add from_bytes method, use that in 'impl FromRequest' (#2244)
Signed-off-by: wayne warren <wayne.warren.s@gmail.com>
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2023-11-18 13:29:57 +01:00
Mikhail Antoshkin
c100650464
Fix items-after-test-module clippy warning on 1.75.0-beta.1 (#2318) 2023-11-16 07:15:16 +00:00
Orhun Parmaksız
3ff45d9c96
Update ECOSYSTEM.md about Shuttle (#2305) 2023-11-08 18:32:17 +01:00
Max Countryman
63e55e5903
Update ECOSYSTEM.md to include tower-sessions (#2304) 2023-11-08 08:10:17 +01:00
GengTeng
d7258bf009
add axum-valid to ECOSYSTEM.md (#2299) 2023-11-01 05:59:37 +09:00
Dmitry Miasnenko
276aa9e4b0
add sero to ECOSYSTEM.md (#2290) 2023-10-26 07:38:42 +09:00
Jonas Platte
e84d563b26
Improve documentation of axum::Form (#2289) 2023-10-26 06:37:19 +09:00
Péter Leéh
a4133d0d4a
Add axum-prometheus to ECOSYSTEM.md (#2288) 2023-10-25 18:20:07 +09:00
nectarine
68288ef44f
Replace reference to multiple with singular in docs. (#2285)
Co-authored-by: Fred Cook <fredcook789@gmail.com>
2023-10-23 15:10:54 +09:00
Rakshith Ravi
8854e660e9
Add HTTP/1 and HTTP/2 to axum::serve (#2241) 2023-10-01 10:46:22 +02:00
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