Commit graph

1502 commits

Author SHA1 Message Date
David Pedersen
71eedc6d6c
Add websocket integration test (#2477) 2023-12-31 11:14:26 +01:00
David Pedersen
48d169016a Update example-tls-graceful-shutdown
Was just a matter of updating axum-server
2023-12-31 00:18:55 +01:00
Sleep_AllDay
d2cea5cdbd
Improve debug_handler on tuple response types (#2201)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2023-12-30 21:48:35 +00:00
David Pedersen
85573e0573
impl IntoResponseParts for () (#2471) 2023-12-30 17:47:22 +00:00
David Pedersen
7ea7e9f618
Use IntoFuture for test RequestBuilder (#2470) 2023-12-30 18:23:53 +01:00
David Pedersen
3b43b257e7
Add dependency injection example (#2466) 2023-12-30 18:11:33 +01:00
Henry Chen
c34041510c
Add an example integration test for SSE (#2465)
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-12-30 18:04:23 +01:00
David Pedersen
046e7299e1
Fix out of date links to error-handling example (#2467) 2023-12-30 16:37:57 +01:00
David Pedersen
5d388c8d91 Remove outdated comment 2023-12-29 17:51:14 +01:00
藍+85CD
c1c917092d
Add hatsu to ECOSYSTEM.md (#2462) 2023-12-29 17:47:57 +01:00
David Pedersen
fe89ab5592
Release (#2461) 2023-12-29 17:47:06 +01:00
Bryan Burgers
b494d455cc
Implement Clone for RouterIntoService (#2456) 2023-12-29 14:13:36 +00:00
Dotan J. Nahum
560213a7b7
docs: add clarification about building middleware and error types (#2448) 2023-12-29 14:19:16 +01:00
David Pedersen
ea6dd51e98
Enable tracing by default (#2460) 2023-12-29 13:44:20 +01:00
David Pedersen
12e8c6219d
Support graceful shutdown on serve (#2398) 2023-12-29 11:17:58 +00:00
future-highway
56159b0d4e
JsonDeserializer extractor for zero-copy deserialization (#2431) 2023-12-29 12:06:47 +01:00
David Pedersen
c3db223532
Rework error handling example (#2382) 2023-12-29 01:49:13 +01:00
Hydrogen602
6c276c3ff0
Updated docs regarding constraints of Handler arguments (#2451) 2023-12-29 01:48:14 +01:00
FémLol Stúdió
4f010d9b2d
Updating tls-rustls example (#2457) 2023-12-29 01:07:58 +01:00
Fujiwara Takumi
3fda093806
Use separate lexical scope for lock guard in docs (#2439) 2023-12-19 16:21:24 +00:00
Tobias Bieniek
212d959a54
Body: Implement From<()> (#2411) 2023-12-19 10:51:38 +01:00
Dotan J. Nahum
f387c01f58
Ecosystem: add loco.rs (#2438) 2023-12-19 07:58:00 +00: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
Fujiwara Takumi
584c328bb0
Unnecessary BytesMut (#2414)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-12-17 11:35:46 +00:00
David Pedersen
72ccde5900
Update multer (#2433) 2023-12-17 11:31:38 +00:00
David Pedersen
6e0955ed9b
Fix CI (#2434) 2023-12-17 12:11:40 +01:00
Joshua Mo
2b486ea174
docs: Typo correction (#2405) 2023-12-04 19:04:07 +01:00
David Pedersen
ab36eda6aa
Release axum and axum-core (#2402) 2023-12-04 09:16:15 +01:00
David Pedersen
ef5663674c
Gracefully handle accept errors in serve (#2400)
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2023-12-02 18:04:05 +00:00
Benedikt Werner
6491655a80
Fix typo in DefaultBodyLimit docs (#2401) 2023-12-02 18:02:20 +01:00
Francis
1fa21bbb73
Update example http-proxy to hyper 1.0 (#2394) 2023-12-02 16:58:31 +01:00
GengTeng
a6011a5133
Add axum-serde to ECOSYSTEM.md (#2399) 2023-12-02 14:18:45 +01:00
Mape
b02ce30737
Update example reverse-proxy to axum 0.7 (#2395) 2023-12-02 11:48:10 +01:00
SecretPocketCat
801a78a4cf
Fix from_stream doc link to Stream (#2391) 2023-12-01 16:01:40 +01:00
Ethra
3c7cf81840
Add utility function to convert body into bytes (#2373)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-11-29 11:31:15 +01:00
Justin Sexton
f98bc1186a
Updated doc link versions to use more explicit 0.7 version. (#2379) 2023-11-29 09:31:17 +00: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
Justin Sexton
57c59170c0
Updated doc link versions from 0.6.x to 0.7. (#2378) 2023-11-29 08:44:32 +00:00
Yumin Wu
b13b9d2288
Remove unused imports in readme example (#2367) 2023-11-28 18:29:10 +01:00
Keita Nonaka
6dd5d0be9d
fix: back to forbid unsafe (#2365) 2023-11-28 12:00:57 +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
Joel Uckelman
c9477282e7
Clarify headers feature change in changelog (#2360) 2023-11-27 14:10:04 +00:00
David Pedersen
6641e93b0b
Mention updated dependencies in changelog (#2359) 2023-11-27 13:50:38 +01:00
David Pedersen
89bba9489a Note which crates in our public API are 1.0
So we know at least which other crates have to 1.0 before axum can be,
or which we have to remove from our public API.
2023-11-27 11:53:05 +01:00
David Pedersen
9d0e634285 Fix comment in testing example 2023-11-27 10:58:03 +01:00
David Pedersen
773bb5db69 axum 0.7.1
Forgot that the readme is shown on crates.io and don't want the
paragraph about "The main branch has unpublished, breaking changes".
2023-11-27 10:56:49 +01:00
David Pedersen
e63cc49f55
Update unix-domain-socket, listen-multiple-addrs, and testing examples (#2358) 2023-11-27 10:23:52 +01:00