| Crates.io | deps-cargo |
| lib.rs | deps-cargo |
| version | 0.5.4 |
| created_at | 2025-12-22 14:22:13.234391+00 |
| updated_at | 2026-01-15 17:18:10.805413+00 |
| description | Cargo.toml support for deps-lsp |
| homepage | |
| repository | https://github.com/bug-ops/deps-lsp |
| max_upload_size | |
| id | 1999778 |
| size | 191,140 |
Cargo.toml support for deps-lsp.
This crate provides parsing and registry integration for Rust's Cargo ecosystem.
Cargo.toml with position tracking using toml_editCargo.lockworkspace.dependencies inheritancedeps_core::EcosystemHandler trait[dependencies]
deps-cargo = "0.5"
use deps_cargo::{parse_cargo_toml, CratesIoRegistry};
let dependencies = parse_cargo_toml(content)?;
let registry = CratesIoRegistry::new(cache);
let versions = registry.get_versions("serde").await?;
cargo bench -p deps-cargo
Parsing performance: ~4μs for small files, ~55μs for large files (100+ dependencies).