run cargo fix for rust 2024 changes and rustfmt

Signed-off-by: June Clementine Strawberry <strawberry@puppygock.gay>
This commit is contained in:
June Clementine Strawberry 2025-02-23 01:17:45 -05:00
parent e97952b7f6
commit a1e1f40ded
No known key found for this signature in database
320 changed files with 2212 additions and 2039 deletions

View file

@ -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>>,