# 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 = "2024"
name = "rtc-mdns"
version = "0.8.4"
authors = ["Rain Liu <yliu@webrtc.rs>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "RTC mDNS in Rust (sans-I/O)"
homepage = "https://webrtc.rs"
documentation = "https://docs.rs/rtc-mdns"
readme = false
keywords = [
    "sansio",
    "networking",
    "protocols",
]
categories = ["network-programming"]
license = "MIT/Apache-2.0"
repository = "https://github.com/webrtc-rs/rtc"
resolver = "2"

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

[[example]]
name = "mdns_query"
path = "examples/mdns_query.rs"

[[example]]
name = "mdns_server"
path = "examples/mdns_server.rs"

[[example]]
name = "mdns_server_query"
path = "examples/mdns_server_query.rs"

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

[dependencies.bytes]
version = "1.11.0"

[dependencies.log]
version = "0.4.29"

[dependencies.sansio]
version = "1"

[dependencies.shared]
version = "0.8.4"
features = ["ifaces"]
default-features = false
package = "rtc-shared"

[dependencies.socket2]
version = "0.5"
features = ["all"]

[dev-dependencies.chrono]
version = "0.4.43"

[dev-dependencies.clap]
version = "4.5.54"
features = ["derive"]

[dev-dependencies.env_logger]
version = "0.11.8"

[dev-dependencies.tokio]
version = "1.49.0"
features = ["full"]
