axum-extra: re-export the Expiration and SameSite structs from the cookie crate (#898)

This commit is contained in:
Paolo Barbolini
2022-04-01 10:46:43 +02:00
committed by GitHub
parent 1191b58083
commit 1b4c54c6e6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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.
///