mpris-server 0.10.0

Implement MPRIS D-Bus interface in your application
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "mpris-server"
version = "0.10.0"
authors = ["Dave Patrick Caberto"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Implement MPRIS D-Bus interface in your application"
homepage = "https://github.com/SeaDve/mpris-server"
documentation = "https://docs.rs/mpris-server"
readme = "README.md"
keywords = [
    "mpris",
    "dbus",
]
categories = [
    "api-bindings",
    "multimedia",
    "os::unix-apis",
]
license = "MPL-2.0"
repository = "https://github.com/SeaDve/mpris-server"

[package.metadata.docs.rs]
features = [
    "unstable",
    "tokio",
]
rustc-args = [
    "--cfg",
    "docsrs",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
    "--generate-link-to-definition",
]

[features]
tokio = ["zbus/tokio"]
unstable = []

[lib]
name = "mpris_server"
path = "src/lib.rs"

[[example]]
name = "local_server"
path = "examples/local_server.rs"

[[example]]
name = "player"
path = "examples/player.rs"

[[example]]
name = "server"
path = "examples/server.rs"

[dependencies.async-channel]
version = "2.5"

[dependencies.futures-channel]
version = "0.3"

[dependencies.serde]
version = "1.0"

[dependencies.trait-variant]
version = "0.1.2"

[dependencies.zbus]
version = "5.14"

[dev-dependencies.async-std]
version = "1.13"
features = [
    "attributes",
    "unstable",
]

[dev-dependencies.static_assertions]
version = "1.1"