Crate deps_lsp

Crate deps_lsp 

Source

Re-exports§

pub use server::Backend;

Modules§

config
document
Document management module.
file_watcher
Lock file watching infrastructure.
handlers
LSP protocol handlers.
progress
LSP Work Done Progress protocol support for loading indicators.
server

Structs§

CargoEcosystem
Cargo ecosystem implementation.
CargoParser
Parser for Cargo.toml manifests implementing the deps-core traits.
CargoVersion
Version information for a crate from crates.io.
CrateInfo
Crate metadata from crates.io search API.
CratesIoRegistry
Client for interacting with crates.io registry.
EcosystemRegistry
Registry for all available ecosystems.
GoDependency
A dependency from a go.mod file.
GoEcosystem
Go modules ecosystem implementation.
GoParseResult
Result of parsing a go.mod file.
GoRegistry
Client for interacting with proxy.golang.org.
GoVersion
Version information from proxy.golang.org.
HttpCache
HTTP cache with ETag and Last-Modified validation.
NpmDependency
Parsed dependency from package.json with position tracking.
NpmEcosystem
npm ecosystem implementation.
NpmPackage
Package metadata from npm registry.
NpmParseResult
Result of parsing a package.json file.
NpmRegistry
Client for interacting with the npm registry.
NpmVersion
Version information for an npm package.
ParseResult
Result of parsing a Cargo.toml file.
ParsedDependency
Parsed dependency from Cargo.toml with position tracking.
PypiDependency
Parsed dependency from pyproject.toml with position tracking.
PypiEcosystem
PyPI ecosystem implementation.
PypiParser
Parser for Python pyproject.toml files.
PypiRegistry
Client for interacting with the PyPI registry.
PypiVersion
Version information for a package from PyPI.

Enums§

DependencySection
Section in Cargo.toml where a dependency is declared.
DependencySource
Source location of a dependency.
DepsError
Core error types for deps-lsp.
GoDirective
Go module directive types.
NpmDependencySection
Section in package.json where a dependency is declared.
PypiDependencySection
Section in pyproject.toml where a dependency is declared.

Functions§

parse_cargo_toml
Parses a Cargo.toml file and extracts all dependencies with positions.
parse_go_mod
Parses a go.mod file and extracts all dependencies with positions.
parse_package_json
Parses a package.json file and extracts all dependencies with positions.
register_ecosystems
Registers all enabled ecosystems.

Type Aliases§

Result
Convenience type alias for Result<T, DepsError>.