From 18a91c938eb534a410a76137fbf114333ab38643 Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Tue, 10 Jul 2018 17:09:24 -0700 Subject: [PATCH] Reexport 'cookie::SameSite' from the http module. --- core/http/src/cookies.rs | 4 ++-- core/http/src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/http/src/cookies.rs b/core/http/src/cookies.rs index cba3663b..e9628e6f 100644 --- a/core/http/src/cookies.rs +++ b/core/http/src/cookies.rs @@ -1,8 +1,8 @@ use std::fmt; use std::cell::RefMut; -pub use cookie::{Cookie, Key, CookieJar}; -use cookie::{SameSite, Delta}; +use cookie::Delta; +pub use cookie::{Cookie, Key, CookieJar, SameSite}; use Header; diff --git a/core/http/src/lib.rs b/core/http/src/lib.rs index 8215bc21..c68d664c 100644 --- a/core/http/src/lib.rs +++ b/core/http/src/lib.rs @@ -57,7 +57,7 @@ pub use self::header::{Header, HeaderMap}; pub use self::raw_str::RawStr; pub use self::media_type::MediaType; -pub use self::cookies::{Cookie, Cookies}; +pub use self::cookies::{Cookie, SameSite, Cookies}; #[doc(hidden)] pub use self::cookies::{Key, CookieJar};