百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

cargo-seek

> 包管理
开源

一个终端用户界面,用于搜索、添加和安装货物箱。

186 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

一个终端用户界面,用于搜索、添加和安装货物箱。

cargo-seek

preview

Features

  • Search crates.io with sorting and scoping
    • Sort by: Relevance, Name, Downloads, Recent Downloads, Recently Updated, Newly Added
    • Search in: Online, Project, Installed, or All
    • Project dependencies and installed binaries are visually labelled
    • Paged results
  • Add and remove crates in the current cargo project
  • Install and uninstall cargo binaries
  • Pick features when adding or installing — your selection builds the exact cargo add / cargo install command (passing --no-default-features when a default feature is unchecked)
  • Rich crate details pane: description, stable/latest version, release count and recent versions (with yank markers), license, MSRV, crate size, features, downloads, publisher, and links
  • Confirmation prompt before removing or uninstalling a crate
  • Quick links: open a crate's docs, repository, crates.io, or lib.rs page

Roadmap

  • Flag outdated crates with the ability to update them
  • Show crate dependencies in the details pane
  • In-app settings screen for behavior and appearance
  • Open a crate's README in the terminal using glow or mdcat

Install

From crates.io

cargo install --locked cargo-seek

Arch Linux (AUR)

Community-maintained package on the AUR: cargo-seek. Install it with an AUR helper:

yay -S cargo-seek   # or: paru -S cargo-seek

Prebuilt binaries

Download a prebuilt binary for your platform from the latest release. Builds are provided for Linux, macOS, and Windows on both x86_64 and arm64. The Linux binaries are statically linked, so they run on any distribution regardless of glibc version.

Usage

cargo-seek

or as a cargo sub-command:

cargo seek

Options

cargo-seek [OPTIONS] [PROJECT_DIR]

Arguments:
  [PROJECT_DIR]  Path to a directory containing (or one of its parents) a Cargo.toml file
                 Default: 
Options:
  -s, --search   Start a search on start
  -h, --help           Print help
  -V, --version        Print version
  
UI Options:
  -f, --fps     Frame rate, i.e. number of frames per second [default: 30]
  -t, --tps     Tick rate, i.e. number of ticks per second [default: 4]
      --counter        Show TPS/FPS counter

Cargo Projects

If a cargo project (Cargo.toml) is found in the current directory or one of its parents, you can use cargo-seek to add and remove crates in your cargo project. You can also direct cargo-seek to target a specific cargo project directory:

# dir, or one of its parents, should contain a cargo.toml file
cargo seek /path/to/dir

Key Bindings

Search

Key Action
Enter Run search
Ctrl + a Search scope
Ctrl + s Sort

Navigation

Key Action
Tab / Shift + Tab Move focus between panes
/ Jump to the search box
ESC Go back to search; if already there will clear results
Ctrl + Left/Right Change column width
PgUp / PgDn Scroll the crate details pane
Ctrl + h Toggle help screen
Ctrl + c Quit

Results

Key Action
a Add crate to current project (pick features)
r Remove crate from current project
i Install binary (pick features)
u Uninstall binary
Ctrl + d Open docs
Up, Down Select crate in list
Left, Right Go previous/next page
Home, End Go to first/last crate in page
Ctrl + Home/End Go to first/last page

Credits

  • The UX was inspired by pacseek
  • ratatui
  • crates-io-api

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustcargocargo-subcommandcratescrates-io

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类包管理
定价开源

> 相关工具

N
npm
Node.js 默认包管理器
P
pnpm
高效节省磁盘的 Node 包管理器
I
is-gif
Check if a Buffer/Uint8Array is a GIF image