mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-17 00:00:16 +02:00
axum-extra: re-export the Expiration and SameSite structs from the cookie crate (#898)
This commit is contained in:
@@ -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.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user