[package]
edition = "2024"
name = "hive-discovery"
version = "0.1.1"
authors = ["ChenZibo <qw.54@163.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hive Discovery is a lightweight service discovery library written in Rust, providing cross-platform network service discovery functionality with support for mDNS/DNS-SD protocols."
readme = "README_EN.md"
license = "Apache-2.0"
repository = "https://github.com/NHive/hive-discovery"
[lib]
name = "hive_discovery"
crate-type = ["rlib"]
path = "src/lib.rs"
[[example]]
name = "advanced"
path = "examples/advanced.rs"
[[example]]
name = "simple"
path = "examples/simple.rs"
[dependencies.log]
version = "0.4.26"
[dependencies.mdns-sd]
version = "0.13"
[dependencies.serde]
version = "1.0.130"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.140"
[dependencies.thiserror]
version = "2.0.12"
[dependencies.tokio]
version = "1"
features = ["full"]
[dev-dependencies.env_logger]
version = "0.11"