David Pedersen
1a78e093ed
Apply changelog changes from 0.6 branch to main ( #2353 )
2023-11-25 20:44:07 +01:00
David Pedersen
ff9764574c
Implement FromRequestParts
for Parts
and Extensions
( #2328 )
2023-11-23 11:30:23 +00:00
David Pedersen
43b14a5f02
Update to latest versions of hyper and http-body ( #1882 )
...
Co-authored-by: Michael Scofield <mscofield0@tutanota.com>
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2023-11-23 11:03:03 +00: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
Jonas Platte
e84d563b26
Improve documentation of axum::Form ( #2289 )
2023-10-26 06:37:19 +09: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
David Pedersen
449e4c1138
Add docsrs
feature to axum-core and axum-macros ( #2164 )
2023-09-16 19:47:49 +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
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
David Pedersen
4290955cf0
Add missing changes to changelog
2023-07-16 12:54:53 +02:00
二手掉包工程师
5503b3236b
Fix CI ( #2086 )
...
- Use exactly version 1.0.0-rc.3 of hyper
- Update expected output of UI tests
- Fix clippy lints
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
2023-07-13 16:53:22 +02:00
Alex Butler
26daec2b17
Update tokio-tungstenite to 0.19 ( #2021 )
...
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-06-23 00:03:30 +02:00
Alexander Jackson
68696b09b1
Allow unreachable code in #[debug_handler]
( #2014 )
...
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-06-22 21:51:52 +00:00
David Pedersen
877e3fe4de
Move TypedHeader
to axum-extra ( #1850 )
...
Co-authored-by: Michael Scofield <mscofield0@tutanota.com>
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2023-04-21 17:45:31 +02:00
David Pedersen
c97967252d
Add serve
function and remove Server
re-export ( #1868 )
2023-04-21 17:45:31 +02:00
David Pedersen
6703f8634c
Remove B
type param: Follow ups ( #1789 )
...
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
Co-authored-by: Michael Scofield <mscofield0@tutanota.com>
2023-04-21 17:45:31 +02:00
David Pedersen
4e4c29175f
Remove B
type param ( #1751 )
...
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
Co-authored-by: Michael Scofield <mscofield0@tutanota.com>
2023-04-21 17:45:31 +02:00
David Pedersen
39bb28130d
Enable println
warning ( #1929 )
2023-04-14 22:26:56 +02:00
David Pedersen
562fa206f0
Release axum, axum-extra, axum-macros ( #1875 )
2023-03-22 15:22:47 +01:00
David Pedersen
cfb5df7050
Give better error if generics are used with #[derive(FromRef)] ( #1874 )
2023-03-22 14:48:27 +01:00
David Pedersen
8e1eb8979f
Update to syn 2 ( #1862 )
2023-03-18 19:23:27 +00:00
David Pedersen
1133425d6b
Release axum, axum-macros, and axum-extra ( #1843 )
2023-03-13 11:00:13 +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
David Pedersen
bc3c35ea5a
Release all the crates ( #1812 )
2023-03-03 18:16:24 +01:00
David Pedersen
6075be60ed
Wording tweak in #[debug_handler]
docs ( #1807 )
2023-03-03 12:38:26 +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
David Pedersen
416a0568d3
Add special handling of FromRequest
extractors not being the last arg ( #1797 )
2023-03-03 09:44:10 +01: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
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
0ecf5eeb19
Support passing MethodRouter
to Router::fallback
( #1730 )
2023-02-11 23:11:55 +01:00
David Pedersen
93ecabf449
Release axum and axum-macros ( #1743 )
2023-02-11 22:32:16 +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
5b07296001
Add RawPathParams
( #1713 )
2023-01-20 20:37:01 +00:00
Jonas Platte
7ecf8bd6cf
Use implicit format-args captures where applicable ( #1709 )
2023-01-20 12:04:49 +01:00
David Pedersen
1be25d9496
Add internal macro to make tests of nest
easier to write ( #1694 )
2023-01-14 14:12:01 +00:00
valkyrie_pilot
e4c6d76bca
Implement IntoResponse
for [u8; N]
and &'static [u8; N]
( #1690 )
...
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-01-13 09:12:51 +00:00
David Pedersen
e3aaeb3cb7
Release axum, axum-core, and axum-macros ( #1688 )
2023-01-09 13:54:49 +01:00
Alexander Jackson
b6c282a2b7
Fix warnings for cloning references in generated code ( #1676 )
2023-01-05 11:50:02 +01:00
David Pedersen
1b6780cf6c
axum 0.6 and friends 🎉 ( #1570 )
...
* changelog
* bump versions
* reorder changelogs a bit
* Apply suggestions from code review
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
* Expand fallback inheritance
* Reword tsr
* Mention `parse-body-based-on-content-type` example
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2022-11-25 12:29:58 +00:00
David Pedersen
0b26411f39
Change Router::with_state
and impl Service for Router<()>
( #1552 )
...
* Implement `Service` for `Router<(), B>`
* wip
* wip
* fix some tests
* fix examples
* fix doc tests
* clean up docs
* changelog
* fix
* also call `with_state` when converting `MethodRouter` into a `MakeService`
* suggestions from review
2022-11-24 14:43:10 +00:00
Jonas Platte
8d2fb3618e
Remove unused imports from doctest ( #1551 )
2022-11-20 01:41:50 +01:00