https://github.com/joseluis/crin
A handy CLI for the crates.io API
https://github.com/joseluis/crin
api cli crates crates-io information rust rust-lang
Last synced: 12 months ago
JSON representation
A handy CLI for the crates.io API
- Host: GitHub
- URL: https://github.com/joseluis/crin
- Owner: joseluis
- Created: 2019-04-15T09:17:50.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-12-06T13:23:07.000Z (over 5 years ago)
- Last Synced: 2025-06-12T04:54:59.548Z (12 months ago)
- Topics: api, cli, crates, crates-io, information, rust, rust-lang
- Language: Rust
- Homepage:
- Size: 105 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# crin
(**cr**ate **in**formation)
A handy CLI for the [crates.io](https://crates.io) API

## Features
- Colorful, condensed & parseable output
- Show crate information
- Search for crates
- Show crates summary
- User configuration file (in TOML)
- Manage custom lists of crates
### Planned features
- improved search
- filter by keyword & category
- sort alphabetically or by downloads
- choose the page and results per page
- show dependencies
- show version list
- download any version
- customize colors
## Usage examples
### Show Crate Information
```sh
$ crin show regex-syntax
# If you want to show the number of reverse dependencies use `-r` or `--reverse`:
$ crin show regex-syntax -r
# If you want the full list of reverse dependencies use `-rr` or `--reverse --reverse`:
$ crin show regex-syntax -rr
```
### Search
```sh
$ crin search network
```
### Summary
```sh
$ crin summary
# More details on new crates
$ crin summary new
```
### Lists
```sh
$ crin list # show your existing lists
$ crin list new devlist # create a new list named 'devlist'
$ crin list add devlist reqwest # add the crate to your list
$ crin list add devlist clap # add another crate
$ crin list show devlist -i # show information about each crate
$ crin list rem devlist clap # remove the crate from your list
$ crin list help # for more...
```
### Help
```
$ crin help
$ crin help crate
$ crin help summary new
$ crin help list
```
## Installation
```sh
$ cargo install crin
```