fix some unused_crate_dependencies lint warns
Signed-off-by: June Strawberry <june@vern.cc>
This commit is contained in:
418
Cargo.lock
generated
418
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -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! {}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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! {}
|
||||
|
||||
@@ -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 {
|
||||
() => {};
|
||||
|
||||
@@ -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::{
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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! {}
|
||||
|
||||
Reference in New Issue
Block a user