libmdns is a pure rust implementation of the mDNS (RFC 6762) and DNS-SD (RFC 6763) protocols.
To use it, add this to your Cargo.toml
:
[dependencies]
libmdns = "0.4"
See the example for use within code.
Only the latest stable version of rust and cargo are officially supported for now. Please open an issue on GitHub if you need support for older versions.
libmdns is built with the help of the tokio runtime.
libmdns 0.4.x
(tokio=0.2
)libmdns 0.3.x
(tokio=0.1
)libmdns 0.2.x
(tokio-core=0.1
)
This project originally started as a fork of plietar/rust-mdns.