diff --git a/CHANGELOG.md b/CHANGELOG.md index a3f4048..9704ab8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/Cargo.toml b/Cargo.toml index d4c3339..abd16a6 100644 --- a/Cargo.toml +++ b/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"] } diff --git a/src/conn.rs b/src/conn.rs index 61ed72e..0f48779 100644 --- a/src/conn.rs +++ b/src/conn.rs @@ -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![],