Skip to main content

Crate vlz_lsp

Crate vlz_lsp 

Source
Expand description

Stdio Language Server Protocol adapter for verilyze scan diagnostics.

Structs§

ApplyDeclaration
Declaration path carried in Apply upgrade arguments (FR-043).
ApplyUpgradeRequest
Structured apply payload shared by diagnostics and executeCommand (FR-043).
LspServer
Stateless message handler used by protocol tests and the stdio server.
ScanDiagnostic
A vulnerability diagnostic emitted by the scan adapter.
ScanResult
A diagnostic-ready scan result.

Constants§

APPLY_UPGRADE_COMMAND
Writing Code Action: apply one upgrade via the Remediator path (FR-043).
APPLY_UPGRADE_TITLE
Code Action title for APPLY_UPGRADE_COMMAND.
DEPENDENCY_SAVE_BASENAMES
Basenames that trigger a rescan on save (NFR-026 incremental filter).
DIAGNOSTIC_SOURCE
FIX_DRY_RUN_CLI
MAX_MESSAGE_BYTES
SERVER_NAME
SHOW_FIX_DRY_RUN_COMMAND
Non-writing Code Action: show the CLI dry-run command (FR-042).
SHOW_FIX_DRY_RUN_TITLE
Code Action title for SHOW_FIX_DRY_RUN_COMMAND.
SHOW_UPGRADE_PLAN_COMMAND

Traits§

ScanService
Narrow scan / apply boundary supplied by the binary crate.

Functions§

file_uri_for_path
Convert an absolute local path to an LSP file: URI.
is_dependency_save_path
True when a saved path should trigger a dependency rescan.
run_stdio
Run the blocking stdio protocol loop.