mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 14:36:15 -05:00
fix: gate gtk dependency behind tauri feature
This commit is contained in:
1 file changed
+2
-2
@@ -51,10 +51,10 @@ os_info = { version = "3", default-features = false }
|
|||||||
|
|
||||||
# Dependencies for Linux and other OSes only
|
# Dependencies for Linux and other OSes only
|
||||||
[target.'cfg(not(any(target_os="macos", target_os="windows")))'.dependencies]
|
[target.'cfg(not(any(target_os="macos", target_os="windows")))'.dependencies]
|
||||||
gtk = "0.18"
|
gtk = { version = "0.18", optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
tauri = ["dep:tauri"]
|
tauri = ["dep:tauri", "dep:gtk"]
|
||||||
clap = ["dep:clap", "dep:clap-verbosity-flag"]
|
clap = ["dep:clap", "dep:clap-verbosity-flag"]
|
||||||
webview-auth = []
|
webview-auth = []
|
||||||
logger = ["dep:env_logger", "dep:log-reload"]
|
logger = ["dep:env_logger", "dep:log-reload"]
|
||||||
Reference in new issue
Block a user