Skip to content

Type to search extensions

Cargo Appraiser

v0.2.1

LSP for Cargo.toml. You need to enable zed's inlay_hints.

Updated 4 days ago
60k downloads 7 stars Repository ↗

zed-cargo-appraiser

A Zed extension for the cargo-appraiser LSP server.

Features

  • Version Decorations - Shows installed vs latest versions inline
  • Hover Information - Available versions, features, and git references
  • Code Actions - Update dependencies
  • Audit Warnings - Security vulnerability information

Note: Enable Zed's inlay hints to see version decorations.

Installation

Install from the Zed Extensions panel.

Configuration

Configure in your Zed settings.json:

{
  "lsp": {
    "cargo-appraiser": {
      // Pin to a specific version (optional)
      "settings": {
        "version": "0.3.0"
      },
      // LSP initialization options
      "initialization_options": {
        // See upstream docs for all options
      }
    }
  }
}

Custom Binary

{
  "lsp": {
    "cargo-appraiser": {
      "binary": {
        "path": "/path/to/cargo-appraiser",
        "arguments": ["--renderer", "inlayHint"]
      }
    }
  }
}

Documentation

For full configuration options (decoration formatters, audit settings, etc.), see the cargo-appraiser documentation.

Troubleshooting

macOS Gatekeeper

If macOS blocks the binary:

xattr -d com.apple.quarantine ~/.zed/extensions/*/cargo-appraiser-*/cargo-appraiser

Audit not working

Install cargo-audit:

cargo install cargo-audit --locked
ZedExt An unofficial community project. Not affiliated with Zed Industries.

Data from Zed’s extension registry and GitHub · updated