astro-dnssd 0.3.6

Simple & safe DNS-SD wrapper
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[cfg(all(not(feature = "win-bonjour"), target_os = "windows"))]
mod windows;

#[cfg(all(not(feature = "win-bonjour"), target_os = "windows"))]
pub use windows::{
    browse::{browse, BrowseError, ServiceBrowser},
    register::{register_service, RegisteredDnsService, RegistrationError},
};

#[cfg(any(feature = "win-bonjour", not(target_os = "windows")))]
mod apple;
#[cfg(any(feature = "win-bonjour", not(target_os = "windows")))]
pub use apple::{
    browse::{browse, BrowseError, ServiceBrowser},
    register::{register_service, RegisteredDnsService, RegistrationError},
};