# 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 = "2018"
rust-version = "1.64"
name = "zbus"
version = "3.14.1"
authors = ["Zeeshan Ali Khan <zeeshanak@gnome.org>"]
description = "API for D-Bus communication"
readme = "README.md"
keywords = [
    "D-Bus",
    "DBus",
    "IPC",
]
categories = ["os::unix-apis"]
license = "MIT"
repository = "https://github.com/dbus2/zbus/"
resolver = "2"

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

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

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

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

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

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

[dependencies.async-recursion]
version = "1.0.0"

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

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

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

[dependencies.byteorder]
version = "1.4.3"

[dependencies.derivative]
version = "2.2"

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

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

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

[dependencies.futures-sink]
version = "0.3.25"

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

[dependencies.hex]
version = "0.4.3"

[dependencies.once_cell]
version = "1.4.0"

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

[dependencies.quick-xml]
version = "0.27.1"
features = [
    "serialize",
    "overlapped-lists",
]
optional = true

[dependencies.rand]
version = "0.8.5"

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

[dependencies.serde-xml-rs]
version = "0.4.1"
optional = true

[dependencies.serde_repr]
version = "0.1.9"

[dependencies.sha1]
version = "0.10.5"
features = ["std"]

[dependencies.static_assertions]
version = "1.1.0"

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

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

[dependencies.tracing]
version = "0.1.37"

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

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

[dependencies.zbus_macros]
version = "=3.14.1"

[dependencies.zbus_names]
version = "2.6"

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

[dev-dependencies.async-std]
version = "1.12.0"
features = ["attributes"]

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

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

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

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

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

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

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

[features]
async-io = [
    "dep:async-io",
    "async-executor",
    "async-task",
    "async-lock",
    "async-fs",
    "blocking",
    "futures-util/io",
]
chrono = ["zvariant/chrono"]
default = ["async-io"]
gvariant = ["zvariant/gvariant"]
time = ["zvariant/time"]
tokio = ["dep:tokio"]
tokio-vsock = [
    "dep:tokio-vsock",
    "tokio",
]
url = ["zvariant/url"]
uuid = ["zvariant/uuid"]
vsock = [
    "dep:vsock",
    "dep:async-io",
]
windows-gdbus = []
xml = ["serde-xml-rs"]

[target."cfg(target_os = \"macos\")".dependencies.async-process]
version = "1.7.0"

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

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

[target."cfg(windows)".dependencies.winapi]
version = "0.3"
features = [
    "handleapi",
    "iphlpapi",
    "memoryapi",
    "processthreadsapi",
    "sddl",
    "securitybaseapi",
    "synchapi",
    "tcpmib",
    "winbase",
    "winerror",
    "winsock2",
]
