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:
parent
efab7b251e
commit
8cc7a2c145
2 changed files with 2 additions and 4 deletions
|
@ -18,9 +18,8 @@ rustdoc-args = ["--cfg", "docsrs"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bytes = "1.0.1"
|
bytes = "1.0.1"
|
||||||
cookie = "0.16.1"
|
|
||||||
cookie_store = "0.19.0"
|
|
||||||
reqwest = { version = "0.11.3", default-features = false, features = ["cookies"] }
|
reqwest = { version = "0.11.3", default-features = false, features = ["cookies"] }
|
||||||
|
cookie_store = "^0.20"
|
||||||
url = "2.2.2"
|
url = "2.2.2"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|
|
@ -80,8 +80,7 @@ use std::{
|
||||||
};
|
};
|
||||||
|
|
||||||
use bytes::Bytes;
|
use bytes::Bytes;
|
||||||
use cookie::{Cookie as RawCookie, ParseError as RawCookieParseError};
|
pub use cookie_store::{CookieStore, RawCookie, RawCookieParseError};
|
||||||
pub use cookie_store::CookieStore;
|
|
||||||
use reqwest::header::HeaderValue;
|
use reqwest::header::HeaderValue;
|
||||||
use url;
|
use url;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue