MCPcopy Index your code
hub / github.com/Byron/crates-io-cli

github.com/Byron/crates-io-cli @v4.0.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v4.0.3 ↗ · + Follow
68 symbols 108 edges 16 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Rust crates.io version

A command-line interface to interact with crates.io

Features

  • search crates.io interactively and open in browser asciicast

asciicast * list recently changes crates asciicast * output modes for humans and machines asciicast

Installation

If you have Rust on your system:

cargo install crates-io-cli

If you are on NetBSD, a native package is available. To install it, simply run:

pkgin install crates-io-cli

... and if you have to install from scratch, the following will install Rust and the CLI at once:

{ command -v rustup 2>&1 >/dev/null || curl https://sh.rustup.rs -sSf | sh } && cargo install crates-io-cli

To install Rust on windows, you can follow the instrutions on rustup.rs.

Usage

You can learn what it can do by using the --help flag:

crates --help

Core symbols most depended-on inside this repo

info
called by 15
src/scmds/search/interactive.rs
ok_or_exit
called by 5
src/error.rs
dimension
called by 3
src/scmds/search/interactive.rs
usage
called by 3
src/scmds/search/interactive.rs
remote_call
called by 2
src/http_utils.rs
paged_crates_io_remote_call
called by 2
src/http_utils.rs
handle_interactive_search
called by 2
src/scmds/search/mod.rs
desired_table_widths
called by 2
src/scmds/search/structs.rs

Shape

Function 33
Class 13
Enum 12
Method 10

Languages

Rust100%

Modules by API surface

src/scmds/search/structs.rs18 symbols
src/scmds/search/interactive.rs16 symbols
src/http_utils.rs8 symbols
src/scmds/list/cmd.rs7 symbols
src/scmds/recents/cmd.rs4 symbols
src/args.rs4 symbols
src/structs.rs3 symbols
src/error.rs3 symbols
src/scmds/search/mod.rs1 symbols
src/scmds/search/error.rs1 symbols
src/scmds/recents/error.rs1 symbols
src/scmds/list/error.rs1 symbols

For agents

$ claude mcp add crates-io-cli \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact