Sfoglia il codice sorgente

Fix Windows and macOS builds, only use quale dependency on Linux

timvisee 6 anni fa
parent
commit
f0cac5767f
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 3 2
      Cargo.toml

+ 3 - 2
Cargo.toml

@@ -57,7 +57,6 @@ default = [
     "history",
     "infer-command",
     "qrcode",
-    "quale",
     "send2",
     "send3",
     "urlshorten"
@@ -103,7 +102,6 @@ openssl-probe = "0.1"
 pbr = "1"
 prettytable-rs = "0.8"
 qr2term = { version = "0.1", optional = true }
-quale = { version = "1.0", optional = true }
 rpassword = "3.0"
 serde = "1.0"
 serde_derive = "1.0"
@@ -113,5 +111,8 @@ toml = "0.5"
 urlshortener = { version = "0.10", default-features = false, optional = true }
 version-compare = "0.0.6"
 
+[target.'cfg(target_os = "linux")'.dependencies]
+quale = "1.0"
+
 [target.'cfg(not(target_os = "linux"))'.dependencies]
 clipboard = { version = "0.5", optional = true }