From 14ce6ca0ff12c837f1c2da57561ed08dd6188ac0 Mon Sep 17 00:00:00 2001 From: Jeremy Fleischman Date: Fri, 25 Oct 2024 18:40:34 -0500 Subject: [PATCH] Bump to an experimental version of `tower-lsp` This version of `tower-lsp` includes https://github.com/ebkalderon/tower-lsp/pull/428, which fixes https://github.com/elijah-potter/harper/issues/139 --- Cargo.lock | 6 ++---- harper-ls/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 363bf302..b228713e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1458,8 +1458,7 @@ checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0" [[package]] name = "tower-lsp" version = "0.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4ba052b54a6627628d9b3c34c176e7eda8359b7da9acd497b9f20998d118508" +source = "git+https://github.com/jfly/tower-lsp.git?branch=actually-exit-buildable#1a765a4586bb7cdeb8cbebb4d488680fcfde4dc9" dependencies = [ "async-trait", "auto_impl", @@ -1481,8 +1480,7 @@ dependencies = [ [[package]] name = "tower-lsp-macros" version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84fd902d4e0b9a4b27f2f440108dc034e1758628a9b702f8ec61ad66355422fa" +source = "git+https://github.com/jfly/tower-lsp.git?branch=actually-exit-buildable#1a765a4586bb7cdeb8cbebb4d488680fcfde4dc9" dependencies = [ "proc-macro2", "quote", diff --git a/harper-ls/Cargo.toml b/harper-ls/Cargo.toml index 7c80b351..b7405103 100644 --- a/harper-ls/Cargo.toml +++ b/harper-ls/Cargo.toml @@ -11,7 +11,7 @@ repository = "https://github.com/elijah-potter/harper" harper-core = { path = "../harper-core", version = "0.12.0", features = ["concurrent"] } harper-comments = { path = "../harper-comments", version = "0.12.0" } harper-html = { path = "../harper-html", version = "0.12.0" } -tower-lsp = "0.20.0" +tower-lsp = { git = "https://github.com/jfly/tower-lsp.git", branch = "actually-exit-buildable" } tokio = { version = "1.40.0", features = ["fs", "rt", "rt-multi-thread", "macros", "io-std", "io-util", "net"] } clap = { version = "4.5.18", features = ["derive"] } once_cell = "1.20.2"