-
version-0.2.1
StableAll checks were successfulRelease / release (push) Successful in 1m15sreleased this
2026-11-12 20:29:46 +01:00 | 1 commits to main since this release-
Configurable Silent Rounds: Introduced
silent_roundsparameter to control unicast service removal timeouts. Addedset_silent_roundsandsilent_roundspublic API methods. -
Unicast Lifecycle: Implemented shared subscription model where multiple subscribers of the same service type share a single multicast subscription, preventing redundant network traffic.
-
IPv4 Interface Filtering: Refined interface selection to filter for usable IPv4 addresses only. Added
usable_v4function to exclude loopback and link-local interfaces based on operational status and point-to-point attributes. -
Configurable Multicast Groups: Updated unicast module to accept configurable multicast groups instead of hardcoded values.
-
Granular Error Variants: Replaced generic errors with specific
PmomdnsErrorvariants:DaemonCreation,InvalidServiceType,DaemonBusy,DaemonStopped, andSubscription. -
SearchKind Enum: Introduced
SearchKind(Multicast/Unicast) for precise error categorization in thread spawning. -
Daemon Persistence: Refactored
ServiceDaemonto be lazily initialized and persistent, moving logic tosrc/daemon.rs. -
Subscription Model: Replaced
browse()return type withSubscription, which shares events among subscribers and handles cleanup on drop. -
IPv4 Limitations: Documented that the daemon performs unicast IPv4 searches only; IPv6-only devices are not found.
-
Service Removal Refinement: Improved catalog and merge logic to properly handle cache flushes, PTR records with TTL 0, and specific daemon/unicast interaction rules for service withdrawal.
-
Unicast Silence Protection: Refined
admitlogic insrc/merge.rsto prevent unicast silence from removing services explicitly described by the daemon. -
Mio Integration: Migrated unicast module from
UdpSockettomiofor socket management, improving error handling and event loop integration. -
Interface Management: Replaced raw socket management with explicit link management (
Linkstruct) to track IP and response state. -
Module Restructuring: Introduced internal modules
registry,merge, andsubscriptionfor event merging, topic tracking, and subscription lifecycle management. -
Catalog Data Structures: Updated
Catalogto useBTreeMapfor instances and services, improving key handling and makingemittedpublic. -
Wire Parsing: Enhanced
src/wire.rswithSrvandAvariants inRdata, enforcing label constraints inread_name. -
Test Coverage: Added comprehensive tests for catalog edge cases (truncated records, invalid pointers), wire parsing, and unicast lifecycle.
-
Proptest Integration: Added property-based testing via
proptestand enabledasyncfeature onflume. -
API Tests: Simplified API tests by removing network dependencies and updating assertions to match new error types and return values.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-