refactor: remove unused features in minimal feature
This commit is contained in:
parent
65c4654e72
commit
9ba79d462b
@ -1,4 +1,4 @@
|
|||||||
use std::{net::SocketAddr, process::exit, time::Duration};
|
use std::{net::SocketAddr, process::exit};
|
||||||
|
|
||||||
use anyhow::{Context, Result};
|
use anyhow::{Context, Result};
|
||||||
use azalea::{
|
use azalea::{
|
||||||
@ -10,10 +10,10 @@ use hyper_util::rt::TokioIo;
|
|||||||
use log::{debug, error, info, trace};
|
use log::{debug, error, info, trace};
|
||||||
use mlua::{Error, Function, IntoLuaMulti, Table};
|
use mlua::{Error, Function, IntoLuaMulti, Table};
|
||||||
use ncr::utils::trim_header;
|
use ncr::utils::trim_header;
|
||||||
use tokio::{net::TcpListener, time::sleep};
|
use tokio::net::TcpListener;
|
||||||
|
|
||||||
#[cfg(feature = "matrix")]
|
#[cfg(feature = "matrix")]
|
||||||
use crate::matrix;
|
use {crate::matrix, std::time::Duration, tokio::time::sleep};
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
State,
|
State,
|
||||||
commands::CommandSource,
|
commands::CommandSource,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user