hickory_resolver/system_conf/
mod.rs1#![allow(missing_docs)]
14
15#[cfg(all(unix, not(any(target_os = "android", target_vendor = "apple"))))]
16#[cfg(feature = "system-config")]
17mod unix;
18
19#[cfg(all(unix, not(any(target_os = "android", target_vendor = "apple"))))]
20#[cfg(feature = "system-config")]
21pub use self::unix::{parse_resolv_conf, read_system_conf};
22
23#[cfg(windows)]
24#[cfg(feature = "system-config")]
25mod windows;
26
27#[cfg(target_os = "windows")]
28#[cfg(feature = "system-config")]
29pub use self::windows::read_system_conf;
30
31#[cfg(target_os = "android")]
32#[cfg(feature = "system-config")]
33mod android;
34
35#[cfg(target_os = "android")]
36#[cfg(feature = "system-config")]
37pub use self::android::read_system_conf;
38
39#[cfg(target_vendor = "apple")]
40#[cfg(feature = "system-config")]
41mod apple;
42
43#[cfg(target_vendor = "apple")]
44#[cfg(feature = "system-config")]
45pub use self::apple::read_system_conf;