fix(deps): update rust crate mdns-sd to 0.22 #388

Open
renovate_bot wants to merge 1 commit from renovate/mdns-sd-0.x into master
renovate_bot commented 2026-11-17 23:24:12 +00:00 (Migrated from jonasled.dev)

This MR contains the following updates:

Package Type Update Change
mdns-sd dependencies minor 0.21 → 0.22

Release Notes

keepsimple1/mdns-sd (mdns-sd)

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 !


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 MR becomes conflicted, or you tick the rebase/retry checkbox.

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


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

This MR has been generated by Mend Renovate CLI.


This pull request updates the mdns-sd Rust crate dependency from version 0.21 to 0.22 as part of dependency management. The change ensures the project uses the latest version of this crate, which may include bug fixes, security patches, or new features from the 0.22 release. Functionally, this aligns the tool with upstream improvements while maintaining compatibility with existing code. No other functional changes were introduced by this update.

This MR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [mdns-sd](https://github.com/keepsimple1/mdns-sd) | dependencies | minor | `0.21` → `0.22` | --- ### Release Notes <details> <summary>keepsimple1/mdns-sd (mdns-sd)</summary> ### [`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) ! </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 MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xODguMiIsInVwZGF0ZWRJblZlciI6IjQ0LjE4OC4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> --- <!-- kody-pr-summary:start --> This pull request updates the `mdns-sd` Rust crate dependency from version `0.21` to `0.22` as part of dependency management. The change ensures the project uses the latest version of this crate, which may include bug fixes, security patches, or new features from the `0.22` release. Functionally, this aligns the tool with upstream improvements while maintaining compatibility with existing code. No other functional changes were introduced by this update. <!-- kody-pr-summary:end -->
kodus commented 2026-11-17 23:24:25 +00:00 (Migrated from jonasled.dev)

Kody Review Complete

Great news! 🎉
No issues were found that match your current review configurations.

Keep up the excellent work! 🚀

Kody Guide: Usage and Configuration
Interacting with Kody
  • Request a Review: Ask Kody to review your PR manually by adding a comment with the @kody start-review command at the root of your PR.

  • Validate Business Logic: Ask Kody to validate your code against business rules by adding a comment with the @kody -v business-logic command.

  • Provide Feedback: Help Kody learn and improve by reacting to its comments with a 👍 for helpful suggestions or a 👎 if improvements are needed.

Current Kody Configuration
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ✅

Access your configuration settings here.

​

# Kody Review Complete **Great news!** 🎉 No issues were found that match your current review configurations. Keep up the excellent work! 🚀 <details> <summary>Kody Guide: Usage and Configuration</summary> <details> <summary>Interacting with Kody</summary> - **Request a Review:** Ask Kody to review your PR manually by adding a comment with the `@kody start-review` command at the root of your PR. - **Validate Business Logic:** Ask Kody to validate your code against business rules by adding a comment with the `@kody -v business-logic` command. - **Provide Feedback:** Help Kody learn and improve by reacting to its comments with a 👍 for helpful suggestions or a 👎 if improvements are needed. </details> <details> <summary>Current Kody Configuration</summary> <details> <summary>Review Options</summary> The following review options are enabled or disabled: | Options | Enabled | |-------------------------------|---------| | **Bug** | ✅ | | **Performance** | ✅ | | **Security** | ✅ | | **Business Logic** | ✅ | </details> **[Access your configuration settings here.](https://app.kodus.io/settings/code-review/global/general)** </details> </details> <!-- kody-codereview-completed-1794958709423-jio0v208bng --> <!-- kody-codereview --> &#8203;
renovate_bot commented 2026-11-17 23:24:35 +00:00 (Migrated from jonasled.dev)

mentioned in issue #2

mentioned in issue #2
kodus commented 2026-11-17 23:38:28 +00:00 (Migrated from jonasled.dev)

changed the description

changed the description
Some required checks are missing.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
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 switch renovate/mdns-sd-0.x
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jonasled/sfp-tool!388
No description provided.