From d5d29454d15d8767b2534ff12341ae6bb8d3f116 Mon Sep 17 00:00:00 2001 From: Kyle Machulis Date: Sat, 21 Dec 2024 14:49:59 -0800 Subject: [PATCH] chore: Remove unused use statements in prowand --- .../server/device/protocol/kiiroo_prowand.rs | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/buttplug/src/server/device/protocol/kiiroo_prowand.rs b/buttplug/src/server/device/protocol/kiiroo_prowand.rs index 406a37e6e..7ebe910a5 100644 --- a/buttplug/src/server/device/protocol/kiiroo_prowand.rs +++ b/buttplug/src/server/device/protocol/kiiroo_prowand.rs @@ -5,48 +5,34 @@ // Licensed under the BSD 3-Clause license. See LICENSE file in the project root // for full license information. -use super::fleshlight_launch_helper::calculate_speed; use crate::{ core::{ errors::ButtplugDeviceError, message::{ self, ButtplugDeviceMessage, - ButtplugServerDeviceMessage, Endpoint, SensorReadingV4, - SensorType, }, }, server::device::{ hardware::{ Hardware, HardwareCommand, - HardwareEvent, HardwareReadCmd, - HardwareSubscribeCmd, - HardwareUnsubscribeCmd, HardwareWriteCmd, }, protocol::{generic_protocol_setup, ProtocolHandler}, }, - util::{async_manager, stream::convert_broadcast_receiver_to_stream}, }; -use dashmap::DashSet; use futures::{ - future::{self, BoxFuture}, + future::BoxFuture, FutureExt, - StreamExt, }; use std::{ default::Default, - pin::Pin, - sync::{ - atomic::{AtomicU8, Ordering::SeqCst}, - Arc, - }, + sync::Arc, }; -use tokio::sync::broadcast; generic_protocol_setup!(KiirooProWand, "kiiroo-prowand");