NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io, #4196 most downloaded on crates.io
mDNS Service Discovery library with no async runtime dependency
Latest stable
0.21.7
Last release 16 days ago
02 Nov 2026
Ships fairly regularly
a new release about every 2 weeks
Nearly every release is documented
notes for 59 of the last 60 stable releases
2 versions withdrawn
withdrawn after publishing
5 years old
86 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
Support updating instances after they are resolved by @keepsimple1 in https://github.com/keepsimple1/mdns-sd/pull/104
Full Changelog: https://github.com/keepsimple1/mdns-sd/compare/v0.7.2...v0.7.3
Internal refactoring: always use DnsCache to resolve Servive Instances. When processing incoming packets, we used to update the cache one record at a time and also build separate service info structs to resolve. Now we finish the cache updates first, and then resolve instances from the cache.
Added env_logger for the examples code and enhanced the examples as well.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
impl Display for TxtProperties by @keepsimple1 in https://github.com/keepsimple1/mdns-sd/pull/100
Full Changelog: https://github.com/keepsimple1/mdns-sd/compare/v0.7.1...v0.7.2
Highlights:
Implemented Display trait for TxtProperty: print using
key=value format, where value is same as .get_property_val_str().
Implemented Debug trait for TxtProperty: print using
a struct format, where value prints as a string if it is UTF-8, or
prints as hex if it is not UTF-8.
remove duplicated keys in received TXT record by @keepsimple1 in https://github.com/keepsimple1/mdns-sd/pull/98
Full Changelog: https://github.com/keepsimple1/mdns-sd/compare/v0.7.0...v0.7.1
Highlights:
check for proper characters in TXT keys by @keepsimple1 in https://github.com/keepsimple1/mdns-sd/pull/93
Full Changelog: https://github.com/keepsimple1/mdns-sd/compare/v0.6.1...v0.7.0
Breaking Changes:
Allow non-standard max length for a service name. The check for the length of a service name is moved to the daemon. If a service name is too long, there will be an error log and an error event sent to the monitors.
ServiceInfo.get_property_val() returns Option<Option<&[u8]>>
instead of Option<&str>. Now a new ServiceInfo.get_property_val_str()
returns Option<&str>.
In other words, migrate to get_property_val_str() if you don't
want to worry about non-UTF8 values.
Highlights:
ServiceDaemon.set_service_name_len_max() is added to support that.
Only use it when you really need to.no value for a TXT property, i.e. boolean keys.handle_response: process PTR type answers first by @keepsimple1 in https://github.com/keepsimple1/mdns-sd/pull/91
Full Changelog: https://github.com/keepsimple1/mdns-sd/compare/v0.6.0...v0.6.1
support host IP changes by @keepsimple1 in https://github.com/keepsimple1/mdns-sd/pull/81
get_properties and TxtProperties by @keepsimple1 in https://github.com/keepsimple1/mdns-sd/pull/88Full Changelog: https://github.com/keepsimple1/mdns-sd/compare/v0.5.10...v0.6.0
Breaking Changes:
ServiceInfo::new() takes IntoTxtProperties trait instead of a
HashMap of properties. It is also backward-compatiable: the trait
is implemented for HashMap and Option<HashMap>.ServiceInfo::get_properties() returns &TxtProperties instead of
a HashMap of properties. It is also mostly backward-compatiable:
support iter(), get() methods.Highlights:
ServiceInfo::enable_addr_auto(): automatically fill in IP
addresses for published services.ServiceDaemon::monitor() method to return a Receiver handle to
monitor the daemon events, such as IP changes.skip interfaces that failed to bind by @keepsimple1 in https://github.com/keepsimple1/mdns-sd/pull/79
Full Changelog: https://github.com/keepsimple1/mdns-sd/compare/v0.5.9...v0.5.10
update error msg for send_packet by @keepsimple1 in https://github.com/keepsimple1/mdns-sd/pull/69
Full Changelog: https://github.com/keepsimple1/mdns-sd/compare/v0.5.8...v0.5.9
call check_service_name before sending the cmd to the daemon. by @keepsimple1 in https://github.com/keepsimple1/mdns-sd/pull/60
Full Changelog: https://github.com/keepsimple1/mdns-sd/compare/v0.5.7...v0.5.8
Allow service names with trailing '.' by @dalepsmith in https://github.com/keepsimple1/mdns-sd/pull/56
Full Changelog: https://github.com/keepsimple1/mdns-sd/compare/v0.5.6...v0.5.7
handle join_multicast_v4 error gracefully by @keepsimple1 in https://github.com/keepsimple1/mdns-sd/pull/53
Full Changelog: https://github.com/keepsimple1/mdns-sd/compare/v0.5.5...v0.5.6
track IPv4 interfaces with sockets to support multiple LANs by @keepsimple1 in https://github.com/keepsimple1/mdns-sd/pull/48
Full Changelog: https://github.com/keepsimple1/mdns-sd/compare/v0.5.4...v0.5.5
move ServiceInfo and Error/Result out of lib.rs by @keepsimple1 in https://github.com/keepsimple1/mdns-sd/pull/39
Full Changelog: https://github.com/keepsimple1/mdns-sd/compare/v0.5.3...v0.5.4
Support subtypes by @lu-zero in https://github.com/keepsimple1/mdns-sd/pull/35
Full Changelog: https://github.com/keepsimple1/mdns-sd/compare/v0.5.2...v0.5.3
add support on Windows by @keepsimple1 in https://github.com/keepsimple1/mdns-sd/pull/19
Full Changelog: https://github.com/keepsimple1/mdns-sd/compare/v0.5.1...v0.5.2
License fix by @keepsimple1 in https://github.com/keepsimple1/mdns-sd/pull/26
Full Changelog: https://github.com/keepsimple1/mdns-sd/compare/v0.5.0...v0.5.1
ServiceInfo::new() returns a Result<>.
ServiceInfo::new() returns a Result<>.Full Changelog: https://github.com/keepsimple1/mdns-sd/compare/v0.4.3...v0.5.0
ServiceInfo::new() to return a Result<>.nix dependency to version 0.24.1.fix a bug in stop browse by @keepsimple1 in https://github.com/keepsimple1/mdns-sd/pull/16
Full Changelog: https://github.com/keepsimple1/mdns-sd/compare/v0.4.2...v0.4.3
support special meta-query of dns-sd by @keepsimple1 in https://github.com/keepsimple1/mdns-sd/pull/14
Full Changelog: https://github.com/keepsimple1/mdns-sd/compare/v0.4.1...v0.4.2
update more docs related to using flume by @keepsimple1 in https://github.com/keepsimple1/mdns-sd/pull/11
Full Changelog: https://github.com/keepsimple1/mdns-sd/compare/v0.4.0...v0.4.1
Use flume instead of crossbeam-channel by @lu-zero in https://github.com/keepsimple1/mdns-sd/pull/9
Full Changelog: https://github.com/keepsimple1/mdns-sd/compare/v0.3.0...v0.4.0
fix cache refresh and add metrics by @keepsimple1 in https://github.com/keepsimple1/mdns-sd/pull/7
Full Changelog: https://github.com/keepsimple1/mdns-sd/compare/v0.2.2...v0.3.0
Add example by @lu-zero in https://github.com/keepsimple1/mdns-sd/pull/5
Full Changelog: https://github.com/keepsimple1/mdns-sd/compare/v0.2.1...v0.2.2
Internal: mDNS daemon respond socket to be blocking for simpler send.
Internal: mDNS daemon respond socket to be blocking for simpler send.
Public API internally change to use unblocking try_send and set listening sockets to be unblocking.
Public API internally change to use unblocking try_send and set listening sockets to be unblocking.
Again in Error type to support retry.- Initial version
One column per quarter.