Skip to content

Commit fee1309

Browse files
committed
Clean up some dependencies
1 parent 26cf3b2 commit fee1309

9 files changed

Lines changed: 5 additions & 11 deletions

File tree

crates/buttplug_client_in_process/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,4 @@ log = "0.4.29"
4848
getset = "0.1.6"
4949
tokio = { version = "1.49.0", features = ["macros"] }
5050
dashmap = { version = "6.1.0" }
51-
tracing-futures = "0.2.5"
5251
tracing = "0.1.44"

crates/buttplug_server/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ tracing = "0.1.44"
3737
serde = { version = "1.0.228", features = ["derive"] }
3838
serde_json = "1.0.149"
3939
jsonschema = { version = "0.38.1", default-features = false }
40-
once_cell = "1.21.3"
4140
tokio-stream = "0.1.18"
4241
strum_macros = "0.27.2"
4342
strum = "0.27.2"

crates/buttplug_server/src/message/serializer/mod.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
// Licensed under the BSD 3-Clause license. See LICENSE file in the project root
66
// for full license information.
77

8+
use std::sync::OnceLock;
9+
810
use buttplug_core::{
911
errors::{ButtplugError, ButtplugHandshakeError, ButtplugMessageError},
1012
message::{
@@ -28,7 +30,6 @@ use buttplug_core::{
2830
},
2931
};
3032
use jsonschema::Validator;
31-
use once_cell::sync::OnceCell;
3233
use serde::Deserialize;
3334

3435
use super::{
@@ -69,14 +70,14 @@ impl ButtplugMessageFinalizer for RequestServerInfoVersion {
6970
}
7071

7172
pub struct ButtplugServerJSONSerializer {
72-
pub(super) message_version: OnceCell<message::ButtplugMessageSpecVersion>,
73+
pub(super) message_version: OnceLock<message::ButtplugMessageSpecVersion>,
7374
validator: Validator,
7475
}
7576

7677
impl Default for ButtplugServerJSONSerializer {
7778
fn default() -> Self {
7879
Self {
79-
message_version: OnceCell::new(),
80+
message_version: OnceLock::new(),
8081
validator: create_message_validator(),
8182
}
8283
}

crates/buttplug_tests/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ uuid = "1.20.0"
2222
futures = "0.3.31"
2323
tracing = "0.1.44"
2424
tracing-subscriber = "0.3.22"
25-
tracing-futures = "0.2.5"
2625
tokio-test = "0.4.5"
2726
serde = "1.0.228"
2827
async-trait = "0.1.89"

crates/buttplug_tests/tests/util/device_test/client/client_v2/client.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ use std::sync::{
4040
use thiserror::Error;
4141
use tokio::sync::{Mutex, broadcast, mpsc, mpsc::error::SendError};
4242
use tracing::{Level, Span, info_span, span};
43-
use tracing_futures::Instrument;
4443

4544
/// Result type used for public APIs.
4645
///

crates/buttplug_tests/tests/util/device_test/client/client_v2/device.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ use buttplug_server::message::{
4040
use futures::{Stream, future};
4141
use getset::Getters;
4242
use log::*;
43+
use tracing::Instrument;
4344
use std::{
4445
collections::HashMap,
4546
fmt,
@@ -49,7 +50,6 @@ use std::{
4950
},
5051
};
5152
use tokio::sync::{broadcast, mpsc};
52-
use tracing_futures::Instrument;
5353

5454
/// Enum for messages going to a [ButtplugClientDevice] instance.
5555
#[derive(Clone, Debug)]

crates/buttplug_tests/tests/util/device_test/client/client_v2/in_process_connector.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ use std::sync::{
2828
atomic::{AtomicBool, Ordering},
2929
};
3030
use tokio::sync::mpsc::{Sender, channel};
31-
use tracing_futures::Instrument;
3231

3332
#[derive(Default)]
3433
pub struct ButtplugInProcessClientConnectorBuilder {

crates/buttplug_tests/tests/util/device_test/client/client_v3/client.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ use std::sync::{
3939
use thiserror::Error;
4040
use tokio::sync::{Mutex, broadcast, mpsc};
4141
use tracing::info_span;
42-
use tracing_futures::Instrument;
4342

4443
/// Result type used for public APIs.
4544
///

crates/buttplug_tests/tests/util/device_test/client/client_v3/connector/in_process_connector.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ use std::sync::{
2828
atomic::{AtomicBool, Ordering},
2929
};
3030
use tokio::sync::mpsc::{Sender, channel};
31-
use tracing_futures::Instrument;
3231

3332
#[derive(Default)]
3433
pub struct ButtplugInProcessClientConnectorBuilder {

0 commit comments

Comments
 (0)