#cargo #cargo-install #crates #cli

app cargo-ls-crates

A tool to easily list installed cargo packages an their descriptions!

16 releases

0.4.7 Jun 14, 2023
0.4.6 Jun 14, 2023
0.4.3 May 19, 2023
0.3.3 May 4, 2023
0.2.6 May 4, 2023

#785 in Command line utilities

MIT license

14KB
252 lines

Installation

1. Installing from crates.io (cargo)

First make sure you have cargo installed. Than you can the command below.

  $ cargo install cargo-crates

2. Building from source

    #clone the repo
    $ git clone https://github.com/bejker123/cargo-crates
    $ cd cargo-crates
    #build it
    $ cargo build --release

Usage:

$ cargo ls-crates [OPTIONS]
# OPTIONS:
#       -h --help print help
#       -v print versions
#       -d print descriptions
# Examples:
    $ cargo ls-crates -v   # print package names and versions
    $ cargo ls-crates -d   # print package names and descriptions
    $ cargo ls-crates -vd  # print package names, descriptions and versions
    $ cargo ls-crates -dv  # print package names, descriptions and versions
# Note: Invalid arguments will be ignored.

Dependencies

~2–13MB
~97K SLoC