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

@@ -89,13 +89,13 @@ serial_test = "^2.0"
cfg_aliases = "0.1"
[features]
default = ["with-keyring"]
default = ["smb", "with-keyring"]
github-actions = []
with-keyring = ["keyring"]
smb = ["remotefs-smb"]
[target."cfg(not(target_os = \"macos\"))"]
[target."cfg(not(target_os = \"macos\"))".dependencies]
remotefs-smb = "^0.2"
remotefs-smb = { version = "^0.2", optional = true }
[target."cfg(target_family = \"windows\")"]
[target."cfg(target_family = \"windows\")".dependencies]