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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

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)

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.
///