X-Git-Url: https://code.octet-stream.net/netwatcher/blobdiff_plain/cc3e849e9ff8568609f160d4bcdb83966ffdb6c5..db2bad72106542d4e785e6ed277e73ac8a11c9bc:/src/lib.rs?ds=sidebyside diff --git a/src/lib.rs b/src/lib.rs index 47c5ae1..36cbddc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -5,16 +5,14 @@ use std::{ }; #[cfg_attr(windows, path = "list_win.rs")] -#[cfg_attr(target_vendor = "apple", path = "list_mac.rs")] +#[cfg_attr(unix, path = "list_unix.rs")] mod list; #[cfg_attr(windows, path = "watch_win.rs")] #[cfg_attr(target_vendor = "apple", path = "watch_mac.rs")] +#[cfg_attr(target_os = "linux", path = "watch_linux.rs")] mod watch; -#[cfg(target_vendor = "apple")] -mod util; - type IfIndex = u32; #[derive(Debug, Clone, PartialEq, Eq)]