Skip to content

Feelin/crates-inspector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 crates-inspector.

  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:

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages