fix(deps): update rust crate mdns-sd to 0.22.0 #100

Open
renovate-bot wants to merge 1 commits from renovate/mdns-sd-0.x into main
pull from: renovate/mdns-sd-0.x
Collaborator

This PR contains the following updates:

Package Type Update Change
mdns-sd dependencies minor 0.21.6 → 0.22.0

Release Notes

keepsimple1/mdns-sd (mdns-sd)

v0.22.1

Compare Source

This release has bug fixes and one new feature.

New features

  • ServiceInfo::set_host_ttl() and set_other_ttl() are now public, for protocols
    that recommend a shorter TTL than the RFC 6762 defaults. The defaults are
    unchanged. (#​556)

Bug fixes / improvements

  • Don't leave the IPv4 mDNS group by an address that is no longer on the host. On
    macOS this dropped another interface's membership instead, so that interface
    silently stopped receiving IPv4 mDNS traffic (reported in #​557). (#​543)
  • Ignore unicast queries from sources that are not on the local link, as RFC 6762
    section 5.5 asks. Queries sent to the mDNS group are still answered whatever their
    source. (#​559, #​562, #​563)
  • Keep a renamed first label within 63 bytes. Before, a rename after a conflict could
    push a long name past the limit, and the renamed service was never sent. (#​554)
  • Keep escaped dots inside the first label when a name is changed after a conflict.
    Before, L\.A\.R\.A Hub was renamed to a different instance. (#​547)
  • Answer only questions of class IN or ANY. (#​553)

All changes

  • 97192af 2026-12-01 fix: check for off-link query sources in handle_query (#​563) (keepsimple1)
  • 6a7abfa 2026-12-01 use existing helper to detect link local IPv6 address (#​562) (keepsimple1)
  • 69153cb 2026-11-30 fix: ignore unicast queries from off-link sources (RFC 6762 section 5.5) (#​559) (Alix ANNERAUD)
  • 534eeb8 2026-11-27 feat: make ServiceInfo TTL setters public (#​556) (Po-Hsuan Lai)
  • 27f1214 2026-11-25 fix: keep renamed first labels within 63 bytes on the wire (#​554) (Sealdot)
  • 8af4679 2026-11-22 fix: don't leave the IPv4 mDNS group by a vanished address (#​543) (Will Buxton)
  • e5ee843 2026-11-21 test: send PTR goodbye via new_multicast_socket and remove _new_socket_bind (#​555) (keepsimple1)
  • 958b5a9 2026-11-21 Fix/question class matching (#​553) (ThankGod Ode)
  • ea547cd 2026-11-19 fix: keep escaped dots inside first label in name_change/hostname_change (fix #​546) (#​547) (Sealdot)

Thanks and welcome our new contributors @​WillBux, @​PoHsuanLai, @​AlixANNERAUD, @​thankgodode and @​aazf !

v0.22.0

Compare Source

Breaking changes

  • DaemonStatus::Running is now DaemonStatus::Running(RunningState). (#​524)
  • ServiceDaemon::new() and new_with_port() now return an error if neither the IPv4
    nor the IPv6 multicast socket can be bound, or if registering the sockets with the
    poller fails. Before, the daemon started anyway and status() reported Running.
    If only one socket fails (e.g. a host without IPv6), the daemon still runs. (#​524)
  • A service fullname read from the network now keeps its escapes, so it equals the
    registered fullname. For example, an instance named L.A.R.A Hub is now reported as
    L\.A\.R\.A Hub._lara._tcp.local. instead of L.A.R.A Hub._lara._tcp.local.. (#​540)
    Use the new instance_name_unescaped() to get the readable instance name. (#​552)

New features

  • RunningState reports the daemon's local setup as of the status() request: the
    bind state (and error) of the IPv4 and IPv6 sockets, and for each enabled interface
    its addresses and whether its multicast joins worked, with the error from the last
    failed attempt. Failed joins are retried at the next IP check. (#​524)
  • Add instance_name_unescaped(), which returns the instance name in a fullname with
    its escapes removed. For example, L\.A\.R\.A Hub._lara._tcp.local. gives
    L.A.R.A Hub. (#​552)

Bug fixes / improvements

  • Stop an endless hostname rename loop caused by our own answers looping back while a
    hostname probe is in progress (#​545). The daemon no longer answers with records that
    are still being probed, does not treat its own addresses as a conflict, moves all of
    a host's address records on a rename, and moves the affected services back to
    Probing so they are announced again under the new name. (#​548)
  • Answer questions for instance names with dots in a label. Labels read from packets
    now escape . and \, so they match the registered names. (#​540)
  • Preserve label boundaries in DNS name compression, so that names like L\.A.B.local.
    and L.A.B.local. are no longer compressed into each other. (#​542)
  • Don't let a known answer with a TTL above our own suppress our answer. Some queriers
    (e.g. Android 13) list a much larger TTL, which suppressed every answer and made them
    drop the service every 2 minutes. (#​539)

All changes

  • 1f7068e 2026-11-16 feat: add instance_name_unescaped() to get a readable instance name (#​552) (keepsimple1)
  • bebe19f 2026-11-14 fix: stop the hostname rename loop caused by our own answers (#​548) (keepsimple1)
  • 1d9aa6f 2026-11-14 fix: preserve label boundaries in DNS name compression (#​542) (Sealdot)
  • 4774fb9 2026-11-13 feat: report detailed state in DaemonStatus::Running (#​524) (keepsimple1)
  • 8eb02e5 2026-11-10 fix: escape dots and backslashes in labels read from packets (#​540) (meliodaff)
  • fc0c597 2026-11-03 fix: don't let a known answer with a TTL above ours suppress (#​539) (meliodaff)

Thanks and welcome our new contributors @​Sealdot and @​meliodaff !

v0.21.7

Compare Source

This is a bugfix release.

Bug fixes / improvements

  • Fix a race where a renamed service could skip probing. (#​506)
  • Fix query classification when the daemon runs on a custom port. Queries from the
    daemon's own port were treated as legacy unicast queries because the check was
    hard-coded to port 5353. (#​529)
  • Wake the daemon with mio::Waker instead of a loopback UDP signal socket. Sending a
    command no longer depends on ephemeral ports or the local UDP stack, and can no
    longer report an error after the command was already queued. (#​527)
  • Resolve Clippy warnings, including unused variables when the logging feature is
    off. (#​533)
  • Modernize CI workflow. (#​530)

All changes

  • 3beba87 2026-10-31 Modernize CI workflow (#​530) (oriel haim)
  • 0749b87 2026-10-29 test: skip operationally down interfaces in my_ip_interfaces() (#​535) (keepsimple1)
  • a590a7a 2026-10-26 fix: resolve Clippy warnings (#​533) (oriel haim)
  • 5e55075 2026-10-24 fix: reset next_send when a host rename restarts an SRV probe (#​506) (keepsimple1)
  • 1b84730 2026-10-23 CI: move macOS tests to macos-15, run test binaries as root (#​531) (keepsimple1)
  • a90c138 2026-10-23 Fix custom-port mDNS query classification (#​529) (oriel haim)
  • 36f92a4 2026-10-20 Wake the daemon poller with mio::Waker. (#​527) (oriel haim)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [mdns-sd](https://github.com/keepsimple1/mdns-sd) | dependencies | minor | `0.21.6` → `0.22.0` | --- ### Release Notes <details> <summary>keepsimple1/mdns-sd (mdns-sd)</summary> ### [`v0.22.1`](https://github.com/keepsimple1/mdns-sd/blob/HEAD/CHANGELOG.md#Version-0221-2026-12-01) [Compare Source](https://github.com/keepsimple1/mdns-sd/compare/v0.22.0...v0.22.1) This release has bug fixes and one new feature. #### New features - `ServiceInfo::set_host_ttl()` and `set_other_ttl()` are now public, for protocols that recommend a shorter TTL than the RFC 6762 defaults. The defaults are unchanged. ([#&#8203;556](https://github.com/keepsimple1/mdns-sd/issues/556)) #### Bug fixes / improvements - Don't leave the IPv4 mDNS group by an address that is no longer on the host. On macOS this dropped another interface's membership instead, so that interface silently stopped receiving IPv4 mDNS traffic (reported in [#&#8203;557](https://github.com/keepsimple1/mdns-sd/issues/557)). ([#&#8203;543](https://github.com/keepsimple1/mdns-sd/issues/543)) - Ignore unicast queries from sources that are not on the local link, as RFC 6762 section 5.5 asks. Queries sent to the mDNS group are still answered whatever their source. ([#&#8203;559](https://github.com/keepsimple1/mdns-sd/issues/559), [#&#8203;562](https://github.com/keepsimple1/mdns-sd/issues/562), [#&#8203;563](https://github.com/keepsimple1/mdns-sd/issues/563)) - Keep a renamed first label within 63 bytes. Before, a rename after a conflict could push a long name past the limit, and the renamed service was never sent. ([#&#8203;554](https://github.com/keepsimple1/mdns-sd/issues/554)) - Keep escaped dots inside the first label when a name is changed after a conflict. Before, `L\.A\.R\.A Hub` was renamed to a different instance. ([#&#8203;547](https://github.com/keepsimple1/mdns-sd/issues/547)) - Answer only questions of class `IN` or `ANY`. ([#&#8203;553](https://github.com/keepsimple1/mdns-sd/issues/553)) #### All changes - `97192af 2026-12-01` fix: check for off-link query sources in handle_query ([#&#8203;563](https://github.com/keepsimple1/mdns-sd/issues/563)) (keepsimple1) - `6a7abfa 2026-12-01` use existing helper to detect link local IPv6 address ([#&#8203;562](https://github.com/keepsimple1/mdns-sd/issues/562)) (keepsimple1) - `69153cb 2026-11-30` fix: ignore unicast queries from off-link sources (RFC 6762 section 5.5) ([#&#8203;559](https://github.com/keepsimple1/mdns-sd/issues/559)) (Alix ANNERAUD) - `534eeb8 2026-11-27` feat: make ServiceInfo TTL setters public ([#&#8203;556](https://github.com/keepsimple1/mdns-sd/issues/556)) (Po-Hsuan Lai) - `27f1214 2026-11-25` fix: keep renamed first labels within 63 bytes on the wire ([#&#8203;554](https://github.com/keepsimple1/mdns-sd/issues/554)) (Sealdot) - `8af4679 2026-11-22` fix: don't leave the IPv4 mDNS group by a vanished address ([#&#8203;543](https://github.com/keepsimple1/mdns-sd/issues/543)) (Will Buxton) - `e5ee843 2026-11-21` test: send PTR goodbye via new_multicast_socket and remove \_new_socket_bind ([#&#8203;555](https://github.com/keepsimple1/mdns-sd/issues/555)) (keepsimple1) - `958b5a9 2026-11-21` Fix/question class matching ([#&#8203;553](https://github.com/keepsimple1/mdns-sd/issues/553)) (ThankGod Ode) - `ea547cd 2026-11-19` fix: keep escaped dots inside first label in name_change/hostname_change (fix [#&#8203;546](https://github.com/keepsimple1/mdns-sd/issues/546)) ([#&#8203;547](https://github.com/keepsimple1/mdns-sd/issues/547)) (Sealdot) Thanks and welcome our new contributors [@&#8203;WillBux](https://github.com/WillBux), [@&#8203;PoHsuanLai](https://github.com/PoHsuanLai), [@&#8203;AlixANNERAUD](https://github.com/AlixANNERAUD), [@&#8203;thankgodode](https://github.com/thankgodode) and [@&#8203;aazf](https://github.com/aazf) ! ### [`v0.22.0`](https://github.com/keepsimple1/mdns-sd/blob/HEAD/CHANGELOG.md#Version-0220-2026-11-15) [Compare Source](https://github.com/keepsimple1/mdns-sd/compare/v0.21.7...v0.22.0) #### Breaking changes - `DaemonStatus::Running` is now `DaemonStatus::Running(RunningState)`. ([#&#8203;524](https://github.com/keepsimple1/mdns-sd/issues/524)) - `ServiceDaemon::new()` and `new_with_port()` now return an error if neither the IPv4 nor the IPv6 multicast socket can be bound, or if registering the sockets with the poller fails. Before, the daemon started anyway and `status()` reported `Running`. If only one socket fails (e.g. a host without IPv6), the daemon still runs. ([#&#8203;524](https://github.com/keepsimple1/mdns-sd/issues/524)) - A service fullname read from the network now keeps its escapes, so it equals the registered fullname. For example, an instance named `L.A.R.A Hub` is now reported as `L\.A\.R\.A Hub._lara._tcp.local.` instead of `L.A.R.A Hub._lara._tcp.local.`. ([#&#8203;540](https://github.com/keepsimple1/mdns-sd/issues/540)) Use the new `instance_name_unescaped()` to get the readable instance name. ([#&#8203;552](https://github.com/keepsimple1/mdns-sd/issues/552)) #### New features - `RunningState` reports the daemon's local setup as of the `status()` request: the bind state (and error) of the IPv4 and IPv6 sockets, and for each enabled interface its addresses and whether its multicast joins worked, with the error from the last failed attempt. Failed joins are retried at the next IP check. ([#&#8203;524](https://github.com/keepsimple1/mdns-sd/issues/524)) - Add `instance_name_unescaped()`, which returns the instance name in a fullname with its escapes removed. For example, `L\.A\.R\.A Hub._lara._tcp.local.` gives `L.A.R.A Hub`. ([#&#8203;552](https://github.com/keepsimple1/mdns-sd/issues/552)) #### Bug fixes / improvements - Stop an endless hostname rename loop caused by our own answers looping back while a hostname probe is in progress ([#&#8203;545](https://github.com/keepsimple1/mdns-sd/issues/545)). The daemon no longer answers with records that are still being probed, does not treat its own addresses as a conflict, moves all of a host's address records on a rename, and moves the affected services back to `Probing` so they are announced again under the new name. ([#&#8203;548](https://github.com/keepsimple1/mdns-sd/issues/548)) - Answer questions for instance names with dots in a label. Labels read from packets now escape `.` and `\`, so they match the registered names. ([#&#8203;540](https://github.com/keepsimple1/mdns-sd/issues/540)) - Preserve label boundaries in DNS name compression, so that names like `L\.A.B.local.` and `L.A.B.local.` are no longer compressed into each other. ([#&#8203;542](https://github.com/keepsimple1/mdns-sd/issues/542)) - Don't let a known answer with a TTL above our own suppress our answer. Some queriers (e.g. Android 13) list a much larger TTL, which suppressed every answer and made them drop the service every 2 minutes. ([#&#8203;539](https://github.com/keepsimple1/mdns-sd/issues/539)) #### All changes - `1f7068e 2026-11-16` feat: add instance_name_unescaped() to get a readable instance name ([#&#8203;552](https://github.com/keepsimple1/mdns-sd/issues/552)) (keepsimple1) - `bebe19f 2026-11-14` fix: stop the hostname rename loop caused by our own answers ([#&#8203;548](https://github.com/keepsimple1/mdns-sd/issues/548)) (keepsimple1) - `1d9aa6f 2026-11-14` fix: preserve label boundaries in DNS name compression ([#&#8203;542](https://github.com/keepsimple1/mdns-sd/issues/542)) (Sealdot) - `4774fb9 2026-11-13` feat: report detailed state in DaemonStatus::Running ([#&#8203;524](https://github.com/keepsimple1/mdns-sd/issues/524)) (keepsimple1) - `8eb02e5 2026-11-10` fix: escape dots and backslashes in labels read from packets ([#&#8203;540](https://github.com/keepsimple1/mdns-sd/issues/540)) (meliodaff) - `fc0c597 2026-11-03` fix: don't let a known answer with a TTL above ours suppress ([#&#8203;539](https://github.com/keepsimple1/mdns-sd/issues/539)) (meliodaff) Thanks and welcome our new contributors [@&#8203;Sealdot](https://github.com/Sealdot) and [@&#8203;meliodaff](https://github.com/meliodaff) ! ### [`v0.21.7`](https://github.com/keepsimple1/mdns-sd/blob/HEAD/CHANGELOG.md#Version-0217-2026-11-01) [Compare Source](https://github.com/keepsimple1/mdns-sd/compare/v0.21.6...v0.21.7) This is a bugfix release. #### Bug fixes / improvements - Fix a race where a renamed service could skip probing. ([#&#8203;506](https://github.com/keepsimple1/mdns-sd/issues/506)) - Fix query classification when the daemon runs on a custom port. Queries from the daemon's own port were treated as legacy unicast queries because the check was hard-coded to port 5353. ([#&#8203;529](https://github.com/keepsimple1/mdns-sd/issues/529)) - Wake the daemon with `mio::Waker` instead of a loopback UDP signal socket. Sending a command no longer depends on ephemeral ports or the local UDP stack, and can no longer report an error after the command was already queued. ([#&#8203;527](https://github.com/keepsimple1/mdns-sd/issues/527)) - Resolve Clippy warnings, including unused variables when the `logging` feature is off. ([#&#8203;533](https://github.com/keepsimple1/mdns-sd/issues/533)) - Modernize CI workflow. ([#&#8203;530](https://github.com/keepsimple1/mdns-sd/issues/530)) #### All changes - `3beba87 2026-10-31` Modernize CI workflow ([#&#8203;530](https://github.com/keepsimple1/mdns-sd/issues/530)) (oriel haim) - `0749b87 2026-10-29` test: skip operationally down interfaces in my_ip_interfaces() ([#&#8203;535](https://github.com/keepsimple1/mdns-sd/issues/535)) (keepsimple1) - `a590a7a 2026-10-26` fix: resolve Clippy warnings ([#&#8203;533](https://github.com/keepsimple1/mdns-sd/issues/533)) (oriel haim) - `5e55075 2026-10-24` fix: reset next_send when a host rename restarts an SRV probe ([#&#8203;506](https://github.com/keepsimple1/mdns-sd/issues/506)) (keepsimple1) - `1b84730 2026-10-23` CI: move macOS tests to macos-15, run test binaries as root ([#&#8203;531](https://github.com/keepsimple1/mdns-sd/issues/531)) (keepsimple1) - `a90c138 2026-10-23` Fix custom-port mDNS query classification ([#&#8203;529](https://github.com/keepsimple1/mdns-sd/issues/529)) (oriel haim) - `36f92a4 2026-10-20` Wake the daemon poller with mio::Waker. ([#&#8203;527](https://github.com/keepsimple1/mdns-sd/issues/527)) (oriel haim) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMzkuMCIsInVwZGF0ZWRJblZlciI6IjQ1LjMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
renovate-bot added 1 commit 2026-11-17 07:18:25 +00:00
fix(deps): update rust crate mdns-sd to 0.22.0
renovate/artifacts Artifact file update failure
CI / Formatting, tests and builds (pull_request) Failing after 21s
c8b387e593
Author
Collaborator

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
spawn cargo EACCES
### ⚠️ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: Cargo.lock ``` spawn cargo EACCES ```
Some required checks failed
renovate/artifacts Artifact file update failure
CI / Formatting, tests and builds (pull_request) Failing after 21s
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/mdns-sd-0.x:renovate/mdns-sd-0.x
git checkout renovate/mdns-sd-0.x
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: heap/rustscreen#100