chore: Remove gpui test-support feature

This commit is contained in:
Floyd Wang 2025-09-19 17:28:16 +08:00
parent 299e5ed5fc
commit d3d2a9ee49
2 changed files with 12 additions and 63 deletions

51
Cargo.lock generated
View file

@ -2979,19 +2979,6 @@ dependencies = [
"winapi", "winapi",
] ]
[[package]]
name = "git2"
version = "0.20.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2deb07a133b1520dc1a5690e9bd08950108873d7ed5de38dcc74d3b5ebffa110"
dependencies = [
"bitflags 2.9.1",
"libc",
"libgit2-sys",
"log",
"url",
]
[[package]] [[package]]
name = "glib" name = "glib"
version = "0.18.5" version = "0.18.5"
@ -3131,7 +3118,6 @@ dependencies = [
"as-raw-xcb-connection", "as-raw-xcb-connection",
"ashpd 0.11.0", "ashpd 0.11.0",
"async-task", "async-task",
"backtrace",
"bindgen 0.71.1", "bindgen 0.71.1",
"blade-graphics", "blade-graphics",
"blade-macros", "blade-macros",
@ -4298,18 +4284,6 @@ dependencies = [
"cc", "cc",
] ]
[[package]]
name = "libgit2-sys"
version = "0.18.2+1.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1c42fe03df2bd3c53a3a9c7317ad91d80c81cd1fb0caec8d7cc4cd2bfa10c222"
dependencies = [
"cc",
"libc",
"libz-sys",
"pkg-config",
]
[[package]] [[package]]
name = "libloading" name = "libloading"
version = "0.8.8" version = "0.8.8"
@ -4337,18 +4311,6 @@ dependencies = [
"redox_syscall 0.5.17", "redox_syscall 0.5.17",
] ]
[[package]]
name = "libz-sys"
version = "1.1.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8b70e7a7df205e92a1a4cd9aaae7898dac0aa555503cc0a649494d0d60e7651d"
dependencies = [
"cc",
"libc",
"pkg-config",
"vcpkg",
]
[[package]] [[package]]
name = "linux-raw-sys" name = "linux-raw-sys"
version = "0.3.8" version = "0.3.8"
@ -9253,13 +9215,11 @@ dependencies = [
"dunce", "dunce",
"futures", "futures",
"futures-lite 1.13.0", "futures-lite 1.13.0",
"git2",
"globset", "globset",
"itertools 0.14.0", "itertools 0.14.0",
"libc", "libc",
"log", "log",
"nix 0.29.0", "nix 0.29.0",
"rand 0.9.2",
"regex", "regex",
"rust-embed", "rust-embed",
"schemars", "schemars",
@ -9272,21 +9232,10 @@ dependencies = [
"tempfile", "tempfile",
"tendril", "tendril",
"unicase", "unicase",
"util_macros",
"walkdir", "walkdir",
"workspace-hack", "workspace-hack",
] ]
[[package]]
name = "util_macros"
version = "0.1.0"
source = "git+https://github.com/zed-industries/zed.git#53b2f37452189870c93d4514604f903d5ed885d9"
dependencies = [
"quote",
"syn 2.0.105",
"workspace-hack",
]
[[package]] [[package]]
name = "uuid" name = "uuid"
version = "1.18.0" version = "1.18.0"

View file

@ -1,12 +1,12 @@
[package] [package]
name = "gpui-component"
description = "UI components for building fantastic desktop application by using GPUI." description = "UI components for building fantastic desktop application by using GPUI."
version = "0.1.0"
edition = "2021" edition = "2021"
homepage = "https://github.com/longbridge/gpui-component" homepage = "https://github.com/longbridge/gpui-component"
keywords = ["GPUI", "application", "desktop", "ui"] keywords = ["GPUI", "application", "desktop", "ui"]
license-file = "LICENSE-APACHE" license-file = "LICENSE-APACHE"
name = "gpui-component"
publish = true publish = true
version = "0.1.0"
[lib] [lib]
doctest = false doctest = false
@ -44,25 +44,25 @@ tree-sitter-languages = [
"dep:tree-sitter-toml-ng", "dep:tree-sitter-toml-ng",
"dep:tree-sitter-typescript", "dep:tree-sitter-typescript",
"dep:tree-sitter-yaml", "dep:tree-sitter-yaml",
"dep:tree-sitter-zig" "dep:tree-sitter-zig",
] ]
[dependencies] [dependencies]
gpui = { workspace = true, "features" = ["test-support"] } anyhow.workspace = true
sum_tree.workspace = true gpui = { workspace = true }
gpui_macros.workspace = true
rope.workspace = true
gpui-component-macros.workspace = true gpui-component-macros.workspace = true
gpui_macros.workspace = true
notify.workspace = true
rope.workspace = true
rust-i18n.workspace = true rust-i18n.workspace = true
schemars.workspace = true schemars.workspace = true
serde.workspace = true serde.workspace = true
serde_repr.workspace = true
serde_json.workspace = true serde_json.workspace = true
serde_repr.workspace = true
smallvec.workspace = true smallvec.workspace = true
smol.workspace = true smol.workspace = true
sum_tree.workspace = true
tracing.workspace = true tracing.workspace = true
anyhow.workspace = true
notify.workspace = true
enum-iterator = "2.1.0" enum-iterator = "2.1.0"
itertools = "0.13.0" itertools = "0.13.0"
@ -90,10 +90,9 @@ markup5ever_rcdom = "0.3.0"
chrono = "0.4.38" chrono = "0.4.38"
# Code Editor # Code Editor
lsp-types.workspace = true
aho-corasick = "1.1.3" aho-corasick = "1.1.3"
lsp-types.workspace = true
tree-sitter = "0.25.4" tree-sitter = "0.25.4"
tree-sitter-json = "0.24.8"
tree-sitter-bash = { version = "0.23.3", optional = true } tree-sitter-bash = { version = "0.23.3", optional = true }
tree-sitter-c = { version = "0.24.1", optional = true } tree-sitter-c = { version = "0.24.1", optional = true }
tree-sitter-c-sharp = { version = "0.23.1", optional = true } tree-sitter-c-sharp = { version = "0.23.1", optional = true }
@ -109,6 +108,7 @@ tree-sitter-html = { version = "0.23.2", optional = true }
tree-sitter-java = { version = "0.23.5", optional = true } tree-sitter-java = { version = "0.23.5", optional = true }
tree-sitter-javascript = { version = "0.23.1", optional = true } tree-sitter-javascript = { version = "0.23.1", optional = true }
tree-sitter-jsdoc = { version = "0.23.2", optional = true } tree-sitter-jsdoc = { version = "0.23.2", optional = true }
tree-sitter-json = "0.24.8"
tree-sitter-make = { version = "1.1.1", optional = true } tree-sitter-make = { version = "1.1.1", optional = true }
tree-sitter-md = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", tag = "v0.5.0", optional = true } tree-sitter-md = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", tag = "v0.5.0", optional = true }
tree-sitter-proto = { version = "0.2.0", optional = true } tree-sitter-proto = { version = "0.2.0", optional = true }