Skip to content

Cargo subcommand to see license of dependencies

License

Notifications You must be signed in to change notification settings

steven-joruk/cargo-license

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
    -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:
        --current-dir <CURRENT_DIR>    Current directory of the cargo metadata process
        --features <FEATURE>...        Space-separated list of features to activate
        --manifest-path <PATH>         Path to Cargo.toml
        --color <WHEN>                 Coloring [possible values: auto, always, never]

Example

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

cargo-license

About

Cargo subcommand to see license of dependencies

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 100.0%