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

@ -6,7 +6,7 @@ mod unix;
use std::sync::Arc;
use axum_server::Handle as ServerHandle;
use conduwuit::{err, Result};
use conduwuit::{Result, err};
use conduwuit_service::Services;
use tokio::sync::broadcast;

View file

@ -1,11 +1,11 @@
use std::{
net::SocketAddr,
sync::{atomic::Ordering, Arc},
sync::{Arc, atomic::Ordering},
};
use axum::Router;
use axum_server::{bind, Handle as ServerHandle};
use conduwuit::{debug_info, info, Result, Server};
use axum_server::{Handle as ServerHandle, bind};
use conduwuit::{Result, Server, debug_info, info};
use tokio::task::JoinSet;
pub(super) async fn serve(

View file

@ -3,10 +3,10 @@ use std::{net::SocketAddr, sync::Arc};
use axum::Router;
use axum_server::Handle as ServerHandle;
use axum_server_dual_protocol::{
axum_server::{bind_rustls, tls_rustls::RustlsConfig},
ServerExt,
axum_server::{bind_rustls, tls_rustls::RustlsConfig},
};
use conduwuit::{err, Result, Server};
use conduwuit::{Result, Server, err};
use tokio::task::JoinSet;
use tracing::{debug, info, warn};

View file

@ -4,15 +4,15 @@ use std::{
net::{self, IpAddr, Ipv4Addr},
os::fd::AsRawFd,
path::Path,
sync::{atomic::Ordering, Arc},
sync::{Arc, atomic::Ordering},
};
use axum::{
extract::{connect_info::IntoMakeServiceWithConnectInfo, Request},
Router,
extract::{Request, connect_info::IntoMakeServiceWithConnectInfo},
};
use conduwuit::{
debug, debug_error, info, result::UnwrapInfallible, trace, warn, Err, Result, Server,
Err, Result, Server, debug, debug_error, info, result::UnwrapInfallible, trace, warn,
};
use hyper::{body::Incoming, service::service_fn};
use hyper_util::{
@ -21,10 +21,10 @@ use hyper_util::{
};
use tokio::{
fs,
net::{unix::SocketAddr, UnixListener, UnixStream},
net::{UnixListener, UnixStream, unix::SocketAddr},
sync::broadcast::{self},
task::JoinSet,
time::{sleep, Duration},
time::{Duration, sleep},
};
use tower::{Service, ServiceExt};