Commit graph

1074 commits

Author SHA1 Message Date
tottoto
5793e75aac
Change tower-http to optional (#1838) 2023-03-10 17:23:50 +01:00
David Pedersen
5c11c5c44d Print prev_route_id in impl Debug for Router 2023-03-10 12:30:08 +01:00
David Pedersen
e56e1b3e69
Don't require S: Debug for impl Debug for Router<S> (#1836) 2023-03-10 11:14:40 +00:00
Jonas Platte
dc480f7b0e
Re-integrate examples into the root workspace (#1466)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-03-10 12:02:11 +01:00
Firstyear
e7eda0e416
Add low level OpenSSL example (#1828)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-03-10 08:51:45 +00:00
Moises-Herradon-Cueto
2c1dde7c07
Fix static-file-server example instructions (#1832)
Co-authored-by: MoisesPotato <28111500+MoisesPotato@users.noreply.github.com>
2023-03-10 09:51:22 +01:00
Jonas Platte
a26ddd1063
Improve debug_handler message for generic request-consuming extractors (#1826)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-03-10 08:51:03 +00:00
A-Walrus
1327a598ce
Hide debug_handler generated functions from docs (#1825) 2023-03-07 10:20:50 +00:00
Lorenzo Murarotto
132103b6c1
docs: add axum_typed_multipart to ECOSYSTEM.md (#1820) 2023-03-06 23:34:55 +01:00
Lopez Benjamin
b927b1ea6a
Add some of scotow's projects (#1816) 2023-03-05 18:19:34 +01:00
Alex Butler
f9f64a3ecd
Unpin itoa dependency (#1815) 2023-03-05 14:28:10 +01:00
cduvray
fd974cfa13
docs: Add jwt-authorizer to ECOSYSTEM.md (#1813) 2023-03-04 16:32:27 +01:00
David Pedersen
bc3c35ea5a
Release all the crates (#1812) 2023-03-03 18:16:24 +01:00
John Downey
db22b7309d
Remove remnants of spa feature (#1802)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-03-03 14:43:19 +00:00
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