diff --git a/Cargo.toml b/Cargo.toml index 0239c98..f00b381 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,9 +18,8 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] bytes = "1.0.1" -cookie = "0.16.1" -cookie_store = "0.19.0" reqwest = { version = "0.11.3", default-features = false, features = ["cookies"] } +cookie_store = "^0.20" url = "2.2.2" [dev-dependencies] diff --git a/src/lib.rs b/src/lib.rs index 524070c..5aa7b36 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -80,8 +80,7 @@ use std::{ }; use bytes::Bytes; -use cookie::{Cookie as RawCookie, ParseError as RawCookieParseError}; -pub use cookie_store::CookieStore; +pub use cookie_store::{CookieStore, RawCookie, RawCookieParseError}; use reqwest::header::HeaderValue; use url;