run cargo fix for rust 2024 changes and rustfmt
Signed-off-by: June Clementine Strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
e97952b7f6
commit
a1e1f40ded
320 changed files with 2212 additions and 2039 deletions
|
@ -4,14 +4,14 @@ mod registration_info;
|
|||
use std::{collections::BTreeMap, sync::Arc};
|
||||
|
||||
use async_trait::async_trait;
|
||||
use conduwuit::{err, utils::stream::TryIgnore, Result};
|
||||
use conduwuit::{Result, err, utils::stream::TryIgnore};
|
||||
use database::Map;
|
||||
use futures::{Future, StreamExt, TryStreamExt};
|
||||
use ruma::{api::appservice::Registration, RoomAliasId, RoomId, UserId};
|
||||
use ruma::{RoomAliasId, RoomId, UserId, api::appservice::Registration};
|
||||
use tokio::sync::RwLock;
|
||||
|
||||
pub use self::{namespace_regex::NamespaceRegex, registration_info::RegistrationInfo};
|
||||
use crate::{sending, Dep};
|
||||
use crate::{Dep, sending};
|
||||
|
||||
pub struct Service {
|
||||
registration_info: RwLock<BTreeMap<String, RegistrationInfo>>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue