[package] name = "switch-cmd" version = "1.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] switch = {path="../switch"} common = {path="../common"} tokio = { version = "1.28.1", features = ["full"] } getopts = "0.2.21" console = "0.15.2" os_info = "3.7.0" dirs = "4.0.0" serde = "1.0" serde_json = "1.0.94" log = "0.4.17" [target.'cfg(any(target_os = "linux",target_os = "macos"))'.dependencies] sudo = "0.6.0" [target.'cfg(target_os = "windows")'.dependencies] winapi = { version = "0.3.9", features = ["handleapi", "processthreadsapi", "winnt", "securitybaseapi", "impl-default"] } [features] default = [] mini = []