diff --git a/Cargo.lock b/Cargo.lock index e704a06..7833d3f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1538,7 +1538,7 @@ dependencies = [ [[package]] name = "yrs-warp" -version = "0.8.0" +version = "0.9.0" dependencies = [ "bytes", "futures-util", diff --git a/Cargo.toml b/Cargo.toml index 5dbaa37..05b1697 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yrs-warp" -version = "0.8.0" +version = "0.9.0" edition = "2021" description = "Yrs synchronization protocol using Warp web sockets" license = "MIT" diff --git a/src/broadcast.rs b/src/broadcast.rs index 906f7ca..8f88c07 100644 --- a/src/broadcast.rs +++ b/src/broadcast.rs @@ -250,7 +250,7 @@ mod test { use std::pin::Pin; use std::sync::Arc; use std::task::{Context, Poll}; - use tokio::sync::{Mutex, RwLock}; + use tokio::sync::Mutex; use tokio_util::sync::PollSender; use yrs::sync::awareness::AwarenessUpdateEntry; use yrs::sync::{Awareness, AwarenessUpdate, Error, Message, SyncMessage}; diff --git a/src/ws.rs b/src/ws.rs index 8620db7..da254f8 100644 --- a/src/ws.rs +++ b/src/ws.rs @@ -232,7 +232,7 @@ mod test { use std::task::{Context, Poll}; use std::time::Duration; use tokio::net::TcpStream; - use tokio::sync::{Mutex, Notify, RwLock}; + use tokio::sync::{Mutex, Notify}; use tokio::task; use tokio::task::JoinHandle; use tokio::time::{sleep, timeout};