[package]
edition = "2024"
rust-version = "1.85"
name = "dns-sd-native"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async wrapper for native DNS-SD/mDNS stacks"
homepage = "https://github.com/bzld/dns-sd-native"
documentation = "https://docs.rs/dns-sd-native"
readme = "README.md"
keywords = [
"dns-sd",
"mdns",
"zeroconf",
"bonjour",
"avahi",
]
categories = ["network-programming"]
license = "MIT"
repository = "https://github.com/bzld/dns-sd-native"
[lib]
name = "dns_sd_native"
path = "src/lib.rs"
[[example]]
name = "register-service"
path = "examples/register-service.rs"
[dependencies.log]
version = "0.4.29"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tokio]
version = "1.52.3"
features = [
"rt",
"sync",
]
default-features = false
[dev-dependencies.clap]
version = "4.6.1"
features = ["derive"]
[dev-dependencies.env_logger]
version = "0.11.10"
[dev-dependencies.hex]
version = "0.4.3"
[dev-dependencies.network-interface]
version = "2"
[dev-dependencies.tokio]
version = "1.52.3"
features = [
"rt",
"macros",
"rt-multi-thread",
"time",
"signal",
]
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.futures-util]
version = "0.3.32"
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.zbus]
version = "5.15.0"
features = ["tokio"]
[target."cfg(windows)".dependencies.widestring]
version = "1.2.1"
[target."cfg(windows)".dependencies.windows]
version = "0.62"
features = [
"Win32_NetworkManagement_Dns",
"Win32_System_SystemInformation",
]
[target."cfg(windows)".dependencies.windows-strings]
version = "0.5.1"