1 2 #[cfg(any(target_os = "linux", 3 target_os = "android", 4 target_os = "macos", 5 target_os = "ios", 6 target_os = "bitrig", 7 target_os = "dragonfly", 8 target_os = "freebsd", 9 target_os = "netbsd", 10 target_os = "openbsd", 11 target_os = "solaris"))] 12 mod unix; 13 #[cfg(any(target_os = "linux", 14 target_os = "android", 15 target_os = "macos", 16 target_os = "ios", 17 target_os = "bitrig", 18 target_os = "dragonfly", 19 target_os = "freebsd", 20 target_os = "netbsd", 21 target_os = "openbsd", 22 target_os = "solaris"))] 23 pub use self::unix::{dimensions, dimensions_stdout, dimensions_stdin, dimensions_stderr}; 24 25 #[cfg(target_os = "windows")] 26 mod windows; 27 #[cfg(target_os = "windows")] 28 pub use self::windows::{dimensions, dimensions_stdout, dimensions_stdin, dimensions_stderr}; 29 30 // makes project compilable on unsupported platforms 31 #[cfg(not(any(target_os = "linux", 32 target_os = "android", 33 target_os = "macos", 34 target_os = "ios", 35 target_os = "bitrig", 36 target_os = "dragonfly", 37 target_os = "freebsd", 38 target_os = "netbsd", 39 target_os = "openbsd", 40 target_os = "solaris", 41 target_os = "windows")))] 42 mod unsupported; 43 #[cfg(not(any(target_os = "linux", 44 target_os = "android", 45 target_os = "macos", 46 target_os = "ios", 47 target_os = "bitrig", 48 target_os = "dragonfly", 49 target_os = "freebsd", 50 target_os = "netbsd", 51 target_os = "openbsd", 52 target_os = "solaris", 53 target_os = "windows")))] 54 pub use self::unsupported::{dimensions, dimensions_stdout, dimensions_stdin, dimensions_stderr};