1
0
Fork 0
mirror of https://github.com/tokio-rs/axum.git synced 2025-01-27 18:29:06 +01:00
Commit graph

209 commits

Author SHA1 Message Date
David Pedersen
a63843d6c5
Release axum, axum-core, and axum-extra () 2021-12-02 20:02:38 +01:00
Kai Jewson
2b6dba49cb
Remove the associated Body type on IntoResponse () 2021-11-28 18:52:18 +01:00
David Pedersen
96b353b556
Add Cached extractor ()
* extra: Add `Cached` extractor

`Cached` wraps another extractor and caches its result in request
extensions.

* Use newtype to avoid overriding extensions of the same type

* Rename type param
2021-11-25 10:14:31 +00:00
Pure White
5a5800c1ae
feat: default to charset=utf-8 for text content type ()
* feat: default to charset=utf-8 for text content type

* added changelog && fix comment

* fix workflow
2021-11-25 08:31:30 +00:00
Jonas Platte
69fee5864d
Use .to_owned() instead of .to_string() to turn &str into String () 2021-11-19 22:15:47 +00:00
David Pedersen
ab9f1ef993
Change how Resources are added to Routers () 2021-11-19 21:59:07 +01:00
David Pedersen
f9a437d081
Add Resource to axum-extra () 2021-11-17 22:31:43 +00:00
Jonas Platte
b43b9ed69d
Add axum_extra::response::ErasedJson () 2021-11-17 22:54:02 +01:00
David Pedersen
a16ea65031
Add axum-extra crate ()
* Add `axum-extra` crate

Empty for now but now we have a place to put stuff.

I'll make a PR for moving over https://github.com/davidpdrsn/axum-resource.

* remove `authors` field from `Cargo.toml`s
2021-11-17 20:00:32 +00:00