mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 01:26:04 -08:00
17 lines
486 B
Rust
17 lines
486 B
Rust
use cfg_aliases::cfg_aliases;
|
|
|
|
fn main() {
|
|
// Setup cfg aliases
|
|
cfg_aliases! {
|
|
// Platforms
|
|
macos: { target_os = "macos" },
|
|
linux: { target_os = "linux" },
|
|
unix: { target_family = "unix" },
|
|
windows: { target_family = "windows" },
|
|
// exclusive features
|
|
smb: { all(feature = "smb", not( macos )) },
|
|
smb_unix: { all(unix, feature = "smb", not(macos)) },
|
|
smb_windows: { all(windows, feature = "smb") }
|
|
}
|
|
}
|