Use tokio::sync::RwLock instead of std

This commit is contained in:
xmppftw xmppftw 2024-08-06 16:04:04 +02:00
commit ba6a7c4744
4 changed files with 15 additions and 3 deletions

View file

@ -4,7 +4,8 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
use std::sync::{Arc, RwLock};
use std::sync::Arc;
use tokio::sync::RwLock;
use tokio_xmpp::connect::ServerConnector;
use tokio_xmpp::{
jid::{BareJid, Jid},