From ed3bc2b294cf57f98bbe9b9c8613d9c90b97bba2 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Thu, 13 Feb 2025 08:41:46 -0500 Subject: [PATCH] Remove unused dependencies The dependabot file was matching on tree-sitter crates - that's a relic from v0.6.0 and lower where grammars were regular dependencies. The remaining changes are unused crates that were forgotten about during shuffles like moving path canonicalization from helix-core to helix-loader (and then again from helix-loader to helix-stdx). --- .github/dependabot.yml | 3 --- Cargo.lock | 17 ----------------- helix-core/Cargo.toml | 2 -- helix-loader/Cargo.toml | 1 - helix-lsp-types/Cargo.toml | 1 - helix-lsp/Cargo.toml | 1 - helix-tui/Cargo.toml | 1 - 7 files changed, 26 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 286441b6..0e460ebe 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -8,9 +8,6 @@ updates: schedule: interval: "weekly" groups: - tree-sitter: - patterns: - - "tree-sitter*" rust-dependencies: update-types: - "minor" diff --git a/Cargo.lock b/Cargo.lock index a2933abc..0a69dc83 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1322,9 +1322,7 @@ dependencies = [ "arc-swap", "bitflags", "chrono", - "dunce", "encoding_rs", - "etcetera", "globset", "hashbrown 0.14.5", "helix-loader", @@ -1389,7 +1387,6 @@ version = "25.1.1" dependencies = [ "anyhow", "cc", - "dunce", "etcetera", "helix-stdx", "libloading", @@ -1414,7 +1411,6 @@ dependencies = [ "helix-core", "helix-loader", "helix-lsp-types", - "helix-parsec", "helix-stdx", "log", "parking_lot", @@ -1433,7 +1429,6 @@ dependencies = [ "bitflags", "serde", "serde_json", - "serde_repr", "url", ] @@ -1516,7 +1511,6 @@ dependencies = [ "helix-view", "log", "once_cell", - "serde", "termini", "unicode-segmentation", ] @@ -2308,17 +2302,6 @@ dependencies = [ "serde", ] -[[package]] -name = "serde_repr" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "serde_spanned" version = "0.6.8" diff --git a/helix-core/Cargo.toml b/helix-core/Cargo.toml index ad229b71..e834582f 100644 --- a/helix-core/Cargo.toml +++ b/helix-core/Cargo.toml @@ -39,7 +39,6 @@ regex = "1" bitflags.workspace = true ahash = "0.8.11" hashbrown = { version = "0.14.5", features = ["raw"] } -dunce = "1.0" url = "2.5.4" log = "0.4" @@ -54,7 +53,6 @@ encoding_rs = "0.8" chrono = { version = "0.4", default-features = false, features = ["alloc", "std"] } -etcetera = "0.8" textwrap = "0.16.1" nucleo.workspace = true diff --git a/helix-loader/Cargo.toml b/helix-loader/Cargo.toml index d97bf9d1..0b57bc5a 100644 --- a/helix-loader/Cargo.toml +++ b/helix-loader/Cargo.toml @@ -31,7 +31,6 @@ log = "0.4" cc = { version = "1" } threadpool = { version = "1.0" } tempfile.workspace = true -dunce = "1.0.5" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] libloading = "0.8" diff --git a/helix-lsp-types/Cargo.toml b/helix-lsp-types/Cargo.toml index 57eb331a..3672d99c 100644 --- a/helix-lsp-types/Cargo.toml +++ b/helix-lsp-types/Cargo.toml @@ -24,7 +24,6 @@ license = "MIT" bitflags.workspace = true serde = { version = "1.0.217", features = ["derive"] } serde_json = "1.0.138" -serde_repr = "0.1" url = {version = "2.5.4", features = ["serde"]} [features] diff --git a/helix-lsp/Cargo.toml b/helix-lsp/Cargo.toml index 12da18e9..f520d6ad 100644 --- a/helix-lsp/Cargo.toml +++ b/helix-lsp/Cargo.toml @@ -16,7 +16,6 @@ homepage.workspace = true helix-stdx = { path = "../helix-stdx" } helix-core = { path = "../helix-core" } helix-loader = { path = "../helix-loader" } -helix-parsec = { path = "../helix-parsec" } helix-lsp-types = { path = "../helix-lsp-types" } anyhow = "1.0" diff --git a/helix-tui/Cargo.toml b/helix-tui/Cargo.toml index 0a3a3553..92d85251 100644 --- a/helix-tui/Cargo.toml +++ b/helix-tui/Cargo.toml @@ -23,6 +23,5 @@ cassowary = "0.3" unicode-segmentation.workspace = true crossterm = { version = "0.28", optional = true } termini = "1.0" -serde = { version = "1", "optional" = true, features = ["derive"]} once_cell = "1.20" log = "~0.4"