zbus 5.1.1

API for D-Bus communication
Documentation
[[bench]]
harness = false
name = "benchmarks"
path = "benches/benchmarks.rs"

[dependencies.async-broadcast]
version = "0.7.0"

[dependencies.async-executor]
optional = true
version = "1.11.0"

[dependencies.async-fs]
optional = true
version = "2.1.2"

[dependencies.async-io]
optional = true
version = "2.3.2"

[dependencies.async-lock]
optional = true
version = "3.3.0"

[dependencies.async-process]
optional = true
version = "2.2.2"

[dependencies.async-task]
optional = true
version = "4.7.1"

[dependencies.async-trait]
version = "0.1.80"

[dependencies.blocking]
optional = true
version = "1.6.0"

[dependencies.enumflags2]
features = ["serde"]
version = "0.7.9"

[dependencies.event-listener]
version = "5.3.0"

[dependencies.futures-core]
version = "0.3.30"

[dependencies.futures-util]
default-features = false
features = ["sink", "std"]
version = "0.3.30"

[dependencies.hex]
version = "0.4.3"

[dependencies.ordered-stream]
version = "0.2"

[dependencies.rand]
optional = true
version = "0.8.5"

[dependencies.serde]
features = ["derive"]
version = "1.0.200"

[dependencies.serde_repr]
version = "0.1.19"

[dependencies.static_assertions]
version = "1.1.0"

[dependencies.tokio]
features = ["rt", "net", "time", "fs", "io-util", "process", "sync", "tracing"]
optional = true
version = "1.37.0"

[dependencies.tokio-vsock]
optional = true
version = "0.5"

[dependencies.tracing]
version = "0.1.40"

[dependencies.vsock]
optional = true
version = "0.5.0"

[dependencies.winnow]
version = "0.6"

[dependencies.xdg-home]
version = "1.1.0"

[dependencies.zbus_macros]
version = "=5.1.1"

[dependencies.zbus_names]
version = "4.0"

[dependencies.zvariant]
default-features = false
features = ["enumflags2"]
version = "5.0.0"

[dev-dependencies.criterion]
version = "0.5.1"

[dev-dependencies.doc-comment]
version = "0.3.3"

[dev-dependencies.futures-util]
version = "0.3.30"

[dev-dependencies.ntest]
version = "0.9.2"

[dev-dependencies.tempfile]
version = "3.10.1"

[dev-dependencies.test-log]
default-features = false
features = ["trace"]
version = "0.2.16"

[dev-dependencies.tokio]
features = ["macros", "rt-multi-thread", "fs", "io-util", "net", "sync", "time", "test-util"]
version = "1.37.0"

[dev-dependencies.tracing-subscriber]
default-features = false
features = ["env-filter", "fmt", "ansi"]
version = "0.3.18"

[dev-dependencies.zbus_xml]
version = "5.0.0"

[[example]]
name = "screen-brightness"
path = "examples/screen-brightness.rs"
required-features = ["blocking-api"]

[[example]]
name = "watch-systemd-jobs"
path = "examples/watch-systemd-jobs.rs"

[features]
async-io = ["dep:async-io", "async-executor", "async-task", "async-lock", "async-fs", "async-process", "blocking", "futures-util/io"]
blocking-api = ["zbus_macros/blocking-api"]
bus-impl = ["p2p"]
camino = ["zvariant/camino"]
chrono = ["zvariant/chrono"]
default = ["async-io", "blocking-api"]
heapless = ["zvariant/heapless"]
option-as-array = ["zvariant/option-as-array"]
p2p = ["dep:rand"]
serde_bytes = ["zvariant/serde_bytes"]
time = ["zvariant/time"]
tokio = ["dep:tokio"]
tokio-vsock = ["dep:tokio-vsock", "tokio"]
url = ["zvariant/url"]
uuid = ["zvariant/uuid"]
vsock = ["dep:vsock", "dep:async-io"]

[lib]
bench = false
name = "zbus"
path = "src/lib.rs"

[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(tokio_unstable)"]
level = "warn"
priority = 0

[package]
authors = ["Zeeshan Ali Khan <zeeshanak@gnome.org>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["os::unix-apis"]
description = "API for D-Bus communication"
edition = "2021"
keywords = ["D-Bus", "DBus", "IPC"]
license = "MIT"
name = "zbus"
readme = "README.md"
repository = "https://github.com/dbus2/zbus/"
rust-version = "1.80"
version = "5.1.1"

[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu"]

[target.'cfg(any(target_os = "macos", windows))'.dependencies.async-recursion]
version = "1.1.1"

[target."cfg(unix)".dependencies.nix]
default-features = false
features = ["socket", "uio", "user"]
version = "0.29"

[target."cfg(windows)".dependencies.uds_windows]
version = "1.1.0"

[target."cfg(windows)".dependencies.windows-sys]
features = ["Win32_Foundation", "Win32_Security_Authorization", "Win32_System_Memory", "Win32_Networking", "Win32_Networking_WinSock", "Win32_NetworkManagement", "Win32_NetworkManagement_IpHelper", "Win32_System_IO", "Win32_System_Threading"]
version = "0.59"

[[test]]
name = "basic"
path = "tests/basic.rs"

[[test]]
name = "e2e"
path = "tests/e2e.rs"

[[test]]
name = "issues"
path = "tests/issues.rs"

[[test]]
name = "uncached_propert"
path = "tests/uncached_propert.rs"

[[test]]
name = "unixexec"
path = "tests/unixexec.rs"