Commit graph

1410 commits

Author SHA1 Message Date
Ingvar Stepanyan
fd96bce34d
Gracefully handle missing headers (#1810)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-03-03 15:35:49 +01:00
David Pedersen
5606ea3f9e
#[must_use] all the things! (#1809) 2023-03-03 14:12:35 +01:00
David Pedersen
5a58edac16
Fix routing issues when loading a Router via a dynamic library (#1806) 2023-03-03 13:23:53 +01:00
David Pedersen
6075be60ed
Wording tweak in #[debug_handler] docs (#1807) 2023-03-03 12:38:26 +01:00
Dan Handrea
e167cfc325
Implement Clone for CookieJar, PrivateCookieJar and SignedCookieJar (#1808) 2023-03-03 11:13:25 +00:00
David Pedersen
aa2cbf6920
Add axum_extra::extract::Multipart (#1692) 2023-03-03 10:15:09 +01:00
Jesper Josefsson
67befbca52
Document the fact that debug_handler doesn't work within impl blocks (#1800)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-03-03 09:57:50 +01:00
Jonas Platte
43883b8d9b
Replace weird doc paragraph by compiler-checked must_use attribute (#1801)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-03-03 08:54:38 +00:00
David Pedersen
416a0568d3
Add special handling of FromRequest extractors not being the last arg (#1797) 2023-03-03 09:44:10 +01:00
sharkspear94
73be489e03
Fixed small typo (#1804) 2023-03-03 09:43:24 +01:00
Rob
68bf8ed7fc
Update documentation for FailedToDeserializeQueryString response type (#1795) 2023-02-27 22:29:39 +00:00
Spencer Bartholomew
6067223fcc
update tokio dep to fix potential security vulnerability (#1787) 2023-02-27 18:40:03 +01:00
David Pedersen
08bac36519
Release axum and axum-extra (#1788) 2023-02-27 09:41:11 +01:00
David Pedersen
279a8e2bf0
Add example showing how to run axum on hyper 1.0 (#1791) 2023-02-26 19:05:12 +01:00
David Pedersen
1dc4b44472
Use JsonRejection::{status, body_text} in customize extractor error example (#1790) 2023-02-25 15:02:02 +01:00
Robin Stocker
37e2a7d5e7
docs: Clarify that state parameters need to come before body too (#1785) 2023-02-25 10:13:32 +00:00
David Pedersen
27f05ad32e
Remove SpaRouter (#1784) 2023-02-25 11:05:23 +01:00
David Pedersen
f726f16b6d
Update to tower-http 0.4 (#1783) 2023-02-24 20:51:30 +00:00
David Pedersen
6a4825bb22
Rename ProtoBuf to Protobuf (#1763)
Co-authored-by: Allan <al@ayz.ai>
2023-02-24 21:40:42 +01:00
David Pedersen
37478772bc
Release axum (#1782) 2023-02-24 14:22:47 +01:00
David Pedersen
2cbaa63d9e
Add KeepAlive::event (#1729) 2023-02-23 13:14:29 +00:00
Hugh Mandalidis
1f224396a2
Add shared mutable state documentation (#1759)
Co-authored-by: Vagelis Prokopiou <vagelis.prokopiou@gmail.com>
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-02-23 12:44:25 +00:00
Hugo
fa36b49769
Add hint for on further details for WebSocket (#1779) 2023-02-22 12:25:37 +00:00
David Pedersen
1e2567c39f
Fix missing Allow when middleware are applied to MethodRouter (#1773) 2023-02-20 22:54:44 +01:00
Rylee George
eb5db64a6f
Add deaftone to ECOSYSTEM.md (#1769) 2023-02-20 21:04:55 +01:00
David Pedersen
277be8f813
axum 0.6.7 (#1768) 2023-02-17 15:07:23 +01:00
David Pedersen
bea84d2141 Add missing things back to changelog 2023-02-17 14:25:03 +01:00
David Pedersen
143c415955
Add MockConnectInfo (#1767) 2023-02-17 13:09:29 +01:00
David Pedersen
cd86f7ec7a
Use 422 Unprocessable Entity for Form deserialization errors, except GET and HEAD requests (#1683) 2023-02-17 09:59:02 +01:00
David Pedersen
e6ff0281ae
Try cargo public-api-crates on CI (#1761) 2023-02-16 22:41:41 +01:00
David Pedersen
c18ff9dd63
Release axum, axum-extra, and axum-macros (#1750) 2023-02-12 12:40:42 +01:00
Jules Guesnon
67422bb1c2
Allow clone_on_copy for FromRef (#1749) 2023-02-12 12:16:53 +01:00
David Pedersen
c454e37a1c
Update to cookie 0.17 (#1747) 2023-02-12 08:26:37 +01:00
Jonas Platte
2c9d2dea0e
Upgrade dependencies (#1746) 2023-02-11 23:36:40 +00:00
David Pedersen
37922ab840
Add option_layer (#1696) 2023-02-11 23:11:21 +00:00
David Pedersen
0ecf5eeb19
Support passing MethodRouter to Router::fallback (#1730) 2023-02-11 23:11:55 +01:00
David Pedersen
b4204e223d
Add TypedPath::with_query_params (#1744) 2023-02-11 22:10:07 +00:00
Cole
5c58b4ffde
Avoid unnecessary clones of state in MethodRouter (#1745) 2023-02-11 21:44:48 +00:00
David Pedersen
93ecabf449
Release axum and axum-macros (#1743) 2023-02-11 22:32:16 +01:00
David Pedersen
827140f0d7
Document gotchas with impl IntoResponse (#1736) 2023-02-07 21:28:00 +00:00
David Pedersen
0a3b4b8e43 Ignore duplicate dependencies pulled in by windows-sys 2023-02-07 22:21:00 +01:00
David Pedersen
6e6aa8f39e Don't use impl IntoResponse in readme 2023-02-07 17:57:28 +01:00
Jonas Platte
19596584da Update trybuild output 2023-01-30 21:47:57 +01:00
Jonas Platte
bdfaedb344 Use call-site span for future Send check in debug_handler 2023-01-30 21:47:57 +01:00
David Pedersen
4a5dc4391c
Release axum and axum-macros (#1721) 2023-01-24 13:31:33 +01:00
David Pedersen
47be78e0b3
Use map_while (#1720) 2023-01-24 12:49:36 +01:00
David Pedersen
6ff6b36293
Release axum and axum-core (#1716) 2023-01-20 23:51:19 +01:00
David Pedersen
5b07296001
Add RawPathParams (#1713) 2023-01-20 20:37:01 +00:00
David Pedersen
96b7d78a3f
Document required tokio features for example (#1715) 2023-01-20 20:26:40 +00:00
David Pedersen
7a52161826
Implement Clone and Service for Next (#1712) 2023-01-20 21:19:01 +01:00