Add cookie management to axum-extra (#816)

* Cookie management

* fix feature

* Update axum-extra/src/extract/cookie.rs

Co-authored-by: Jonas Platte <[email protected]>

* add tests

* Apply suggestions from code review

Co-authored-by: Jonas Platte <[email protected]>

* less convoluted wording

* changelog

* Make the jars themselves implement `IntoResponseParts`

* dedup tests

* fix docs

Co-authored-by: Jonas Platte <[email protected]>
This commit is contained in:
David Pedersen
2022-03-04 10:53:36 +01:00
committed by GitHub
co-authored by Jonas Platte
parent ae22154979
commit f045f2356c
4 changed files with 540 additions and 0 deletions
+5
View File
@@ -1,5 +1,10 @@
//! Additional extractors.
mod cached;
#[cfg(feature = "cookie")]
pub mod cookie;
pub use self::cached::Cached;
#[cfg(feature = "cookie")]
pub use self::cookie::{CookieJar, SignedCookieJar};