[package]
name = "dbus-router"
version = "0.4.0"
edition = "2021"
description = "A dual-upstream D-Bus router library"
license = "MIT"
repository = "https://github.com/loyalpartner/dbus-router"
keywords = ["dbus", "router", "ipc"]
categories = ["network-programming"]

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

[[bin]]
name = "dbus-router"
path = "src/bin/main.rs"

[dependencies]
tokio = { version = "1", features = ["rt-multi-thread", "net", "io-util", "macros", "sync"] }
anyhow = "1"
tracing = "0.1"
serde = { version = "1", features = ["derive"] }
toml = "0.8"
libc = "0.2"

# Only needed for the test binary
clap = { version = "4", features = ["derive"] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
