Update dependencies
This commit is contained in:
parent
1c0f73b6b0
commit
5b9648271c
3 changed files with 10 additions and 7 deletions
|
|
@ -16,6 +16,9 @@ Procedure when bumping the version number:
|
|||
### Added
|
||||
- `euphoxide::connect`
|
||||
|
||||
### Changed
|
||||
- Updated dependencies in backwards-incompatible way
|
||||
|
||||
## v0.1.0 - 2022-10-23
|
||||
|
||||
Initial release
|
||||
|
|
|
|||
12
Cargo.toml
12
Cargo.toml
|
|
@ -4,10 +4,10 @@ version = "0.1.0"
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
serde = { version = "1.0.147", features = ["derive"] }
|
||||
serde_json = "1.0.87"
|
||||
time = { version = "0.3.15", features = ["serde"] }
|
||||
tokio = { version = "1.21.2", features = ["time", "sync", "macros", "rt"] }
|
||||
serde = { version = "1.0.149", features = ["derive"] }
|
||||
serde_json = "1.0.89"
|
||||
time = { version = "0.3.17", features = ["serde"] }
|
||||
tokio = { version = "1.23.0", features = ["time", "sync", "macros", "rt"] }
|
||||
|
||||
[dependencies.futures]
|
||||
version = "0.3.25"
|
||||
|
|
@ -15,8 +15,8 @@ default-features = false
|
|||
features = ["std"]
|
||||
|
||||
[dependencies.tokio-tungstenite]
|
||||
version = "0.17.2"
|
||||
version = "0.18.0"
|
||||
features = ["rustls-tls-native-roots"]
|
||||
|
||||
[dev-dependencies] # For example bot
|
||||
tokio = { version = "1.21.2", features = ["rt-multi-thread"] }
|
||||
tokio = { version = "1.23.0", features = ["rt-multi-thread"] }
|
||||
|
|
|
|||
|
|
@ -575,7 +575,7 @@ pub async fn connect(
|
|||
}
|
||||
|
||||
let (ws, response) = tokio_tungstenite::connect_async(request).await?;
|
||||
let (mut parts, ()) = response.into_parts();
|
||||
let (mut parts, _) = response.into_parts();
|
||||
let set_cookies = match parts.headers.entry(header::SET_COOKIE) {
|
||||
header::Entry::Occupied(entry) => entry.remove_entry_mult().1.collect(),
|
||||
header::Entry::Vacant(_) => vec![],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue