Fix #60
This commit is contained in:
parent
7f9ccbc38d
commit
9576fd8d9a
1 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue