crates-inspector

Crates.iocrates-inspector
lib.rscrates-inspector
version0.1.8
created_at2025-06-30 09:56:34.858272+00
updated_at2025-07-05 11:11:03.747557+00
descriptionTerminal tool for crates dependencies manager.
homepagehttps://crates.io/crates/crates-inspector
repositoryhttps://github.com/Feelin/crates-inspector
max_upload_size
id1731619
size71,201
William (Feelin)

documentation

README

crates-inspector 🔍

A command-line tool for managing Rust package dependencies directly in your terminal.

crates.io crates.io dependency status Minimum Stable Rust Version License: GPL-3.0-only

Features ✨

  • Dependency Listing:
    • List all dependencies in your project
    • Show only direct dependencies
  • Sorting:
    • Order by package name (alphabetical)
    • Order by dependency size
    • Order by dependency version
  • Filtering:
    • Filter dependencies by name
  • Project Statistics:
    • Count total dependencies
    • Calculate combined size of dependencies
  • Lightweight:
    • Fast, native Rust implementation

Installation 📦

From crates.io:

cargo install crates-inspector

From source (all platforms)

You need the Rust toolchain installed on your system to build lstr.

  1. Clone the repository:
    git clone https://github.com/Feelin/crates-inspector.git
    cd crates-inspector
    
  2. Build and install using Cargo:
    cargo install --path .
    

Usage

Examples

1. List the dependencies of the current directory

crates-inspector

2. List the contents of the other directory

crates-inspector -p "$RUST_PROJECT_PATH"

Keyboard controls

Key(s) Action
/ k Move selection up.
/ j Move selection down.
/ l Select child package.
/ h Select parent package.
Enter Open documentation in browser.
q / Esc Quit the application normally.
a Show all dependencies.
d Show direct dependencies.
f Filter by package name.
s Sort or reverse.

Screenshot 📸

image

Support Me

If you like this project, you can support me in the following ways:

Commit count: 0

cargo fmt