libmdns 0.6.1

mDNS Responder library for building discoverable LAN services in Rust
Documentation

libmdns - Rust mDNS responder

libmdns is a pure rust implementation of the mDNS (RFC 6762) and DNS-SD (RFC 6763) protocols.

Built with the tokio async runtime, libmdns can run in a dedicated thread, or be spawned with an existing tokio Handle.

Usage

To use it, add this to your Cargo.toml:

[dependencies]
libmdns = "0.6"

See the example for use within code.

Dependencies

We hold no strong garantees of MSRV. However we strive to support the oldest practical compiler version for our current dependencies.

Please open an issue on GitHub if you need support for older compilers or different platforms.

libmdns is built with the help of the tokio runtime.

Current stable:

  • libmdns 0.6.x (tokio=1.x, currently tested with rustc>=1.46.0)

Maintenance mode:

  • libmdns 0.2.x (tokio-core=0.1, rustc>=1.40.0, used actively by librespot)

Unsupported:

  • libmdns 0.5.x (tokio=0.3, currently tested with rustc>=1.45.2)
  • libmdns 0.4.3 (tokio=0.2, currently tested with rustc>=1.40.0)
  • libmdns 0.3.x (tokio=0.1, currently tested with rustc>=1.40.0)

May compile fine on older versions of rust, but the minimum CI-tested version is listed as above.

Provenance Note

This project originally started as a fork of plietar/rust-mdns.