Locate the Zed app from the CLI using NSWorkspace API

This commit is contained in:
Max Brunsfeld 2022-04-19 13:42:33 -07:00 committed by Antonio Scandurra
parent 43763fa2f8
commit a81f7ebbf6
3 changed files with 43 additions and 12 deletions

View file

@ -13,9 +13,13 @@ path = "src/main.rs"
[dependencies]
anyhow = "1.0"
core-foundation = "0.9"
core-services = "0.2"
clap = { version = "3.1", features = ["derive"] }
dirs = "3.0"
ipc-channel = "0.16"
serde = { version = "1.0", features = ["derive"] }
serde = { version = "1.0", features = ["derive"] }
[target.'cfg(target_os = "macos")'.dependencies]
cocoa = "0.24"
core-foundation = "0.9"
core-services = "0.2"
objc = "0.2"