All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Updated dependencies for compatibility with
embassy-time-driver
v0.2
- Fix for #24 / avahi - always broadcast to any of the enabled muticast addresses, regardless how we were contacted with a query
- Support for one-shot queries
- Option to erase the generics from the IO errors
- Reduce logging level for the mDNS responder (#43)
- Provide an IPv4-only default socket for mdns (#51)
- wait_readable flag; waiting for the socket is now turned off by default due to suspicions that it does not work quite right with embassy-net; Only lock the send buffer once we received a packet
Almost a complete rewrite:
- New query API (
Mdns::query
) complementing the responder / query answers' processing one (Mdns::run
) domain
API is now also a public API ofedge-mdns
, re-exported asedge_mdns::domain
- IO layer now uses the UDP traits from
edge-net
- Traits:
MdnsHandler
- abstracts the overall processing of an incoming mDNS messageHostAnswers
- abstracts the generation of answers to peer queries (implemented by the pre-existingHost
andService
struct types)HostQuestions
- ,PeerAnswers
Smaller items:
- Raised the
domain
dependency to 0.10 - Optimized memory usage by avoiding on-stack allocation of large
heapless::String
s - IO layer of
edge-mdns
can now share its buffers with other code (see theBufferAccess
trait) - Raised MSRV to 1.77