diff --git a/Cargo.toml b/Cargo.toml index 0e9d4ed82..43a599d9a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -69,7 +69,7 @@ tracing-appender = "0.1" ctrlc = "3.1.9" strum = { version = "0.22", features = ["derive"] } bitcoincore-rpc = "0.14.0" -tower-lsp = "0.14.0" +tower-lsp = { version = "0.14.0", optional = true } [dependencies.tui] version = "0.15.0" @@ -97,7 +97,7 @@ path = "src/bin.rs" [features] default = ["cli"] -cli = ["swc_common", "deno", "deno_runtime", "deno_core", "clap"] +cli = ["swc_common", "deno", "deno_runtime", "deno_core", "clap", "tower-lsp"] [workspace] members = [