• version-0.2.4 2ec5a3caaa

    version-0.2.4
    All checks were successful
    Release / release (push) Successful in 1m36s
    Stable

    eric released this 2026-11-14 05:19:40 +01:00 | 1 commits to main since this release

    • Per-Interface LOCATION Support: Server notifications now send a LOCATION header specific to the active IPv4 interface address from which they are sent.

    • Multi-Interface Multicast: The server iterates over all active non-loopback IPv4 interfaces to join multicast groups and send announcements (M-SEARCH responses).

    • Version Update: Bumped package version to 0.2.4.

    • API Snapshot: Updated public API snapshot (api/0.2.4.json.gz) and removed extensive trait implementations (Into, TryFrom, CloneToUninit, Any, Borrow) for SsdpEvent, SsdpClient, and SsdpDevice.

    • Build Scripts: Modified api-level.sh and api-snapshot.sh to use cargo public-api -s for excluding generic implementations.

    • Server Logic Refactoring: Refactored src/server.rs to support per-interface location determination via the new location_for helper and diffuser mechanism.

    • Documentation: Updated src/lib.rs and README.md to reflect per-interface server behavior and client interface selection.

    • Added comprehensive tests in tests/multicast.rs:

      • interfaces
      • appareil_sur_une_adresse
      • hote
      • les_annonces_portent_l_adresse_de_l_interface_d_emission
      • la_reponse_a_un_msearch_porte_l_adresse_qui_joint_le_demandeur
    > pub fn pmossdp::SsdpDevice::location_for(&self, core::net::ip_addr::Ipv4Addr) -> alloc::string::String
    > pub fn pmossdp::SsdpDevice::with_fixed_location(self) -> Self
    
    Downloads