Commit Graph
1524 Commits
Author SHA1 Message Date
Jonas PlatteandGitHub 5cdd8a4f18 axum 0.8.0-rc.1 (#3073) axum-extra-v0.10.0-rc.1 axum-macros-v0.5.0-rc.1 axum-v0.8.0-rc.1 axum-core-v0.5.0-rc.1 2024-12-17 23:47:42 +01:00
Shikhar BhushanandGitHub c596deafe4 Remove unused nodelay field in Serve (#3076) 2024-12-12 22:05:41 -05:00
Felix B. BauseandYann Simon 2ba7c43647 Fix: documentation link to passing state 2024-12-11 15:22:37 +01:00
dayvejonesandGitHub da63c14467 examples: Upgrade bb8-postgres deps (#3072) 2024-12-09 22:36:47 -05:00
Jonas PlatteandGitHub ec75ee3827 Add a separate trait for optional extractors (#2475) 2024-12-10 02:54:59 +00:00
Hamir MahalandGitHub fd11d8efde Remove raw string hashes (#3071) 2024-12-08 20:49:09 -05:00
YanHeDokiandGitHub 7c871e9591 Add FileStream response to axum-extra (#3047) 2024-12-04 12:33:07 +00:00
Jonas PlatteandGitHub 99c07e4d86 Enable and fix warnings from clippy::uninlined_format_args (#3063) 2024-12-03 22:27:14 +01:00
Necdet Arda EtimanandYann Simon b5a0109221 Added axum-ws-broadcaster to ECOSYSTEM.md 2024-12-02 17:42:51 +01:00
Jonas PlatteandGitHub 9fab45af46 Make ConnectInfo work with ListenerExt::tap_io (#3059) 2024-12-02 07:36:50 +00:00
Jonas PlatteandGitHub 6d30c579e0 Remove multipart from axum-extra' default features (#3058) 2024-12-01 11:44:54 +01:00
Jonas PlatteandGitHub f6379558e6 Clean up axum-extra'a new error-response feature (#3057) 2024-12-01 11:44:43 +01:00
84c3960639 Make serve generic over the listener and IO types (#2941)
Co-authored-by: David Pedersen <[email protected]>
2024-11-30 23:47:13 +01:00
Jonas PlatteandGitHub d84136e1e4 Centralize lint configuration (#3055) 2024-11-30 16:53:48 +01:00
ClaasandGitHub 2eaed0badc Fix PrivateCookieJar documentation example comments (#3053) 2024-11-28 23:00:14 +00:00
Jonas PlatteandGitHub c7aa6454e7 Fix new clippy lints (#3054) 2024-11-28 23:53:20 +01:00
Jonas PlatteandGitHub 11806fbc61 Disallow nesting at the root of the router (#3051) 2024-11-26 20:59:40 +01:00
Jonas PlatteandGitHub fb1b8f1a55 Remove unused import in trybuild test (#3050) 2024-11-26 20:47:43 +01:00
Jonas PlatteandGitHub 9ddb25f089 Re-format trybuild tests (#3049) 2024-11-26 18:04:01 +00:00
Jonas PlatteandGitHub f1c79a459b Simplify todos_index in todos example (#3048) 2024-11-26 18:56:29 +01:00
joeydewaalandGitHub 69a89c00e7 Add Attachment type in features documentation (#3046) 2024-11-24 01:02:05 +01:00
Jonas PlatteandGitHub 9517decf2f Don't panic when array type is used for path segment (#3039) 2024-11-19 20:57:30 +00:00
7e59625778 Implement CSRF token verification for OAuth example (#2534)
Co-authored-by: Logan Nielsen <[email protected]>
Co-authored-by: Logan Nielsen <[email protected]>
2024-11-17 22:27:54 +01:00
dc5c202c5f Add shorthand way to return non-IntoResponse errors (#3010)
Co-authored-by: Jonas Platte <[email protected]>
2024-11-17 22:12:45 +01:00
Tobias BieniekandGitHub 9ec18b9a5d axum: Add content-length header assertions to middleware_adding_body test (#3033) 2024-11-16 23:41:27 +01:00
Jonas Platte 17016d6dd6 Merge branch 'v0.7.x' into jplatte/merge-v0.7.x 2024-11-16 17:12:32 +01:00
Jonas Platte 9983bc1da4 Bump versions axum-extra-v0.9.6 axum-v0.7.9 2024-11-16 17:10:03 +01:00
Tobias BieniekandJonas Platte a8ce6fa030 axum-extra: Add links to features table (#3030) 2024-11-16 17:07:38 +01:00
Sabrina JewsonandGitHub ce3d42947e fix: Avoid setting content-length before middleware (#3031) 2024-11-16 16:50:25 +01:00
David MládekandJonas Platte 893bb75e3b CI: allow pin-project-lite in public dependencies (#3020) 2024-11-16 16:25:41 +01:00
Tobias BieniekandGitHub f09e7fba9d axum-extra: Add links to features table (#3030) 2024-11-16 11:14:51 +01:00
Jonas Platte dee0985dfb Merge branch 'v0.7.x' into jplatte/merge-v0.7.8 2024-11-14 23:24:29 +01:00
Jonas Platte feee742ca1 Bump versions axum-v0.7.8 axum-extra-v0.9.5 2024-11-14 23:13:41 +01:00
Jonas Platte da4580247a Some documentation fixes (#3027) 2024-11-14 23:01:27 +01:00
8bc326cc3d Improve docs regarding state and extensions (#2991)
Co-authored-by: David Mládek <[email protected]>
2024-11-14 23:00:51 +01:00
b30cdcfbea Remove unneeded macro usage (#2995)
Co-authored-by: Benjamin Sparks <[email protected]>
2024-11-14 23:00:25 +01:00
JanandJonas Platte 185804398f fix(sse): skip sse incompatible chars of serde_json::RawValue (#2992) 2024-11-14 22:59:56 +01:00
43814c174f Fix TSR redirecting to top-level inside nested Router (#2993)
Co-authored-by: David Mládek <[email protected]>
2024-11-14 22:58:54 +01:00
David MládekandJonas Platte eb6bea38d0 chore: fix new clippy lint (#2994) 2024-11-14 22:57:29 +01:00
FlamencoandJonas Platte 8d7eada034 Update middleware.md (#2967) 2024-11-14 22:57:16 +01:00
David MládekandJonas Platte a7b7d56cfb Update changelog (#2985) 2024-11-14 22:55:11 +01:00
Leon LuxandJonas Platte c5a3c66a27 Add method_not_allowed_fallback to router (#2903)
Co-authored-by: Jonas Platte <[email protected]>
2024-11-14 22:53:41 +01:00
Jonas Platte a59a82c2af Replace Router::{map_inner, tap_inner_mut} by macros (#2954) 2024-11-14 22:53:35 +01:00
oxalicaandJonas Platte dcb4af68de Add struct NoContent as a self-described shortcut (#2978) 2024-11-14 22:44:01 +01:00
novacrazyandJonas Platte 236781cfdc Avoid cloning the uri/path 2024-11-14 22:42:06 +01:00
novacrazyandJonas Platte c417a28142 Avoid cloning the state in layer 2024-11-14 22:39:32 +01:00
Yann SimonandJonas Platte 296dfe1a40 Add test to cover state cloning in layer 2024-11-14 22:35:30 +01:00
novacrazyandJonas Platte 092719c217 Remove one clone 2024-11-14 22:34:06 +01:00
Yann SimonandJonas Platte e66be09d59 Cover clone in fallback with tests 2024-11-14 22:30:58 +01:00
novacrazyandJonas Platte 0d4e224cae Avoid one state clone
This is an extraction of a part of https://github.com/tokio-rs/axum/pull/2865
2024-11-14 22:17:24 +01:00