feat: add mpris2-zbus for org.mpris.MediaPlayer2

This commit is contained in:
Michael Aaron Murphy 2023-02-01 17:42:52 +01:00
parent 4d8815361d
commit 945f80f036
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
21 changed files with 2203 additions and 0 deletions

17
mpris2/Cargo.toml Normal file
View file

@ -0,0 +1,17 @@
[package]
name = "mpris2-zbus"
description = "zbus-based bindings for MPRIS2 (Media Player Remote Interfacing Specification) on Linux"
version = "0.1.0"
edition = "2021"
license = "MPL-2.0"
[dependencies]
serde = { version = "1.0", features = ["derive"] }
thiserror = "1.0"
time = { version = "0.3", features = ["parsing"] }
zbus = "3.8.0"
zvariant = "3.10"
[dev-dependencies]
miette = { version = "4.3", features = ["fancy"] }
tokio = { version = "1", features = ["full"] }