fix some unused_crate_dependencies lint warns

Signed-off-by: June Strawberry <june@vern.cc>
This commit is contained in:
June Strawberry committed 2026-01-18 13:18:10 -05:00
1 parent 1b68588b84
commit 2f4d3c2851
9 files changed
+234 -198

No files matched your search

Generated
+222 -196
View File
File diff suppressed because it is too large. Load diff
+2
View File
@@ -24,6 +24,8 @@ pub(crate) use crate::{context::Context, utils::get_room_info};
pub(crate) const PAGE_SIZE: usize = 100;
use log as _;
tuwunel_core::mod_ctor! {}
tuwunel_core::mod_dtor! {}
tuwunel_core::rustc_flags_capture! {}
+1 -2
View File
@@ -74,7 +74,6 @@ zstd_compression = [
]
[dependencies]
async-trait.workspace = true
axum-client-ip.workspace = true
axum-extra.workspace = true
axum.workspace = true
@@ -87,7 +86,7 @@ hmac.workspace = true
http.workspace = true
http-body-util.workspace = true
hyper.workspace = true
ipaddress.workspace = true
itertools.workspace = true
log.workspace = true
rand.workspace = true
reqwest.workspace = true
+2
View File
@@ -5,6 +5,8 @@ pub mod client;
pub mod router;
pub mod server;
use log as _;
pub(crate) use self::router::{Ruma, RumaResponse, State};
tuwunel_core::mod_ctor! {}
+2
View File
@@ -36,6 +36,8 @@ rustc_flags_capture! {}
#[cfg(any(not(tuwunel_mods), not(feature = "tuwunel_mods")))]
pub mod mods {
use log as _;
#[macro_export]
macro_rules! mod_ctor {
() => {};
+1
View File
@@ -23,6 +23,7 @@ pub(crate) mod util;
use std::{ops::Index, sync::Arc};
use log as _;
use tuwunel_core::{Result, Server, err};
pub use self::{
+1
View File
@@ -11,6 +11,7 @@ pub mod signals;
use std::sync::Arc;
use log as _;
use tuwunel_core::{Result, debug_info, error, mod_ctor, mod_dtor, rustc_flags_capture};
use tuwunel_service::Services;
+1
View File
@@ -9,6 +9,7 @@ mod serve;
use std::{panic::AssertUnwindSafe, pin::Pin, sync::Arc};
use futures::{Future, FutureExt, TryFutureExt};
use log as _;
use tuwunel_core::{Error, Result, Server};
use tuwunel_service::Services;
+2
View File
@@ -37,6 +37,8 @@ pub(crate) use service::{Args, Service};
pub(crate) type SelfServices = std::sync::Arc<OnceServices>;
use log as _;
pub use crate::services::Services;
tuwunel_core::mod_ctor! {}