Skip to content

Commit 6ca0583

Browse files
committed
fixup! add initial MPRIS support using zbus
1 parent 3aaa31c commit 6ca0583

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ passthrough-decoder = ["librespot-playback/passthrough-decoder"]
134134

135135
# MPRIS: Allow external tool to have access to playback
136136
# status, metadata and to control the player.
137-
with-mpris = ["dep:zbus", "dep:zvariant"]
137+
with-mpris = ["dep:zbus", "dep:zvariant", "dep:time"]
138138

139139
[lib]
140140
name = "librespot"
@@ -184,7 +184,7 @@ tokio = { version = "1", features = [
184184
"sync",
185185
"process",
186186
] }
187-
time = { version = "0.3", features = ["formatting"] }
187+
time = { version = "0.3", features = ["formatting"], optional = true }
188188
url = "2.2"
189189
zbus = { version = "5", default-features = false, features = ["tokio"], optional = true }
190190
zvariant = { version = "5", default-features = false, optional = true }

0 commit comments

Comments
 (0)