Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Jun 30, 2023
1 parent b40a0af commit 24cc92a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions matter/src/mdns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use core::fmt::Write;

use crate::{data_model::cluster_basic_information::BasicInfoConfig, error::Error};

#[cfg(all(feature = "std", feature = "astro-dnssd"))]
#[cfg(all(feature = "std", target_os = "macos"))]
pub mod astro;
pub mod builtin;
pub mod proto;
Expand Down Expand Up @@ -55,16 +55,16 @@ where
}
}

#[cfg(all(feature = "std", feature = "astro-dnssd"))]
#[cfg(all(feature = "std", target_os = "macos"))]
pub type DefaultMdns<'a> = astro::Mdns<'a>;

#[cfg(all(feature = "std", feature = "astro-dnssd"))]
#[cfg(all(feature = "std", target_os = "macos"))]
pub type DefaultMdnsRunner<'a> = astro::MdnsRunner<'a>;

#[cfg(not(all(feature = "std", feature = "astro-dnssd")))]
#[cfg(not(all(feature = "std", target_os = "macos")))]
pub type DefaultMdns<'a> = builtin::Mdns<'a>;

#[cfg(not(all(feature = "std", feature = "astro-dnssd")))]
#[cfg(not(all(feature = "std", target_os = "macos")))]
pub type DefaultMdnsRunner<'a> = builtin::MdnsRunner<'a>;

pub struct DummyMdns;
Expand Down

0 comments on commit 24cc92a

Please sign in to comment.