Use tokio::sync::RwLock instead of std
This commit is contained in:
parent
8aca413fc3
commit
ba6a7c4744
4 changed files with 15 additions and 3 deletions
|
|
@ -5,7 +5,8 @@
|
|||
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::sync::{Arc, RwLock};
|
||||
use std::sync::Arc;
|
||||
use tokio::sync::RwLock;
|
||||
use tokio_xmpp::connect::ServerConnector;
|
||||
pub use tokio_xmpp::parsers;
|
||||
use tokio_xmpp::parsers::{disco::DiscoInfoResult, message::MessageType};
|
||||
|
|
|
|||
Loading…
Reference in a new issue