Zed extension for deps-lsp — intelligent dependency management in Cargo.toml, package.json, Gemfile, and more.
- Version Hints — Inline status indicators (✅ up-to-date, ❌ outdated)
- Lock File Support — Resolved versions from Cargo.lock, package-lock.json, Gemfile.lock, etc.
- Hover Information — Version list with resolved version from lock file
- Diagnostics — Warnings for outdated, yanked, or unknown packages
- Code Actions — Quick version updates via
Cmd+. - Autocomplete — Package names, versions, and feature flags
Install Deps from Zed Extensions:
- Open Zed
- Press
Cmd+Shift+Xto open Extensions - Search for "Deps"
- Click Install
Configure in Zed settings (Cmd+,):
{
"lsp": {
"deps-lsp": {
"initialization_options": {
"inlay_hints": {
"enabled": true,
"up_to_date_text": "✅",
"needs_update_text": "❌ {}"
},
"diagnostics": {
"outdated_severity": "hint",
"unknown_severity": "warning"
}
}
}
}
}| Ecosystem | Manifest | Lock File |
|---|---|---|
| Rust | Cargo.toml |
Cargo.lock |
| npm | package.json |
package-lock.json |
| Python | pyproject.toml |
poetry.lock, uv.lock |
| Go | go.mod |
go.sum |
| Ruby | Gemfile |
Gemfile.lock |
Install Rust via rustup and add the WASM target:
rustup target add wasm32-wasip1cd crates/deps-zed
cargo build --release --target wasm32-wasip1- Build the extension (see above)
- Open Zed
- Run command:
zed: install dev extension - Select the
crates/deps-zeddirectory
The extension will load from your local build. To see logs, run Zed from terminal:
zed --foreground- Install the Ruby extension in Zed
- Open a project with
GemfileandGemfile.lock - Verify inlay hints and hover information appear
