diff --git a/Cargo.toml b/Cargo.toml index eb8c101..be9ef89 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ license = "ISC" name = "songbird" readme = "README.md" repository = "https://github.com/serenity-rs/songbird.git" -rust-version = "1.61" +rust-version = "1.68.2" version = "0.3.2" [dependencies] @@ -35,13 +35,13 @@ rusty_pool = { optional = true, version = "0.7" } serde = { version = "1", features = ["derive"] } serde-aux = { optional = true, version = "4"} serde_json = "1" -simd-json = { features = ["serde_impl"], optional = true, version = "0.8.0" } +simd-json = { features = ["serde_impl"], optional = true, version = "0.9" } socket2 = { optional = true, version = "0.5" } streamcatcher = { optional = true, version = "1" } symphonia = { default_features = false, optional = true, version = "0.5.2" } symphonia-core = { optional = true, version = "0.5.2" } tokio = { default-features = false, optional = true, version = "1.0" } -tokio-tungstenite = { optional = true, version = "0.18" } +tokio-tungstenite = { optional = true, version = "0.19" } tokio-util = { features = ["io"], optional = true, version = "0.7" } tracing = { version = "0.1", features = ["log"] } tracing-futures = "0.2" diff --git a/README.md b/README.md index 0f72e6b..b3225c4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![docs-badge][]][docs] [![next-docs-badge][]][next-docs] [![build badge]][build] [![guild-badge][]][guild] [![crates.io version]][crates.io link] [![rust 1.61.0+ badge]][rust 1.61.0+ link] +[![docs-badge][]][docs] [![next-docs-badge][]][next-docs] [![build badge]][build] [![guild-badge][]][guild] [![crates.io version]][crates.io link] [![rust badge]][rust link] # Songbird @@ -94,5 +94,5 @@ Songbird's logo is based upon the copyright-free image ["Black-Capped Chickadee" [crates.io link]: https://crates.io/crates/songbird [crates.io version]: https://img.shields.io/crates/v/songbird.svg?style=flat-square -[rust 1.61.0+ badge]: https://img.shields.io/badge/rust-1.61.0+-93450a.svg?style=flat-square -[rust 1.61.0+ link]: https://blog.rust-lang.org/2022/05/19/Rust-1.61.0.html +[rust badge]: https://img.shields.io/badge/rust-1.68.2+-93450a.svg?style=flat-square +[rust link]: https://blog.rust-lang.org/2023/03/28/Rust-1.68.2.html diff --git a/src/ws.rs b/src/ws.rs index 4d987f7..24d523b 100644 --- a/src/ws.rs +++ b/src/ws.rs @@ -30,6 +30,7 @@ impl WsStream { max_send_queue: None, ..Default::default() }), + true, ) .await?;