mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-19 06:59:22 +01:00
d544470d1d
Follows-up https://github.com/zed-industries/zed/pull/64862 with similar fixes: * replaces a few dependencies that are almost not used, removes unused dependencies * removed unused features * removes `test-support` dependencies from the regular tree * cleans up build scripts Despite the large diff, the changes are rather mechanical, split by commits. Result: <img width="1172" height="77" alt="image" src="https://github.com/user-attachments/assets/7d8aeb58-7cec-4246-8157-d07fc585f81f" /> Release Notes: - N/A - [GPUI] N/A
83 lines
2.2 KiB
TOML
83 lines
2.2 KiB
TOML
[package]
|
|
name = "cli"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/cli.rs"
|
|
doctest = false
|
|
|
|
[[bin]]
|
|
name = "cli"
|
|
path = "src/main.rs"
|
|
required-features = ["cli"]
|
|
|
|
[features]
|
|
no-bundled-uninstall = ["cli"]
|
|
default = ["cli"]
|
|
cli = [
|
|
"dep:askpass",
|
|
"dep:clap",
|
|
"dep:clap_complete",
|
|
"dep:clap_complete_nushell",
|
|
"dep:console",
|
|
"dep:core-foundation",
|
|
"dep:core-services",
|
|
"dep:dialoguer",
|
|
"dep:exec",
|
|
"dep:fork",
|
|
"dep:parking_lot",
|
|
"dep:paths",
|
|
"dep:plist",
|
|
"dep:rayon",
|
|
"dep:release_channel",
|
|
"dep:tempfile",
|
|
"dep:util",
|
|
"dep:walkdir",
|
|
"dep:windows",
|
|
"dep:windows_resources",
|
|
]
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
askpass = { workspace = true, optional = true }
|
|
clap = { workspace = true, optional = true }
|
|
clap_complete = { workspace = true, optional = true }
|
|
clap_complete_nushell = { workspace = true, optional = true }
|
|
collections.workspace = true
|
|
console = { workspace = true, optional = true }
|
|
dialoguer = { workspace = true, optional = true }
|
|
ipc-channel = "0.19"
|
|
parking_lot = { workspace = true, optional = true }
|
|
paths = { workspace = true, optional = true }
|
|
release_channel = { workspace = true, optional = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
util = { workspace = true, optional = true }
|
|
tempfile = { workspace = true, optional = true }
|
|
rayon = { workspace = true, optional = true }
|
|
walkdir = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
serde_json.workspace = true
|
|
util = { workspace = true, features = ["test-support"] }
|
|
|
|
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies]
|
|
exec = { workspace = true, optional = true }
|
|
fork = { workspace = true, optional = true }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
core-foundation = { workspace = true, optional = true }
|
|
core-services = { workspace = true, optional = true }
|
|
plist = { workspace = true, optional = true }
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
windows = { workspace = true, optional = true }
|
|
|
|
[target.'cfg(target_os = "windows")'.build-dependencies]
|
|
windows_resources = { workspace = true, optional = true }
|