1 2 3 4 5 6 7 8 9 10 11
// Unix specific implementations #[cfg(all(not(feature = "no-platform-specific"), unix))] #[path = "unix/mod.rs"] mod imp; // Fallback implementations #[cfg(any(feature = "no-platform-specific", not(unix)))] #[path = "fallback/mod.rs"] mod imp; pub use imp::{copy, create_dir_all, hard_link, PlatformOptions};