Cleanup dependencies (part 4) (#8468)

Follow-up to #8425 . Final part - adds the CI check.

Release Notes:
- N/A
This commit is contained in:
Dzmitry Malyshau 2024-02-27 10:41:49 -08:00 committed by GitHub
parent ac31c824e4
commit cb75c57fc0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
29 changed files with 15 additions and 299 deletions

View File

@ -51,6 +51,9 @@ jobs:
- name: Run style checks - name: Run style checks
uses: ./.github/actions/check_style uses: ./.github/actions/check_style
- name: Check unused dependencies
uses: bnjbvr/cargo-machete@main
- name: Ensure fresh merge - name: Ensure fresh merge
shell: bash -euxo pipefail {0} shell: bash -euxo pipefail {0}
run: | run: |

206
Cargo.lock generated
View File

@ -220,12 +220,6 @@ dependencies = [
"windows-sys 0.48.0", "windows-sys 0.48.0",
] ]
[[package]]
name = "any_ascii"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ea50b14b7a4b9343f8c627a7a53c52076482bd4bdad0a24fd3ec533ed616cc2c"
[[package]] [[package]]
name = "anyhow" name = "anyhow"
version = "1.0.75" version = "1.0.75"
@ -331,7 +325,6 @@ dependencies = [
"ai", "ai",
"anyhow", "anyhow",
"chrono", "chrono",
"client",
"collections", "collections",
"ctor", "ctor",
"editor", "editor",
@ -340,13 +333,11 @@ dependencies = [
"futures 0.3.28", "futures 0.3.28",
"gpui", "gpui",
"indoc", "indoc",
"isahc",
"language", "language",
"log", "log",
"menu", "menu",
"multi_buffer", "multi_buffer",
"ordered-float 2.10.0", "ordered-float 2.10.0",
"parking_lot 0.11.2",
"project", "project",
"rand 0.8.5", "rand 0.8.5",
"regex", "regex",
@ -1125,7 +1116,7 @@ dependencies = [
"serde", "serde",
"time", "time",
"tokio", "tokio",
"tokio-util 0.7.9", "tokio-util",
] ]
[[package]] [[package]]
@ -1851,11 +1842,9 @@ dependencies = [
"clap 3.2.25", "clap 3.2.25",
"core-foundation", "core-foundation",
"core-services", "core-services",
"dirs 3.0.2",
"ipc-channel", "ipc-channel",
"plist", "plist",
"serde", "serde",
"serde_derive",
"util", "util",
] ]
@ -1912,11 +1901,9 @@ dependencies = [
"chrono", "chrono",
"clock", "clock",
"collections", "collections",
"db",
"feature_flags", "feature_flags",
"futures 0.3.28", "futures 0.3.28",
"gpui", "gpui",
"image",
"lazy_static", "lazy_static",
"log", "log",
"once_cell", "once_cell",
@ -1927,12 +1914,10 @@ dependencies = [
"rpc", "rpc",
"schemars", "schemars",
"serde", "serde",
"serde_derive",
"serde_json", "serde_json",
"settings", "settings",
"sha2 0.10.7", "sha2 0.10.7",
"smol", "smol",
"sum_tree",
"sysinfo", "sysinfo",
"telemetry_events", "telemetry_events",
"tempfile", "tempfile",
@ -1942,7 +1927,6 @@ dependencies = [
"tiny_http", "tiny_http",
"url", "url",
"util", "util",
"uuid",
] ]
[[package]] [[package]]
@ -2015,11 +1999,9 @@ dependencies = [
"aws-sdk-s3", "aws-sdk-s3",
"axum", "axum",
"axum-extra", "axum-extra",
"base64 0.13.1",
"call", "call",
"channel", "channel",
"chrono", "chrono",
"clap 3.2.25",
"clickhouse", "clickhouse",
"client", "client",
"clock", "clock",
@ -2040,7 +2022,6 @@ dependencies = [
"indoc", "indoc",
"language", "language",
"lazy_static", "lazy_static",
"lipsum",
"live_kit_client", "live_kit_client",
"live_kit_server", "live_kit_server",
"log", "log",
@ -2065,18 +2046,14 @@ dependencies = [
"serde_derive", "serde_derive",
"serde_json", "serde_json",
"settings", "settings",
"sha-1 0.9.8",
"sha2 0.10.7", "sha2 0.10.7",
"smallvec",
"sqlx", "sqlx",
"telemetry_events", "telemetry_events",
"text", "text",
"theme", "theme",
"time", "time",
"tokio", "tokio",
"tokio-tungstenite",
"toml 0.8.10", "toml 0.8.10",
"tonic",
"tower", "tower",
"tower-http 0.4.4", "tower-http 0.4.4",
"tracing", "tracing",
@ -2147,9 +2124,7 @@ dependencies = [
name = "color" name = "color"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"itertools 0.11.0",
"palette", "palette",
"story",
] ]
[[package]] [[package]]
@ -2178,7 +2153,6 @@ dependencies = [
name = "command_palette" name = "command_palette"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"anyhow",
"client", "client",
"collections", "collections",
"command_palette_hooks", "command_palette_hooks",
@ -2276,16 +2250,13 @@ dependencies = [
"futures 0.3.28", "futures 0.3.28",
"gpui", "gpui",
"language", "language",
"log",
"lsp", "lsp",
"node_runtime", "node_runtime",
"parking_lot 0.11.2", "parking_lot 0.11.2",
"rpc", "rpc",
"serde", "serde",
"serde_derive",
"settings", "settings",
"smol", "smol",
"theme",
"util", "util",
] ]
@ -2297,12 +2268,9 @@ dependencies = [
"copilot", "copilot",
"editor", "editor",
"fs", "fs",
"futures 0.3.28",
"gpui", "gpui",
"language", "language",
"settings", "settings",
"smol",
"theme",
"ui", "ui",
"util", "util",
"workspace", "workspace",
@ -2875,14 +2843,11 @@ dependencies = [
"language", "language",
"log", "log",
"lsp", "lsp",
"postage",
"project", "project",
"schemars", "schemars",
"serde", "serde",
"serde_derive",
"serde_json", "serde_json",
"settings", "settings",
"smallvec",
"theme", "theme",
"ui", "ui",
"unindent", "unindent",
@ -3360,22 +3325,16 @@ dependencies = [
"human_bytes", "human_bytes",
"isahc", "isahc",
"language", "language",
"lazy_static",
"log", "log",
"menu", "menu",
"postage",
"project", "project",
"regex", "regex",
"release_channel", "release_channel",
"serde", "serde",
"serde_derive", "serde_derive",
"serde_json", "serde_json",
"settings",
"smallvec",
"smol", "smol",
"sysinfo", "sysinfo",
"theme",
"tree-sitter-markdown",
"ui", "ui",
"urlencoding", "urlencoding",
"util", "util",
@ -4144,7 +4103,7 @@ dependencies = [
"indexmap 1.9.3", "indexmap 1.9.3",
"slab", "slab",
"tokio", "tokio",
"tokio-util 0.7.9", "tokio-util",
"tracing", "tracing",
] ]
@ -4411,18 +4370,6 @@ dependencies = [
"tokio-rustls", "tokio-rustls",
] ]
[[package]]
name = "hyper-timeout"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1"
dependencies = [
"hyper",
"pin-project-lite",
"tokio",
"tokio-io-timeout",
]
[[package]] [[package]]
name = "hyper-tls" name = "hyper-tls"
version = "0.5.0" version = "0.5.0"
@ -4737,7 +4684,6 @@ version = "0.1.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"chrono", "chrono",
"dirs 4.0.0",
"editor", "editor",
"gpui", "gpui",
"log", "log",
@ -4745,7 +4691,6 @@ dependencies = [
"serde", "serde",
"settings", "settings",
"shellexpand", "shellexpand",
"util",
"workspace", "workspace",
] ]
@ -5161,16 +5106,6 @@ version = "0.4.12"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456" checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456"
[[package]]
name = "lipsum"
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a8451846f1f337e44486666989fbce40be804da139d5a4477d6b88ece5dc69f4"
dependencies = [
"rand 0.8.5",
"rand_chacha 0.3.1",
]
[[package]] [[package]]
name = "live_kit_client" name = "live_kit_client"
version = "0.1.0" version = "0.1.0"
@ -5544,18 +5479,6 @@ dependencies = [
"windows-sys 0.48.0", "windows-sys 0.48.0",
] ]
[[package]]
name = "mio-extras"
version = "2.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "52403fe290012ce777c4626790c8951324a2b9e3316b3143779c72b029742f19"
dependencies = [
"lazycell",
"log",
"mio 0.6.23",
"slab",
]
[[package]] [[package]]
name = "miow" name = "miow"
version = "0.2.2" version = "0.2.2"
@ -5587,8 +5510,6 @@ dependencies = [
"futures 0.3.28", "futures 0.3.28",
"git", "git",
"gpui", "gpui",
"indoc",
"itertools 0.11.0",
"language", "language",
"log", "log",
"parking_lot 0.11.2", "parking_lot 0.11.2",
@ -5765,9 +5686,7 @@ dependencies = [
"async-trait", "async-trait",
"futures 0.3.28", "futures 0.3.28",
"log", "log",
"parking_lot 0.11.2",
"serde", "serde",
"serde_derive",
"serde_json", "serde_json",
"smol", "smol",
"util", "util",
@ -5790,15 +5709,12 @@ dependencies = [
"anyhow", "anyhow",
"channel", "channel",
"client", "client",
"clock",
"collections", "collections",
"db", "db",
"feature_flags",
"gpui", "gpui",
"rpc", "rpc",
"settings", "settings",
"sum_tree", "sum_tree",
"text",
"time", "time",
"util", "util",
] ]
@ -6038,7 +5954,7 @@ dependencies = [
"rmp", "rmp",
"rmpv", "rmpv",
"tokio", "tokio",
"tokio-util 0.7.9", "tokio-util",
] ]
[[package]] [[package]]
@ -6386,15 +6302,6 @@ version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd" checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd"
[[package]]
name = "pathfinder_color"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "69bdc0d277d559e35e1b374de56df9262a6b71e091ca04a8831a239f8c7f0c62"
dependencies = [
"pathfinder_simd",
]
[[package]] [[package]]
name = "pathfinder_geometry" name = "pathfinder_geometry"
version = "0.5.1" version = "0.5.1"
@ -6515,12 +6422,8 @@ dependencies = [
"env_logger", "env_logger",
"gpui", "gpui",
"menu", "menu",
"parking_lot 0.11.2",
"serde_json", "serde_json",
"settings",
"theme",
"ui", "ui",
"util",
"workspace", "workspace",
] ]
@ -6830,11 +6733,9 @@ dependencies = [
"fs", "fs",
"futures 0.3.28", "futures 0.3.28",
"fuzzy", "fuzzy",
"git",
"git2", "git2",
"globset", "globset",
"gpui", "gpui",
"ignore",
"itertools 0.11.0", "itertools 0.11.0",
"language", "language",
"log", "log",
@ -6849,14 +6750,12 @@ dependencies = [
"regex", "regex",
"release_channel", "release_channel",
"rpc", "rpc",
"schemars",
"serde", "serde",
"serde_json", "serde_json",
"settings", "settings",
"sha2 0.10.7", "sha2 0.10.7",
"similar", "similar",
"smol", "smol",
"sum_tree",
"task", "task",
"terminal", "terminal",
"text", "text",
@ -7287,18 +7186,12 @@ dependencies = [
name = "recent_projects" name = "recent_projects"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"futures 0.3.28",
"fuzzy", "fuzzy",
"gpui", "gpui",
"language",
"menu", "menu",
"ordered-float 2.10.0", "ordered-float 2.10.0",
"picker", "picker",
"postage",
"settings",
"smol", "smol",
"text",
"theme",
"ui", "ui",
"util", "util",
"workspace", "workspace",
@ -7512,17 +7405,11 @@ dependencies = [
name = "rich_text" name = "rich_text"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"anyhow",
"collections",
"futures 0.3.28", "futures 0.3.28",
"gpui", "gpui",
"language", "language",
"lazy_static",
"linkify", "linkify",
"pulldown-cmark", "pulldown-cmark",
"smallvec",
"smol",
"sum_tree",
"theme", "theme",
"ui", "ui",
"util", "util",
@ -9274,20 +9161,13 @@ name = "tasks_ui"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"db",
"fs",
"futures 0.3.28",
"fuzzy", "fuzzy",
"gpui", "gpui",
"log",
"menu", "menu",
"picker", "picker",
"project", "project",
"schemars",
"serde", "serde",
"serde_json",
"task", "task",
"theme",
"ui", "ui",
"util", "util",
"workspace", "workspace",
@ -9344,8 +9224,6 @@ dependencies = [
"dirs 4.0.0", "dirs 4.0.0",
"futures 0.3.28", "futures 0.3.28",
"gpui", "gpui",
"itertools 0.11.0",
"lazy_static",
"libc", "libc",
"procinfo", "procinfo",
"rand 0.8.5", "rand 0.8.5",
@ -9375,25 +9253,17 @@ dependencies = [
"gpui", "gpui",
"itertools 0.11.0", "itertools 0.11.0",
"language", "language",
"lazy_static",
"libc",
"mio-extras",
"ordered-float 2.10.0",
"procinfo",
"project", "project",
"rand 0.8.5", "rand 0.8.5",
"search", "search",
"serde", "serde",
"serde_derive",
"serde_json", "serde_json",
"settings", "settings",
"shellexpand", "shellexpand",
"smallvec",
"smol", "smol",
"task", "task",
"terminal", "terminal",
"theme", "theme",
"thiserror",
"ui", "ui",
"util", "util",
"workspace", "workspace",
@ -9439,7 +9309,6 @@ dependencies = [
"futures 0.3.28", "futures 0.3.28",
"gpui", "gpui",
"indexmap 1.9.3", "indexmap 1.9.3",
"itertools 0.11.0",
"palette", "palette",
"parking_lot 0.11.2", "parking_lot 0.11.2",
"refineable", "refineable",
@ -9451,7 +9320,6 @@ dependencies = [
"serde_repr", "serde_repr",
"settings", "settings",
"story", "story",
"toml 0.8.10",
"util", "util",
"uuid", "uuid",
] ]
@ -9460,16 +9328,12 @@ dependencies = [
name = "theme_importer" name = "theme_importer"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"any_ascii",
"anyhow", "anyhow",
"clap 4.4.4", "clap 4.4.4",
"convert_case 0.6.0",
"gpui", "gpui",
"indexmap 1.9.3", "indexmap 1.9.3",
"indoc",
"log", "log",
"palette", "palette",
"pathfinder_color",
"rust-embed", "rust-embed",
"schemars", "schemars",
"serde", "serde",
@ -9478,7 +9342,6 @@ dependencies = [
"simplelog", "simplelog",
"strum", "strum",
"theme", "theme",
"uuid",
"vscode_theme", "vscode_theme",
] ]
@ -9594,7 +9457,6 @@ dependencies = [
"lazy_static", "lazy_static",
"sys-locale", "sys-locale",
"time", "time",
"util",
] ]
[[package]] [[package]]
@ -9669,16 +9531,6 @@ dependencies = [
"log", "log",
] ]
[[package]]
name = "tokio-io-timeout"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "30b74022ada614a1b4834de765f9bb43877f910cc8ce4be40e89042c9223a8bf"
dependencies = [
"pin-project-lite",
"tokio",
]
[[package]] [[package]]
name = "tokio-macros" name = "tokio-macros"
version = "2.1.0" version = "2.1.0"
@ -9733,20 +9585,6 @@ dependencies = [
"tungstenite 0.17.3", "tungstenite 0.17.3",
] ]
[[package]]
name = "tokio-util"
version = "0.6.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "36943ee01a6d67977dd3f84a5a1d2efeb4ada3a1ae771cadfaa535d9d9fc6507"
dependencies = [
"bytes 1.5.0",
"futures-core",
"futures-sink",
"log",
"pin-project-lite",
"tokio",
]
[[package]] [[package]]
name = "tokio-util" name = "tokio-util"
version = "0.7.9" version = "0.7.9"
@ -9816,37 +9654,6 @@ dependencies = [
"winnow 0.6.1", "winnow 0.6.1",
] ]
[[package]]
name = "tonic"
version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ff08f4649d10a70ffa3522ca559031285d8e421d727ac85c60825761818f5d0a"
dependencies = [
"async-stream",
"async-trait",
"base64 0.13.1",
"bytes 1.5.0",
"futures-core",
"futures-util",
"h2",
"http 0.2.9",
"http-body",
"hyper",
"hyper-timeout",
"percent-encoding",
"pin-project",
"prost 0.9.0",
"prost-derive 0.9.0",
"tokio",
"tokio-stream",
"tokio-util 0.6.10",
"tower",
"tower-layer",
"tower-service",
"tracing",
"tracing-futures",
]
[[package]] [[package]]
name = "tower" name = "tower"
version = "0.4.13" version = "0.4.13"
@ -9855,13 +9662,9 @@ checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c"
dependencies = [ dependencies = [
"futures-core", "futures-core",
"futures-util", "futures-util",
"indexmap 1.9.3",
"pin-project", "pin-project",
"pin-project-lite", "pin-project-lite",
"rand 0.8.5",
"slab",
"tokio", "tokio",
"tokio-util 0.7.9",
"tower-layer", "tower-layer",
"tower-service", "tower-service",
"tracing", "tracing",
@ -10528,7 +10331,6 @@ dependencies = [
name = "ui" name = "ui"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"anyhow",
"chrono", "chrono",
"gpui", "gpui",
"itertools 0.11.0", "itertools 0.11.0",
@ -10842,7 +10644,6 @@ dependencies = [
"serde_derive", "serde_derive",
"serde_json", "serde_json",
"settings", "settings",
"theme",
"tokio", "tokio",
"ui", "ui",
"util", "util",
@ -11900,6 +11701,7 @@ dependencies = [
"notifications", "notifications",
"outline", "outline",
"parking_lot 0.11.2", "parking_lot 0.11.2",
"profiling",
"project", "project",
"project_panel", "project_panel",
"project_symbols", "project_symbols",

View File

@ -13,20 +13,17 @@ doctest = false
ai.workspace = true ai.workspace = true
anyhow.workspace = true anyhow.workspace = true
chrono.workspace = true chrono.workspace = true
client.workspace = true
collections.workspace = true collections.workspace = true
editor.workspace = true editor.workspace = true
fs.workspace = true fs.workspace = true
futures.workspace = true futures.workspace = true
gpui.workspace = true gpui.workspace = true
indoc.workspace = true indoc.workspace = true
isahc.workspace = true
language.workspace = true language.workspace = true
log.workspace = true log.workspace = true
menu.workspace = true menu.workspace = true
multi_buffer.workspace = true multi_buffer.workspace = true
ordered-float.workspace = true ordered-float.workspace = true
parking_lot.workspace = true
project.workspace = true project.workspace = true
regex.workspace = true regex.workspace = true
schemars.workspace = true schemars.workspace = true

View File

@ -16,10 +16,8 @@ path = "src/main.rs"
[dependencies] [dependencies]
anyhow.workspace = true anyhow.workspace = true
clap = { version = "3.1", features = ["derive"] } clap = { version = "3.1", features = ["derive"] }
dirs = "3.0"
ipc-channel = "0.16" ipc-channel = "0.16"
serde.workspace = true serde.workspace = true
serde_derive.workspace = true
util.workspace = true util.workspace = true
[target.'cfg(target_os = "macos")'.dependencies] [target.'cfg(target_os = "macos")'.dependencies]

View File

@ -16,7 +16,6 @@ test-support = ["clock/test-support", "collections/test-support", "gpui/test-sup
chrono = { workspace = true, features = ["serde"] } chrono = { workspace = true, features = ["serde"] }
clock.workspace = true clock.workspace = true
collections.workspace = true collections.workspace = true
db.workspace = true
gpui.workspace = true gpui.workspace = true
util.workspace = true util.workspace = true
release_channel.workspace = true release_channel.workspace = true
@ -24,13 +23,11 @@ rpc.workspace = true
text.workspace = true text.workspace = true
settings.workspace = true settings.workspace = true
feature_flags.workspace = true feature_flags.workspace = true
sum_tree.workspace = true
anyhow.workspace = true anyhow.workspace = true
async-recursion = "0.3" async-recursion = "0.3"
async-tungstenite = { version = "0.16", features = ["async-std", "async-native-tls"] } async-tungstenite = { version = "0.16", features = ["async-std", "async-native-tls"] }
futures.workspace = true futures.workspace = true
image = "0.23"
lazy_static.workspace = true lazy_static.workspace = true
log.workspace = true log.workspace = true
once_cell = "1.19.0" once_cell = "1.19.0"
@ -39,7 +36,6 @@ postage.workspace = true
rand.workspace = true rand.workspace = true
schemars.workspace = true schemars.workspace = true
serde.workspace = true serde.workspace = true
serde_derive.workspace = true
serde_json.workspace = true serde_json.workspace = true
sha2.workspace = true sha2.workspace = true
smol.workspace = true smol.workspace = true
@ -49,7 +45,6 @@ tempfile.workspace = true
thiserror.workspace = true thiserror.workspace = true
time.workspace = true time.workspace = true
tiny_http = "0.8" tiny_http = "0.8"
uuid.workspace = true
url.workspace = true url.workspace = true
[dev-dependencies] [dev-dependencies]

View File

@ -7,6 +7,9 @@ version = "0.44.0"
publish = false publish = false
license = "AGPL-3.0-or-later" license = "AGPL-3.0-or-later"
[features]
seed-support = ["reqwest"]
[[bin]] [[bin]]
name = "collab" name = "collab"
@ -21,9 +24,7 @@ aws-config = { version = "1.1.5" }
aws-sdk-s3 = { version = "1.15.0" } aws-sdk-s3 = { version = "1.15.0" }
axum = { version = "0.5", features = ["json", "headers", "ws"] } axum = { version = "0.5", features = ["json", "headers", "ws"] }
axum-extra = { version = "0.3", features = ["erased-json"] } axum-extra = { version = "0.3", features = ["erased-json"] }
base64 = "0.13"
chrono.workspace = true chrono.workspace = true
clap = { version = "3.1", features = ["derive"], optional = true }
clock.workspace = true clock.workspace = true
clickhouse.workspace = true clickhouse.workspace = true
collections.workspace = true collections.workspace = true
@ -33,7 +34,6 @@ futures.workspace = true
hex.workspace = true hex.workspace = true
hyper = "0.14" hyper = "0.14"
lazy_static.workspace = true lazy_static.workspace = true
lipsum = { version = "0.8", optional = true }
live_kit_server.workspace = true live_kit_server.workspace = true
log.workspace = true log.workspace = true
nanoid = "0.4" nanoid = "0.4"
@ -49,17 +49,13 @@ semver.workspace = true
serde.workspace = true serde.workspace = true
serde_derive.workspace = true serde_derive.workspace = true
serde_json.workspace = true serde_json.workspace = true
sha-1 = "0.9"
sha2.workspace = true sha2.workspace = true
smallvec.workspace = true
sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "postgres", "json", "time", "uuid", "any"] } sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "postgres", "json", "time", "uuid", "any"] }
telemetry_events.workspace = true telemetry_events.workspace = true
text.workspace = true text.workspace = true
time.workspace = true time.workspace = true
tokio = { version = "1", features = ["full"] } tokio = { version = "1", features = ["full"] }
tokio-tungstenite = "0.17"
toml.workspace = true toml.workspace = true
tonic = "0.6"
tower = "0.4" tower = "0.4"
tower-http = { workspace = true, features = ["trace"] } tower-http = { workspace = true, features = ["trace"] }
tracing = "0.1.34" tracing = "0.1.34"
@ -103,6 +99,3 @@ theme.workspace = true
unindent.workspace = true unindent.workspace = true
util.workspace = true util.workspace = true
workspace = { workspace = true, features = ["test-support"] } workspace = { workspace = true, features = ["test-support"] }
[features]
seed-support = ["clap", "lipsum", "reqwest"]

View File

@ -7,13 +7,10 @@ license = "GPL-3.0-or-later"
[features] [features]
default = [] default = []
stories = ["dep:itertools", "dep:story"]
[lib] [lib]
path = "src/color.rs" path = "src/color.rs"
doctest = true doctest = true
[dependencies] [dependencies]
itertools = { workspace = true, optional = true }
palette = "0.7.3" palette = "0.7.3"
story = { workspace = true, optional = true }

View File

@ -10,7 +10,6 @@ path = "src/command_palette.rs"
doctest = false doctest = false
[dependencies] [dependencies]
anyhow.workspace = true
client.workspace = true client.workspace = true
collections.workspace = true collections.workspace = true
command_palette_hooks.workspace = true command_palette_hooks.workspace = true

View File

@ -28,15 +28,12 @@ command_palette_hooks.workspace = true
futures.workspace = true futures.workspace = true
gpui.workspace = true gpui.workspace = true
language.workspace = true language.workspace = true
log.workspace = true
lsp.workspace = true lsp.workspace = true
node_runtime.workspace = true node_runtime.workspace = true
parking_lot.workspace = true parking_lot.workspace = true
serde.workspace = true serde.workspace = true
serde_derive.workspace = true
settings.workspace = true settings.workspace = true
smol.workspace = true smol.workspace = true
theme.workspace = true
util.workspace = true util.workspace = true
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]

View File

@ -14,12 +14,9 @@ anyhow.workspace = true
copilot.workspace = true copilot.workspace = true
editor.workspace = true editor.workspace = true
fs.workspace = true fs.workspace = true
futures.workspace = true
gpui.workspace = true gpui.workspace = true
language.workspace = true language.workspace = true
settings.workspace = true settings.workspace = true
smol.workspace = true
theme.workspace = true
ui.workspace = true ui.workspace = true
util.workspace = true util.workspace = true
workspace.workspace = true workspace.workspace = true

View File

@ -18,13 +18,10 @@ gpui.workspace = true
language.workspace = true language.workspace = true
log.workspace = true log.workspace = true
lsp.workspace = true lsp.workspace = true
postage.workspace = true
project.workspace = true project.workspace = true
schemars.workspace = true schemars.workspace = true
serde.workspace = true serde.workspace = true
serde_derive.workspace = true
settings.workspace = true settings.workspace = true
smallvec.workspace = true
theme.workspace = true theme.workspace = true
ui.workspace = true ui.workspace = true
util.workspace = true util.workspace = true

View File

@ -22,22 +22,16 @@ gpui.workspace = true
human_bytes = "0.4.1" human_bytes = "0.4.1"
isahc.workspace = true isahc.workspace = true
language.workspace = true language.workspace = true
lazy_static.workspace = true
log.workspace = true log.workspace = true
menu.workspace = true menu.workspace = true
postage.workspace = true
project.workspace = true project.workspace = true
regex.workspace = true regex.workspace = true
release_channel.workspace = true release_channel.workspace = true
serde.workspace = true serde.workspace = true
serde_derive.workspace = true serde_derive.workspace = true
serde_json.workspace = true serde_json.workspace = true
settings.workspace = true
smallvec.workspace = true
smol.workspace = true smol.workspace = true
sysinfo.workspace = true sysinfo.workspace = true
theme.workspace = true
tree-sitter-markdown = { git = "https://github.com/MDeiml/tree-sitter-markdown", rev = "330ecab87a3e3a7211ac69bbadc19eabecdb1cca" }
ui.workspace = true ui.workspace = true
urlencoding = "2.1.2" urlencoding = "2.1.2"
util.workspace = true util.workspace = true

View File

@ -12,7 +12,6 @@ doctest = false
[dependencies] [dependencies]
anyhow.workspace = true anyhow.workspace = true
chrono.workspace = true chrono.workspace = true
dirs = "4.0"
editor.workspace = true editor.workspace = true
gpui.workspace = true gpui.workspace = true
log.workspace = true log.workspace = true
@ -20,7 +19,6 @@ schemars.workspace = true
serde.workspace = true serde.workspace = true
settings.workspace = true settings.workspace = true
shellexpand.workspace = true shellexpand.workspace = true
util.workspace = true
workspace.workspace = true workspace.workspace = true
[dev-dependencies] [dev-dependencies]

View File

@ -24,8 +24,6 @@ collections.workspace = true
futures.workspace = true futures.workspace = true
git.workspace = true git.workspace = true
gpui.workspace = true gpui.workspace = true
indoc = "1.0.4"
itertools.workspace = true
language.workspace = true language.workspace = true
log.workspace = true log.workspace = true
parking_lot.workspace = true parking_lot.workspace = true

View File

@ -16,9 +16,7 @@ async-tar.workspace = true
async-trait.workspace = true async-trait.workspace = true
futures.workspace = true futures.workspace = true
log.workspace = true log.workspace = true
parking_lot.workspace = true
serde.workspace = true serde.workspace = true
serde_derive.workspace = true
serde_json.workspace = true serde_json.workspace = true
smol.workspace = true smol.workspace = true
util.workspace = true util.workspace = true

View File

@ -21,15 +21,11 @@ test-support = [
anyhow.workspace = true anyhow.workspace = true
channel.workspace = true channel.workspace = true
client.workspace = true client.workspace = true
clock.workspace = true
collections.workspace = true collections.workspace = true
db.workspace = true db.workspace = true
feature_flags.workspace = true
gpui.workspace = true gpui.workspace = true
rpc.workspace = true rpc.workspace = true
settings.workspace = true
sum_tree.workspace = true sum_tree.workspace = true
text.workspace = true
time.workspace = true time.workspace = true
util.workspace = true util.workspace = true

View File

@ -13,11 +13,7 @@ doctest = false
editor.workspace = true editor.workspace = true
gpui.workspace = true gpui.workspace = true
menu.workspace = true menu.workspace = true
parking_lot.workspace = true
settings.workspace = true
theme.workspace = true
ui.workspace = true ui.workspace = true
util.workspace = true
workspace.workspace = true workspace.workspace = true
[dev-dependencies] [dev-dependencies]

View File

@ -31,10 +31,8 @@ copilot.workspace = true
fs.workspace = true fs.workspace = true
futures.workspace = true futures.workspace = true
fuzzy.workspace = true fuzzy.workspace = true
git.workspace = true
globset.workspace = true globset.workspace = true
gpui.workspace = true gpui.workspace = true
ignore = "0.4"
itertools.workspace = true itertools.workspace = true
language.workspace = true language.workspace = true
log.workspace = true log.workspace = true
@ -48,14 +46,12 @@ rand.workspace = true
regex.workspace = true regex.workspace = true
rpc.workspace = true rpc.workspace = true
task.workspace = true task.workspace = true
schemars.workspace = true
serde.workspace = true serde.workspace = true
serde_json.workspace = true serde_json.workspace = true
settings.workspace = true settings.workspace = true
sha2.workspace = true sha2.workspace = true
similar = "1.3" similar = "1.3"
smol.workspace = true smol.workspace = true
sum_tree.workspace = true
terminal.workspace = true terminal.workspace = true
text.workspace = true text.workspace = true
util.workspace = true util.workspace = true

View File

@ -10,18 +10,12 @@ path = "src/recent_projects.rs"
doctest = false doctest = false
[dependencies] [dependencies]
futures.workspace = true
fuzzy.workspace = true fuzzy.workspace = true
gpui.workspace = true gpui.workspace = true
language.workspace = true
menu.workspace = true menu.workspace = true
ordered-float.workspace = true ordered-float.workspace = true
picker.workspace = true picker.workspace = true
postage.workspace = true
settings.workspace = true
smol.workspace = true smol.workspace = true
text.workspace = true
theme.workspace = true
ui.workspace = true ui.workspace = true
util.workspace = true util.workspace = true
workspace.workspace = true workspace.workspace = true

View File

@ -16,17 +16,11 @@ test-support = [
] ]
[dependencies] [dependencies]
anyhow.workspace = true
collections.workspace = true
futures.workspace = true futures.workspace = true
gpui.workspace = true gpui.workspace = true
language.workspace = true language.workspace = true
lazy_static.workspace = true
linkify.workspace = true linkify.workspace = true
pulldown-cmark.workspace = true pulldown-cmark.workspace = true
smallvec.workspace = true
smol.workspace = true
sum_tree.workspace = true
theme.workspace = true theme.workspace = true
ui.workspace = true ui.workspace = true
util.workspace = true util.workspace = true

View File

@ -7,20 +7,13 @@ license = "GPL-3.0-or-later"
[dependencies] [dependencies]
anyhow.workspace = true anyhow.workspace = true
db.workspace = true
fs.workspace = true
futures.workspace = true
fuzzy.workspace = true fuzzy.workspace = true
gpui.workspace = true gpui.workspace = true
log.workspace = true
menu.workspace = true menu.workspace = true
picker.workspace = true picker.workspace = true
project.workspace = true project.workspace = true
task.workspace = true task.workspace = true
schemars.workspace = true
serde.workspace = true serde.workspace = true
serde_json.workspace = true
theme.workspace = true
ui.workspace = true ui.workspace = true
util.workspace = true util.workspace = true
workspace.workspace = true workspace.workspace = true

View File

@ -17,8 +17,6 @@ collections.workspace = true
dirs = "4.0.0" dirs = "4.0.0"
futures.workspace = true futures.workspace = true
gpui.workspace = true gpui.workspace = true
itertools.workspace = true
lazy_static.workspace = true
libc = "0.2" libc = "0.2"
procinfo = { git = "https://github.com/zed-industries/wezterm", rev = "0c13436f4fa8b126f46dd4a20106419b41666897", default-features = false } procinfo = { git = "https://github.com/zed-industries/wezterm", rev = "0c13436f4fa8b126f46dd4a20106419b41666897", default-features = false }
task.workspace = true task.workspace = true

View File

@ -19,24 +19,16 @@ futures.workspace = true
gpui.workspace = true gpui.workspace = true
itertools.workspace = true itertools.workspace = true
language.workspace = true language.workspace = true
lazy_static.workspace = true
libc = "0.2"
mio-extras = "2.0.6"
ordered-float.workspace = true
procinfo = { git = "https://github.com/zed-industries/wezterm", rev = "0c13436f4fa8b126f46dd4a20106419b41666897", default-features = false }
project.workspace = true project.workspace = true
task.workspace = true task.workspace = true
search.workspace = true search.workspace = true
serde.workspace = true serde.workspace = true
serde_derive.workspace = true
serde_json.workspace = true serde_json.workspace = true
settings.workspace = true settings.workspace = true
shellexpand.workspace = true shellexpand.workspace = true
smallvec.workspace = true
smol.workspace = true smol.workspace = true
terminal.workspace = true terminal.workspace = true
theme.workspace = true theme.workspace = true
thiserror.workspace = true
ui.workspace = true ui.workspace = true
util.workspace = true util.workspace = true
workspace.workspace = true workspace.workspace = true

View File

@ -7,7 +7,7 @@ license = "GPL-3.0-or-later"
[features] [features]
default = [] default = []
stories = ["dep:itertools", "dep:story"] stories = ["dep:story"]
test-support = ["gpui/test-support", "fs/test-support", "settings/test-support"] test-support = ["gpui/test-support", "fs/test-support", "settings/test-support"]
[lib] [lib]
@ -23,7 +23,6 @@ fs.workspace = true
futures.workspace = true futures.workspace = true
gpui.workspace = true gpui.workspace = true
indexmap = { version = "1.6.2", features = ["serde"] } indexmap = { version = "1.6.2", features = ["serde"] }
itertools = { workspace = true, optional = true }
palette = { version = "0.7.3", default-features = false, features = ["std"] } palette = { version = "0.7.3", default-features = false, features = ["std"] }
parking_lot.workspace = true parking_lot.workspace = true
refineable.workspace = true refineable.workspace = true
@ -35,7 +34,6 @@ serde_json_lenient.workspace = true
serde_repr.workspace = true serde_repr.workspace = true
settings.workspace = true settings.workspace = true
story = { workspace = true, optional = true } story = { workspace = true, optional = true }
toml.workspace = true
util.workspace = true util.workspace = true
uuid.workspace = true uuid.workspace = true

View File

@ -6,16 +6,12 @@ publish = false
license = "GPL-3.0-or-later" license = "GPL-3.0-or-later"
[dependencies] [dependencies]
any_ascii = "0.3.2"
anyhow.workspace = true anyhow.workspace = true
clap = { version = "4.4", features = ["derive"] } clap = { version = "4.4", features = ["derive"] }
convert_case = "0.6.0"
gpui.workspace = true gpui.workspace = true
indexmap = { version = "1.6.2", features = ["serde"] } indexmap = { version = "1.6.2", features = ["serde"] }
indoc.workspace = true
log.workspace = true log.workspace = true
palette = { version = "0.7.3", default-features = false, features = ["std"] } palette = { version = "0.7.3", default-features = false, features = ["std"] }
pathfinder_color = "0.5"
rust-embed.workspace = true rust-embed.workspace = true
schemars = { workspace = true, features = ["indexmap"] } schemars = { workspace = true, features = ["indexmap"] }
serde.workspace = true serde.workspace = true
@ -24,5 +20,4 @@ serde_json_lenient.workspace = true
simplelog = "0.9" simplelog = "0.9"
strum = { version = "0.25.0", features = ["derive"] } strum = { version = "0.25.0", features = ["derive"] }
theme.workspace = true theme.workspace = true
uuid.workspace = true
vscode_theme = "0.2.0" vscode_theme = "0.2.0"

View File

@ -14,7 +14,6 @@ anyhow.workspace = true
lazy_static.workspace = true lazy_static.workspace = true
sys-locale.workspace = true sys-locale.workspace = true
time.workspace = true time.workspace = true
util.workspace = true
[target.'cfg(target_os = "macos")'.dependencies] [target.'cfg(target_os = "macos")'.dependencies]
core-foundation.workspace = true core-foundation.workspace = true

View File

@ -10,7 +10,6 @@ name = "ui"
path = "src/ui.rs" path = "src/ui.rs"
[dependencies] [dependencies]
anyhow.workspace = true
chrono.workspace = true chrono.workspace = true
gpui.workspace = true gpui.workspace = true
itertools = { workspace = true, optional = true } itertools = { workspace = true, optional = true }

View File

@ -31,7 +31,6 @@ serde.workspace = true
serde_derive.workspace = true serde_derive.workspace = true
serde_json.workspace = true serde_json.workspace = true
settings.workspace = true settings.workspace = true
theme.workspace = true
tokio = { version = "1.15", "optional" = true } tokio = { version = "1.15", "optional" = true }
ui.workspace = true ui.workspace = true
workspace.workspace = true workspace.workspace = true

View File

@ -64,6 +64,7 @@ node_runtime.workspace = true
notifications.workspace = true notifications.workspace = true
outline.workspace = true outline.workspace = true
parking_lot.workspace = true parking_lot.workspace = true
profiling.workspace = true
project.workspace = true project.workspace = true
project_panel.workspace = true project_panel.workspace = true
project_symbols.workspace = true project_symbols.workspace = true
@ -131,3 +132,6 @@ name = "Zed"
osx_minimum_system_version = "10.15.7" osx_minimum_system_version = "10.15.7"
osx_info_plist_exts = ["resources/info/*"] osx_info_plist_exts = ["resources/info/*"]
osx_url_schemes = ["zed"] osx_url_schemes = ["zed"]
[package.metadata.cargo-machete]
ignored = ["profiling"]