mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-26 00:56:27 +01:00
axum-extra: re-export the Expiration and SameSite structs from the cookie crate (#898)
This commit is contained in:
parent
1191b58083
commit
1b4c54c6e6
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning].
|
|||
|
||||
# Unreleased
|
||||
|
||||
- None.
|
||||
- **added:** Re-export `SameSite` and `Expiration` from the `cookie` crate.
|
||||
|
||||
# 0.2.0 (31. March, 2022)
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ use http::{
|
|||
};
|
||||
use std::{convert::Infallible, fmt, marker::PhantomData};
|
||||
|
||||
pub use cookie_lib::{Cookie, Key};
|
||||
pub use cookie_lib::{Cookie, Expiration, Key, SameSite};
|
||||
|
||||
/// Extractor that grabs cookies from the request and manages the jar.
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue