Skip to main content

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§

ArtifactInfo
BundlerDependency
Parsed dependency from Gemfile with position tracking.
BundlerEcosystem
Bundler ecosystem implementation.
BundlerParseResult
Result of parsing a Gemfile.
BundlerVersion
Version information for a gem from rubygems.org.
CargoEcosystem
Cargo ecosystem implementation.
CargoParser
Parser for Cargo.toml manifests implementing the deps-core traits.
CargoVersion
Version information for a crate from crates.io.
ComposerDependency
Parsed dependency from composer.json with position tracking.
ComposerEcosystem
Composer ecosystem implementation.
ComposerPackage
Package metadata from Packagist search.
ComposerParseResult
Result of parsing a composer.json file.
ComposerVersion
Version information for a Packagist package.
CrateInfo
Crate metadata from crates.io search API.
CratesIoRegistry
Client for interacting with crates.io registry.
DartDependency
DartEcosystem
DartFormatter
DartParseResult
DartVersion
DenoDependency
A parsed Deno import, scheme-qualified (D2).
DenoEcosystem
Deno ecosystem implementation.
DenoFormatter
EcosystemFormatter for Deno manifests (D4).
DenoMetadata
Wraps a Box<dyn Metadata> returned by deps_npm::NpmRegistry::search.
DenoParseResult
Result of parsing a deno.json/deno.jsonc file.
DenoRegistry
The deps_core::Registry implementation for Deno manifests (D3).
EcosystemRegistry
Registry for all available ecosystems.
EcosystemRuntime
Live-updatable settings register_ecosystems threads into every ecosystem that needs them.
GemInfo
Gem metadata from rubygems.org.
GemfileLockParser
Gemfile.lock parser.
GithubActionsDependency
Parsed uses: dependency from a GitHub Actions workflow file, with position tracking.
GithubActionsEcosystem
GitHub Actions ecosystem implementation.
GithubActionsFormatter
Formatter for GitHub Actions ecosystem LSP responses.
GithubActionsParseResult
Result of parsing a .github/workflows/*.yml/*.yaml file.
GithubActionsRegistry
Client for fetching GitHub Actions version information from the GitHub tags API.
GithubActionsVersion
Version information for a GitHub Actions dependency (a repository tag).
GitlabCiDependency
Parsed include: dependency from a .gitlab-ci.yml-syntax file, with position tracking.
GitlabCiEcosystem
GitLab CI ecosystem implementation.
GitlabCiFormatter
Formatter for GitLab CI ecosystem LSP responses.
GitlabCiParseResult
Result of parsing a .gitlab-ci.yml-syntax file.
GitlabCiRegistry
deps_core::Registry implementation for GitLab CI, routing every fetch across the registered (host, endpoint) table (spec §7a).
GitlabCiVersion
Version information for a GitLab CI dependency: a repository tag (project:) or a project release (component:).
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.
GradleDependency
GradleEcosystem
GradleFormatter
GradleParseResult
GradleVersion
HttpCache
HTTP cache with ETag and Last-Modified validation.
JsrPackage
A JSR package search result, from https://api.jsr.io/packages?query=.
JsrRegistry
Client for the JSR registry (jsr.io for package metadata, api.jsr.io for search).
JsrVersion
A JSR package version, from https://jsr.io/@{scope}/{pkg}/meta.json.
MavenCentralRegistry
MavenDependency
MavenEcosystem
MavenFormatter
MavenParseResult
MavenVersion
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.
NuGetDependency
A single PackageReference / PackageVersion / package entry from a manifest.
NuGetEcosystem
NuGet/.NET ecosystem implementation.
NuGetFormatter
NuGetLockParser
NuGetParseResult
Parsed result of a single manifest file (.csproj, Directory.Packages.props, packages.config).
NuGetRegistry
NuGetVersion
A single version of a package, as returned by the NuGet flat-container endpoint.
PackageInfo
PackagistRegistry
Client for interacting with the Packagist registry.
ParseResult
Result of parsing a Cargo.toml file.
ParsedDependency
Parsed dependency from Cargo.toml with position tracking.
PubDevRegistry
PubspecLockParser
PypiDependency
Parsed dependency from pyproject.toml with position tracking.
PypiEcosystem
PyPI ecosystem implementation.
PypiParser
Parser for Python dependency manifests.
PypiRegistry
Client for interacting with the PyPI registry.
PypiVersion
Version information for a package from PyPI.
RubyGemsRegistry
Client for interacting with rubygems.org registry.
SwiftDependency
Parsed dependency from Package.swift with position tracking.
SwiftEcosystem
Swift/SPM ecosystem implementation.
SwiftFormatter
Formatter for Swift/SPM ecosystem LSP responses.
SwiftLockParser
Package.resolved file parser.
SwiftPackage
Package metadata from GitHub API.
SwiftParseResult
Result of parsing a Package.swift file.
SwiftRegistry
Client for fetching Swift package information from GitHub.
SwiftVersion
Version information for a Swift package (GitHub tag).

Enums§

ComposerSection
Section in composer.json where a dependency is declared.
DenoDependencySection
Section of a deno.json manifest a dependency was declared in.
DependencyGroup
Gem group classification.
DependencySection
Section in Cargo.toml where a dependency is declared.
DependencySource
Dependency source location (shared across all ecosystems).
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_composer_json
Parses a composer.json file and extracts all non-platform dependencies with positions.
parse_deno_json
Parses a deno.json/deno.jsonc file and extracts all imports entries with positions.
parse_gemfile
Parses a Gemfile and extracts all dependencies with positions.
parse_gitlab_ci_yaml
Parses a .gitlab-ci.yml-syntax file and returns every include: dependency found, with LSP position tracking, host resolution, and routing.
parse_go_mod
Parses a go.mod file and extracts all dependencies with positions, using a fresh, default GoParseContext.
parse_gradle
parse_package_json
Parses a package.json file and extracts all dependencies with positions.
parse_package_swift
Parses a Package.swift file and returns all dependencies with LSP positions.
parse_pom_xml
parse_project_file
Parses a .csproj/.fsproj/.vbproj MSBuild project file, extracting PackageReference entries.
parse_pubspec_yaml
parse_workflow_yaml
Parses a .github/workflows/*.yml/*.yaml file and returns every uses: dependency found, with LSP position tracking.
register_ecosystems
Registers all enabled ecosystems.

Type Aliases§

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