refact: update to cookie_store 0.20

`cookie_store` now re-exports the `cookie` dependency, so remove explicit dependency from Cargo.toml and update `use` statements
This commit is contained in:
Patrick Fernie 2023-06-17 11:49:17 -04:00
parent efab7b251e
commit 8cc7a2c145
2 changed files with 2 additions and 4 deletions

View file

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

View file

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