PackageTrack
Sign in Get early access

libp2p-mdns

Implementation of the libp2p mDNS discovery method

0.48.0 17M downloads/mo #2323 most downloaded on crates.io libp2p/rust-libp2p

What this package is like to depend on

Last release 1 years ago

27 Jun 2025

Release timing varies

gaps range from 2 weeks to 9 months

Most releases are documented

notes for 35 of 55 stable releases

Nothing withdrawn

no release was ever pulled

8 years old

57 releases · first in 2019

0 releases in the last 12 months

see the full history below

Release timeline

57 releases · Jan 2019 to Jun 2025
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 57
  1. 0.48.0 27 Jun 2025
    Release notes
    • Remove async_std dependency PR 5958
    Open source →
  2. 0.47.0 14 Jan 2025
    Release notes
    • Emit ToSwarm::NewExternalAddrOfPeer on discovery. See PR 5753
    • Upgrade hickory-proto. See PR 5727

    <!-- Update to libp2p-core v0.43.0 -->

    Open source →
  3. 0.46.0 09 Aug 2024
    Release notes

    <!-- Update to libp2p-swarm v0.45.0 -->

    Open source →
  4. 0.45.1 22 Nov 2023
    Release notes
    • Ensure Multiaddr handled and returned by Behaviour are /p2p terminated. See PR 4596.
    • Fix a bug in the Behaviour::poll method causing missed mdns packets. See PR 4861.
    Open source →
  5. 0.45.0 05 Nov 2023
    Release notes
    • Don't perform IO in Behaviour::poll. See PR 4623.
    Open source →
  6. 0.44.0 20 Jun 2023
    Release notes
    • Change mdns::Event to hold Vec and remove DiscoveredAddrsIter and ExpiredAddrsIter. See PR 3621.

    • Raise MSRV to 1.65. See PR 3715.

    • Remove deprecated Mdns prefixed items. See PR 3699.

    • Faster peer discovery with adaptive initial interval. See PR 3975.

    Open source →
  7. 0.43.1 29 Mar 2023
    Release notes
    • Derive Clone for mdns::Event. See PR 3606.
    Open source →
  8. 0.43.0 24 Feb 2023
    Release notes
    • Update to libp2p-core v0.39.0.

    • Require the node's local PeerId to be passed into the constructor of libp2p_mdns::Behaviour. See PR 3153.

    • Update to libp2p-swarm v0.42.0.

    • Don't expire mDNS records when the last connection was closed. mDNS records will only be expired when the TTL is reached and the DNS record is no longer valid. See PR 3367.

    Open source →
  9. 0.42.0 25 Nov 2022
    Release notes
    • Update to libp2p-core v0.38.0.

    • Update to libp2p-swarm v0.41.0.

    • Update to if-watch 3.0.0 and both rename TokioMdns to Behaviour living in tokio::Behaviour, and move and rename Mdns to async_io::Behaviour. See PR 3096.

    • Remove the remaining Mdns prefixes from types as per discussion 2174. I.e the Mdns prefix has been removed from various types like MdnsEvent. Users should prefer importing the mdns protocol as a module (use libp2p::mdns;), and refer to its types via mdns::. For example: mdns::Behaviour or mdns::Event.

    • Replace GenMdns's NetworkBehaviour implementation inject_* methods with the new on_* methods. See PR 3011.

    • Use trust-dns-proto to parse DNS messages. See PR 3102.

    • Update rust-version to reflect the actual MSRV: 1.62.0. See PR 3090.

    Open source →
  10. 0.41.0 14 Oct 2022
    Release notes
    • Remove default features. If you previously depended on async-io you need to enable this explicitly now. See PR 2918.

    • Update to libp2p-core v0.37.0.

    • Update to libp2p-swarm v0.40.0.

    • Fix a bug that could cause a delay of ~10s until peers would get discovered when using the tokio runtime. See PR 2939.

    • Removed the lazy_static dependency. See PR 2977.

    • Update to if-watch v2.0.0 and thus the async method Mdns::new and TokioMdns::new becomes synchronous. See PR 2978.

    Open source →
  11. 0.40.0 07 Sep 2022
    Release notes
    • Update to libp2p-swarm v0.39.0.

    • Allow users to choose between async-io and tokio runtime in the mdns protocol implementation. async-io is a default feature, with an additional tokio feature (see PR 2748)

    • Fix high CPU usage with Tokio library (see PR 2748).

    • Update to libp2p-core v0.36.0.

    Open source →
  12. 0.39.0 22 Aug 2022
    Release notes
    • Update to libp2p-swarm v0.38.0.

    • Update to if-watch v1.1.1.

    • Update to libp2p-core v0.35.0.

    Open source →
  13. 0.38.0 05 Jul 2022
    Release notes
    • Update to libp2p-core v0.34.0.

    • Update to libp2p-swarm v0.37.0.

    Open source →
  14. 0.37.0 31 May 2022
    Release notes
    • Update to libp2p-core v0.33.0.

    • Update to libp2p-swarm v0.36.0.

    Open source →
  15. 0.36.0 04 Apr 2022
    Release notes
    • Update to libp2p-swarm v0.35.0.
    Open source →
  16. 0.35.0 22 Feb 2022
    Release notes
    • Update to libp2p-core v0.32.0.

    • Update to libp2p-swarm v0.34.0.

    • Merge NetworkBehaviour's inject_* paired methods (see PR 2445).

    Open source →
  17. 0.34.0 27 Jan 2022
    Release notes
    • Update dependencies.

    • Use a random alphanumeric string instead of the local peer ID for mDNS peer name (see PR 2311).

      Note that previous versions of libp2p-mdns expect the peer name to be a valid peer ID. Thus they will be unable to discover nodes running this new version of libp2p-mdns.

    • Migrate to Rust edition 2021 (see PR 2339).

    • Fix generation of peer expiration event and listen on specified IP version (see PR 2359).

    • Support multiple interfaces (see PR 2383).

    Open source →
  18. 0.33.0 16 Nov 2021
    Release notes
    • Update dependencies.
    Open source →
  19. 0.32.0 01 Nov 2021
    Release notes
    • Make default features of libp2p-core optional. PR 2181

    • Update dependencies.

    • Add support for IPv6. To enable set the multicast address in MdnsConfig to IPV6_MDNS_MULTICAST_ADDRESS. See PR 2161 for details.

    • Prevent timers from firing at the same time. See PR 2212 for details.

    Open source →
  20. 0.32.0-rc.1 15 Oct 2021 pre-release

    Nothing published for this version

  21. 0.31.0 12 Jul 2021
    Release notes
    • Update dependencies.
    Open source →
  22. 0.30.2 06 May 2021
    Release notes
    • Fix discovered event emission. PR 2065
    Open source →
  23. 0.30.1 21 Apr 2021
    Release notes
    • Fix timely discovery of peers after listening on a new address. PR 2053
    Open source →
  24. 0.30.0 13 Apr 2021
    Release notes
    • Derive Debug and Clone for MdnsConfig.

    • Update libp2p-swarm.

    Open source →
  25. 0.29.0 17 Mar 2021
    Release notes
    • Introduce MdnsConfig with configurable TTL of discovered peer records and configurable multicast query interval. The default query interval is increased from 20 seconds to 5 minutes, to significantly reduce bandwidth usage. To ensure timely peer discovery in the majority of cases, a multicast query is initiated whenever a change on a network interface is detected, which includes MDNS initialisation at node startup. If necessary the MDNS query interval can be reduced via the MdnsConfig. The MdnsService has been removed from the public API, making it compulsory that all uses occur through the Mdns NetworkBehaviour. An MdnsConfig must now be given to Mdns::new(). PR 1977.

    • Update libp2p-swarm.

    Open source →
  26. 0.28.1 15 Feb 2021
    Release notes
    • Update dependencies.
    Open source →
  27. 0.28.0 12 Jan 2021
    Release notes
    • Update dependencies.
    Open source →
  28. 0.27.0 18 Dec 2020
    Release notes
    • Update libp2p-swarm and libp2p-core.
    Open source →
  29. 0.26.0 08 Dec 2020
    Release notes
    • Create multiple multicast response packets as required to avoid hitting the limit of 9000 bytes per MDNS packet. PR 1877.

    • Detect interface changes and join the MDNS multicast group on all interfaces as they become available. PR 1830.

    • Replace the use of macros for abstracting over tokio and async-std with the use of async-io. As a result there may now be an additional reactor thread running called async-io when using tokio, with the futures still being polled by the tokio runtime. PR 1830.

    Open source →
  30. 0.25.0 25 Nov 2020
    Release notes
    • Update libp2p-swarm and libp2p-core.
    Open source →
  31. 0.24.0 09 Nov 2020
    Release notes
    • Update dependencies.
    Open source →
  32. 0.23.0 16 Oct 2020
    Release notes
    • Update libp2p-swarm and libp2p-core.

    • Double receive buffer to 4KiB. PR 1779.

    Open source →
  33. 0.22.0 09 Sep 2020
    Release notes
    • Update libp2p-swarm and libp2p-core.
    Open source →
  34. 0.21.0 18 Aug 2020
    Release notes
    • Bump libp2p-core and libp2p-swarm dependencies.

    • Allow libp2p-mdns to use either async-std or tokio to drive required UDP socket (PR 1699).

    Open source →
  35. 0.20.0 01 Jul 2020
    Release notes
    • Updated dependencies.
    Open source →
  36. 0.19.2 22 Jun 2020
    Release notes
    • Updated dependencies.
    Open source →
  37. 0.19.1 25 May 2020

    Nothing published for this version

  38. 0.19.0 18 May 2020

    Nothing published for this version

  39. 0.18.0 09 Apr 2020

    Nothing published for this version

  40. 0.17.0 02 Apr 2020

    Nothing published for this version

  41. 0.16.0 14 Feb 2020

    Nothing published for this version

  42. 0.15.0 24 Jan 2020

    Nothing published for this version

  43. 0.14.0-alpha.1 07 Jan 2020 pre-release

    Nothing published for this version

  44. 0.13.1 13 Nov 2019

    Nothing published for this version

  45. 0.13.0 06 Nov 2019

    Nothing published for this version

  46. 0.12.0 15 Aug 2019

    Nothing published for this version

  47. 0.11.0 19 Jul 2019

    Nothing published for this version

  48. 0.10.0 25 Jun 2019

    Nothing published for this version

  49. 0.9.0 04 Jun 2019

    Nothing published for this version

  50. 0.8.0 15 May 2019

    Nothing published for this version

  51. 0.7.0 23 Apr 2019

    Nothing published for this version

  52. 0.6.0 29 Mar 2019

    Nothing published for this version

  53. 0.5.0 13 Mar 2019

    Nothing published for this version

  54. 0.4.0 20 Feb 2019

    Nothing published for this version

  55. 0.3.0 30 Jan 2019

    Nothing published for this version

  56. 0.2.0 10 Jan 2019

    Nothing published for this version

  57. 0.1.0 02 Jan 2019

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive