Lutra/crates/lsp/Cargo.toml
danny 81831c90e0 M3.2: LSP client core (framing, supervision, requests, document sync)
crates/lsp is now a library: Content-Length JSON-RPC framing over stdio
(32 MiB cap, malformed frames dropped and reported, fuzzed), Server::spawn
with initialize/initialized (utf-16, incremental sync, completion, hover,
signatureHelp, definition, references, rename, publishDiagnostics),
typed requests with timeouts and $/cancelRequest, answers to server
requests (configuration nulls, MethodNotFound), events on a bounded
channel, supervision with backoff restarts that reopen documents and
give up after 5 crashes in 2 min, shutdown/exit, and incremental
document sync from lutra_text edits. Tested against a scripted fake
server binary; docs: architecture, G6.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 00:57:10 +02:00

29 lines
554 B
TOML

[package]
name = "lutra-lsp"
description = "Language server client (Phpactor first), later a DAP client"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
authors.workspace = true
publish.workspace = true
[package.metadata.lutra]
layer = 3
[[bin]]
name = "lutra-lsp-fake"
path = "src/bin/lutra-lsp-fake.rs"
test = false
doc = false
[dependencies]
lutra-text.workspace = true
serde_json = "1.0.154"
[dev-dependencies]
proptest.workspace = true
tempfile.workspace = true
[lints]
workspace = true