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};