format imports
This commit is contained in:
parent
28c22ffad7
commit
b4caf4a98b
11
src/main.rs
11
src/main.rs
|
@ -1,14 +1,11 @@
|
||||||
use std::{
|
use std::{
|
||||||
fs::File,
|
fs::File,
|
||||||
io::{self, BufReader, BufWriter},
|
io::{self, BufReader, BufWriter},
|
||||||
|
path::PathBuf,
|
||||||
|
time::Duration,
|
||||||
};
|
};
|
||||||
use std::{path::PathBuf, time::Duration};
|
|
||||||
|
|
||||||
use clap::Clap;
|
use clap::Clap;
|
||||||
|
|
||||||
use tokio::time::sleep;
|
|
||||||
use url::Url;
|
|
||||||
|
|
||||||
use matrix_sdk::{
|
use matrix_sdk::{
|
||||||
self, async_trait,
|
self, async_trait,
|
||||||
events::{
|
events::{
|
||||||
|
@ -20,10 +17,10 @@ use matrix_sdk::{
|
||||||
},
|
},
|
||||||
Client, ClientConfig, EventEmitter, RoomState, Session, SyncSettings,
|
Client, ClientConfig, EventEmitter, RoomState, Session, SyncSettings,
|
||||||
};
|
};
|
||||||
|
|
||||||
use serde::Deserialize;
|
use serde::Deserialize;
|
||||||
|
|
||||||
use thiserror::Error;
|
use thiserror::Error;
|
||||||
|
use tokio::time::sleep;
|
||||||
|
use url::Url;
|
||||||
|
|
||||||
struct AutoJoinBot {
|
struct AutoJoinBot {
|
||||||
client: Client,
|
client: Client,
|
||||||
|
|
Loading…
Reference in a new issue