Skip to content

Commit a5b4024

Browse files
committed
build: Update dependencies
1 parent 0fc1ace commit a5b4024

File tree

3 files changed

+28
-28
lines changed

3 files changed

+28
-28
lines changed

buttplug/Cargo.toml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -55,75 +55,75 @@ buttplug_derive = "0.8.1"
5555
# buttplug_derive = { path = "../buttplug_derive" }
5656
futures = "0.3.31"
5757
futures-util = "0.3.31"
58-
async-trait = "0.1.86"
59-
serde = { version = "1.0.217", features = ["derive"] }
60-
serde_json = "1.0.139"
61-
serde_repr = "0.1.19"
62-
uuid = { version = "1.13.2", features = ["serde"] }
58+
async-trait = "0.1.88"
59+
serde = { version = "1.0.219", features = ["derive"] }
60+
serde_json = "1.0.140"
61+
serde_repr = "0.1.20"
62+
uuid = { version = "1.16.0", features = ["serde"] }
6363
url = "2.5.4"
64-
btleplug = { version = "0.11.7", optional = true }
65-
# btleplug = { path = "../../btleplug", optional = true}
64+
# btleplug = { version = "0.11.7", optional = true }
65+
btleplug = { path = "../../btleplug", optional = true}
6666
# btleplug = { git = 'https://github.com/deviceplug/btleplug', branch = 'master', optional = true }
6767
strum_macros = "0.27.1"
6868
strum = "0.27.1"
69-
once_cell = "1.20.3"
69+
once_cell = "1.21.3"
7070
paste = "1.0.15"
7171
lazy_static = "1.5.0"
7272
byteorder = "1.5.0"
73-
thiserror = "2.0.11"
73+
thiserror = "2.0.12"
7474
cfg-if = "1.0.0"
7575
tracing = "0.1.41"
7676
tracing-futures = "0.2.5"
7777
tracing-subscriber = { version = "0.3.19", features = ["json"] }
7878
dashmap = { version = "6.1.0", features = ["serde"] }
7979
displaydoc = "0.2.5"
80-
tokio = { version = "1.43.0", features = ["sync", "macros", "io-util"] }
80+
tokio = { version = "1.44.2", features = ["sync", "macros", "io-util"] }
8181
async-stream = "0.3.6"
8282
prost = "0.13.5"
83-
tokio-util = "0.7.13"
84-
reqwest = { version = "0.12.12", default-features = false, optional = true, features = ["rustls-tls"] }
83+
tokio-util = "0.7.14"
84+
reqwest = { version = "0.12.15", default-features = false, optional = true, features = ["rustls-tls"] }
8585
serde-aux = "4.6.0"
86-
getset = "0.1.4"
86+
getset = "0.1.5"
8787
os_info = "3.10.0"
8888
ahash = "0.8.11"
89-
jsonschema = { version = "0.29.0", default-features = false }
89+
jsonschema = { version = "0.30.0", default-features = false }
9090
derivative = "2.2.0"
9191
tokio-stream = "0.1.17"
9292
instant = "0.1.13"
9393
regex = "1.11.1"
9494
tokio-tungstenite = { version = "0.26.2", features = ["rustls-tls-webpki-roots", "url"], optional = true }
95-
rustls = { version = "0.23.23", optional = true, default-features = false, features = ["ring"]}
95+
rustls = { version = "0.23.26", optional = true, default-features = false, features = ["ring"]}
9696
aes = { version = "0.8.4" }
9797
ecb = { version = "0.1.2", features = ["std"] }
98-
rand = { version = "0.8.5" }
98+
rand = { version = "0.9.1" }
9999
sha2 = { version = "0.10.8", features = ["std"] }
100100
# Used by several packages, but we need to bring in the JS feature for wasm. Pinned at 0.2 until dependencies update
101-
getrandom = { version = "0.2", features = ["js"] }
101+
getrandom = { version = "0.3.2", features = ["wasm_js"] }
102102

103103
[dev-dependencies]
104104
serde_yaml = "0.9.34"
105105
test-case = "3.3.1"
106-
tokio = { version = "1.43.0", features = ["io-std", "rt"] }
106+
tokio = { version = "1.44.2", features = ["io-std", "rt"] }
107107
tracing-log = { version = "0.2.0" }
108108
tokio-test = "0.4.4"
109109

110110
[build-dependencies]
111-
prost-build = "0.13.4"
111+
prost-build = "0.13.5"
112112

113113
[target.'cfg(target_os = "windows")'.dependencies]
114114
rusty-xinput = "1.3.0"
115-
windows = { version = "0.59.0", features = ["Devices_Bluetooth", "Foundation"] }
116-
serialport = { version = "4.7.0", optional = true }
115+
windows = { version = "0.61.1", features = ["Devices_Bluetooth", "Foundation"] }
116+
serialport = { version = "4.7.1", optional = true }
117117
hidapi = { version = "2.6.3", default-features = false, features = ["windows-native"], optional = true }
118118

119119
[target.'cfg(target_os = "linux")'.dependencies]
120-
serialport = { version = "4.7.0", optional = true }
120+
serialport = { version = "4.7.1", optional = true }
121121
# Linux hidraw is needed here in order to work with the lovense dongle. libusb breaks it on linux.
122122
# Other platforms are not affected by the feature changes.
123123
hidapi = { version = "2.6.3", default-features = false, features = ["linux-static-hidraw"], optional = true }
124124

125125
[target.'cfg(target_os = "macos")'.dependencies]
126-
serialport = { version = "4.7.0", optional = true }
126+
serialport = { version = "4.7.1", optional = true }
127127
hidapi = { version = "2.6.3", default-features = false, features = ["macos-shared-device"], optional = true }
128128

129129
[target.wasm32-unknown-unknown.dependencies]

buttplug/src/server/device/protocol/vibcrafter.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ use ecb::cipher::block_padding::Pkcs7;
2727
use ecb::cipher::{BlockDecryptMut, BlockEncryptMut, KeyInit};
2828
use std::sync::Arc;
2929

30-
use rand::distributions::Alphanumeric;
31-
use rand::{thread_rng, Rng};
30+
use rand::distr::Alphanumeric;
31+
use rand::{rng, Rng};
3232
use regex::Regex;
3333
use sha2::{Digest, Sha256};
3434

@@ -70,7 +70,7 @@ impl ProtocolInitializer for VibCrafterInitializer {
7070
.subscribe(&HardwareSubscribeCmd::new(Endpoint::Rx))
7171
.await?;
7272

73-
let auth_str = thread_rng()
73+
let auth_str = rng()
7474
.sample_iter(&Alphanumeric)
7575
.take(6)
7676
.map(char::from)

buttplug_derive/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ edition = "2021"
1313
proc-macro = true
1414

1515
[dependencies]
16-
syn = "2.0.98"
17-
quote = "1.0.38"
16+
syn = "2.0.100"
17+
quote = "1.0.40"

0 commit comments

Comments
 (0)