Crates.io | agnostic-mdns |
lib.rs | agnostic-mdns |
version | 0.4.2 |
source | src |
created_at | 2025-01-11 09:06:44.839153+00 |
updated_at | 2025-03-16 11:24:23.022787+00 |
description | Simple and lightweight mDNS client/server library for any async runtime. |
homepage | https://github.com/al8n/agnostic-mdns |
repository | https://github.com/al8n/agnostic-mdns |
max_upload_size | |
id | 1512250 |
size | 184,213 |
Simple and lightweight mDNS client/server library for any async runtime.
Port HashiCorp's mdns to Rust.
Simple and lightweight mDNS client/server library for any async runtime. mDNS or Multicast DNS can be used to discover services on the local network without the use of an authoritative DNS server. This enables peer-to-peer discovery. It is important to note that many networks restrict the use of multicasting, which prevents mDNS from functioning. Notably, multicast cannot be used in any sort of cloud, or shared infrastructure environment. However it works well in most office, home, or private infrastructure environments.
tokio
[dependencies]
agnostic-mdns = { version = "0.4", features = ["tokio"] }
async-std
[dependencies]
agnostic-mdns = { version = "0.4", features = ["async-std"] }
smol
[dependencies]
agnostic-mdns = { version = "0.4", features = ["smol"] }
Please see examples.
agnostic-mdns
is under the terms of both the MIT license and the
Apache License (Version 2.0).
See LICENSE-APACHE, LICENSE-MIT for details.
Copyright (c) 2025 Al Liu.