feat: smb is now an optional feature (#200)

This commit is contained in:
Christian Visintin
2023-07-06 11:02:53 +02:00
committed by GitHub
parent 66888c418c
commit a071f3d420
9 changed files with 23 additions and 17 deletions

View File

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