Reexport 'cookie::SameSite' from the http module.

This commit is contained in:
Sergio Benitez 2018-07-10 17:09:24 -07:00
parent 5acb08a026
commit 18a91c938e
2 changed files with 3 additions and 3 deletions

View File

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

View File

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