11 releases

0.4.2 Sep 11, 2021
0.4.1 Mar 12, 2021
0.4.0 Dec 28, 2020
0.3.0 Dec 13, 2019
0.1.1 Jul 8, 2016

#34 in Cargo plugins

Download history 318/week @ 2021-07-05 491/week @ 2021-07-12 481/week @ 2021-07-19 503/week @ 2021-07-26 487/week @ 2021-08-02 471/week @ 2021-08-09 540/week @ 2021-08-16 927/week @ 2021-08-23 817/week @ 2021-08-30 832/week @ 2021-09-06 1834/week @ 2021-09-13 1920/week @ 2021-09-20 1672/week @ 2021-09-27 1973/week @ 2021-10-04 1753/week @ 2021-10-11 2139/week @ 2021-10-18

2,182 downloads per month
Used in 2 crates

MIT license

16KB
329 lines

cargo-license

CI License Minimum Supported Rust Version

A cargo subcommand to see license of dependencies.

Installation and Usage

You can install cargo-license with: cargo install cargo-license and run it in your project directory with: cargo license or cargo-license.

cargo-license 0.4.0
Cargo subcommand to see licenses of dependencies.

USAGE:
    cargo license [FLAGS] [OPTIONS]

FLAGS:
        --all-features        Activate all available features
    -a, --authors             Display crate authors
        --avoid-build-deps    Exclude build dependencies
        --avoid-dev-deps      Exclude development dependencies
    -d, --do-not-bundle       Output one license per line
    -h, --help                Prints help information
    -j, --json                Detailed output as JSON
        --no-deps             Output information only about the root package and don't fetch dependencies
    -t, --tsv                 Detailed output as tab-separated-values
    -V, --version             Prints version information

OPTIONS:
        --color <WHEN>                 Coloring [possible values: auto, always, never]
        --current-dir <CURRENT_DIR>    Current directory of the cargo metadata process
        --features <FEATURE>...        Space-separated list of features to activate
        --filter-platform <TRIPLE>     Only include resolve dependencies matching the given target-triple
        --manifest-path <PATH>         Path to Cargo.toml

Example

cargo-license running inside the cargo-license project directory:

cargo-license

Dependencies

~5.5MB
~88K SLoC