Nick Price
934b1aac06
Grammar: Fix "it's" vs "its" in several places ( #2518 )
2024-01-15 21:48:11 +01: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
David Pedersen
cc611b8b24
Implement IntoResponse
for (R,) where R: IntoResponse
( #2143 )
2023-08-03 18:15:06 +00:00
Alexander van Ratingen
adb387a370
Implement IntoResponse
for boxed slices ( #2035 )
2023-06-26 11:14:28 +00:00
David Pedersen
173f9f72b0
Remove IntoResponse
for http-body types ( #1877 )
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
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
bf341fd034
Refactor all_the_tuples!
macros ( #1413 )
2022-09-25 15:22:40 +02:00
Jonas Platte
1812c4dfe8
Remove explicit TryFrom, TryInto imports ( #1099 )
2022-06-17 18:36:49 +00:00
David Pedersen
8dd6070574
Implement IntoResponse for (Parts | Request<()>, $(impl IntoResponseParts)+, impl IntoResponse)
( #980 )
...
* Implement `IntoResponse for (Parts | Request<()>, $(impl IntoResponseParts)+, impl IntoResponse)`
Fixes #979
* changelog
* docs
* changelog ref
2022-04-29 22:08:47 +02:00
Marcus Griep
6e1835074c
Implement IntoResponse
for Response<()>
and response::Parts
( #950 )
...
* feat(axum-core): add IntoResponse for `http::response` types
* chore: narrow impl to `Response<()>`
* include extensions
* changelog
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2022-04-29 17:52:21 +02:00
David Pedersen
5bb924b3a2
Implement IntoResponse
and IntoResponseParts
for http::Extensions
( #975 )
...
* Implement `IntoResponse` and `IntoResponseParts` for `http::Extensions`
Requires a new release of `http`.
* remove http patch
* changelog ref
2022-04-29 17:28:24 +02:00
David Pedersen
afcefb4a70
Add AppendHeaders
( #927 )
...
* Add `AppendHeaders`
* axum changelog
2022-04-17 23:14:04 +02:00
David Pedersen
5f54855b05
Remove IntoResponse
and IntoResponseParts
impls for Version
( #815 )
2022-03-02 13:07:16 +00:00
David Pedersen
84c725a1ae
Make IntoResponseParts
more flexible ( #813 )
...
* Make `IntoResponseParts` more flexible
* fix `impl<T> IntoResponseParts for TypedHeader<T>`
* fix
2022-03-02 11:41:14 +00:00
David Pedersen
f12ab072c5
Add IntoResponseParts
( #797 )
...
* Add `IntoResponseParts`
* docs
* Add test
* don't allow overriding body or response
* macroify impls
* re-order things a bit
* Fix tests
* Also allow overriding version
* Move things into separate modules
* docs
* clean up
* fix trybuild test
* remove churn
* simplify buliding response
* fixup test
* fix docs typo
* Use `HeaderValue::from_static`, might be faster
* Bring back `impl IntoResponse` in example
* Remove blanket impl to improve error message
* don't need to set `content-type`
* Apply suggestions from code review
Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
* changelog
Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
2022-02-28 23:04:33 +00:00