Crates.io | cargo-license |
lib.rs | cargo-license |
version | 0.6.1 |
source | src |
created_at | 2016-07-08 14:12:11.150627 |
updated_at | 2024-01-24 09:53:11.077747 |
description | Cargo subcommand to see license of dependencies |
homepage | |
repository | https://github.com/onur/cargo-license |
max_upload_size | |
id | 5608 |
size | 36,246 |
A cargo subcommand to see license of dependencies.
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.5.0
Cargo subcommand to see licenses of dependencies.
USAGE:
cargo license [OPTIONS]
OPTIONS:
-a, --authors Display crate authors
--all-features Activate all available features
--avoid-build-deps Exclude build dependencies
--avoid-dev-deps Exclude development dependencies
--color <WHEN> Coloring [possible values: auto, always, never]
--current-dir <CURRENT_DIR> Current directory of the cargo metadata process
-d, --do-not-bundle Output one license per line
--direct-deps-only Output information only about the root package and don't
fetch dependencies
--features <FEATURE> Space-separated list of features to activate
--filter-platform <TRIPLE> Only include resolve dependencies matching the given
target-triple
-h, --help Print help information
-g, --gitlab Gitlab license scanner output
-j, --json Detailed output as JSON
--manifest-path <PATH> Path to Cargo.toml
--no-default-features Deactivate default features
--root-only Output information only about the root package
-t, --tsv Detailed output as tab-separated-values
cargo-license
running inside the cargo-license project directory: