rust-mdns is a pure rust implementation of the mDNS (RFC 6762) and DNS-SD (RFC 6763) protocols.
To use it, first add this to your Cargo.toml
:
[dependencies.mdns]
git = "https://github.com/plietar/rust-mdns"
Then, add this to your crate root:
extern crate mdns;