11 releases
| new 0.2.202603241449 | Mar 26, 2026 |
|---|---|
| 0.2.202603181223 | Mar 20, 2026 |
| 0.2.202602261914 | Feb 27, 2026 |
| 0.1.202602081427 | Feb 8, 2026 |
#5 in #zeroconf
Used in 3 crates
290KB
5K
SLoC
koi-mdns
mDNS/DNS-SD service discovery and registration for the local network.
Overview
koi-mdns provides a high-level domain facade (MdnsCore) for multicast DNS
service discovery and registration. It wraps the mdns-sd crate behind an
opaque boundary, manages service lifecycles with session/heartbeat/permanent
lease modes, and exposes both programmatic commands and HTTP routes (via axum)
for browsing, registering, resolving, and subscribing to service events.
Features
- Browse and resolve services by type (
_http._tcp,_ssh._tcp, etc.) - Register services with session, heartbeat, or permanent leases
- Subscribe to real-time lifecycle events (found, resolved, removed)
- Built-in HTTP API with SSE streaming
- Thread-safe registry with automatic lease reaping
Part of Koi
This crate is part of the Koi workspace. See the main repository for architecture details.
License
Licensed under either of Apache License, Version 2.0 or MIT License at your option.
Dependencies
~15–31MB
~340K SLoC