refactor: remove unused features in minimal feature

This commit is contained in:
Ryan 2025-03-25 16:58:52 -04:00
parent 65c4654e72
commit 9ba79d462b
Signed by: ErrorNoInternet
GPG Key ID: 2486BFB7B1E6A4A3

View File

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