Skip to main content

Crate lspkit

Crate lspkit 

Source
Expand description

lspkit — generic Rust infrastructure for building LSP+MCP servers.

The headline contribution is EngineApi — the contract that an LSP backend and an MCP server both consume so live analysis state is computed once and vended two ways. See spec.md at the workspace root for the full behavioral contract.

use lspkit::prelude::*;

Re-exports§

pub use crate::engine::Cause;
pub use crate::engine::EngineApi;
pub use crate::engine::Generation;
pub use crate::engine::GenerationEvent;
pub use crate::engine::GenerationEventStream;
pub use crate::engine::Progress;
pub use crate::engine::RescanScope;
pub use crate::engine::RescanTicket;
pub use crate::engine::Snapshot;

Modules§

engine
EngineApi — the contract every engine implementation satisfies.
prelude
Re-exports of the most commonly used items.