From 9ba37dd2b47af57c65131cd9d70398f49284d59a Mon Sep 17 00:00:00 2001 From: dak2 Date: Sun, 3 May 2026 17:13:47 +0900 Subject: [PATCH] Deprecate 'methodray-lsp' binary Why: LSP/editor completion is no longer in scope for this project. Surface a deprecation warning now so any current users can migrate before the binary is removed in a future release. - Print a runtime warning to stderr on startup - Add [DEPRECATED] notice to the binary's module doc comment - Mark the [[bin]] section in core/Cargo.toml with a [DEPRECATED] comment Co-Authored-By: Claude Opus 4.7 (1M context) --- core/Cargo.toml | 1 + core/src/lsp/main.rs | 3 +++ 2 files changed, 4 insertions(+) diff --git a/core/Cargo.toml b/core/Cargo.toml index d82e4af..71027d3 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -12,6 +12,7 @@ name = "methodray" path = "src/main.rs" required-features = ["cli"] +# [DEPRECATED] methodray-lsp will be removed in a future version. [[bin]] name = "methodray-lsp" path = "src/lsp/main.rs" diff --git a/core/src/lsp/main.rs b/core/src/lsp/main.rs index 7c640ef..e1abad2 100644 --- a/core/src/lsp/main.rs +++ b/core/src/lsp/main.rs @@ -1,8 +1,11 @@ //! LSP server binary entry point +//! +//! [DEPRECATED] methodray-lsp will be removed in a future version. use methodray_core::lsp; #[tokio::main] async fn main() { + eprintln!("WARNING: 'methodray-lsp' is deprecated and will be removed in a future version."); lsp::run_server().await; }