added cfg smb-windows to be able to disable SMB on windows (#210)

* added cfg smb-windows to be able to disable SMB on windows

* lint
This commit is contained in:
Christian Visintin
2023-08-20 10:24:34 +02:00
committed by GitHub
parent 2f48c765e3
commit 9de171fb83
4 changed files with 9 additions and 8 deletions

View File

@@ -10,6 +10,7 @@ fn main() {
windows: { target_family = "windows" },
// exclusive features
smb: { all(feature = "smb", not( macos )) },
smb_unix: { all(unix, feature = "smb", not(macos)) }
smb_unix: { all(unix, feature = "smb", not(macos)) },
smb_windows: { all(windows, feature = "smb") }
}
}