mirror of
https://github.com/veeso/termscp.git
synced 2025-12-06 17:15:35 -08:00
* feat: smb client * fix: smb connection * fix: smbclient deps * feat: SMB mentions to user manual * feat: changelog * dlib macos * fix: removed smb support from macos :( * fix: restored libsmbclient build * fix: strange lint message * fix: macos build smb * fix: macos build smb * fix: macos tests * fix: macos lint * feat: SMB windows support * fix: windows tests
16 lines
391 B
Rust
16 lines
391 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: { not( macos ) },
|
|
smb_unix: { all(unix, not(macos)) }
|
|
}
|
|
}
|