Skip to content

Commit c6a561b

Browse files
committed
Remove bluez-async dependency
Not needed after updated MSRV
1 parent e28f13c commit c6a561b

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

Cargo.toml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ license = "GPL-3.0"
1212
version = "0.1.8"
1313
rust-version = "1.85"
1414
edition = "2021"
15+
resolver = "3"
1516

1617
[lib]
1718
doctest = false
@@ -22,7 +23,7 @@ gen = ["dep:prost-build", "dep:protoc-bin-vendored", "dep:walkdir"]
2223

2324
serde = ["dep:serde", "dep:serde_json"]
2425
ts-gen = ["serde", "dep:specta", "dep:specta-typescript"]
25-
bluetooth-le = ["dep:uuid", "dep:btleplug", "dep:futures", "dep:bluez-async"]
26+
bluetooth-le = ["dep:uuid", "dep:btleplug", "dep:futures"]
2627
tokio = ["dep:tokio", "dep:tokio-serial", "dep:tokio-util"]
2728
strum = ["dep:strum"]
2829

@@ -77,12 +78,6 @@ btleplug = { version = "0.11.7", optional = true, features = ["serde"] }
7778
futures = { version = "0.3.31", optional = true }
7879
strum = { version = "0.28", optional = true, features = ["derive"] }
7980

80-
#TODO: drop pinning of the bluez-async version once we move the MSRV to 1.84 and we can use
81-
#MSRV-aware resolver instead of this hack. See
82-
#https://blog.rust-lang.org/2025/01/09/Rust-1.84.0/#cargo-considers-rust-versions-for-dependency-version-selection
83-
[target.'cfg(target_os = "linux")'.dependencies]
84-
bluez-async = { version = "=0.8.0", optional = true }
85-
8681
[dev-dependencies]
8782
fern = { version = "0.7.1", features = ["colored"] }
8883
humantime = "2.1.0"

0 commit comments

Comments
 (0)