Similarly to cargo-license,
list prints out the license information for each crate.
The format of the output
human(default) - Simple format where each crate or license is its own line
Output coloring, only applies to the
auto(default) - Only colors if stdout is a TTY
always- Always emits colors
never- Never emits colors
- SPDX identifier -
- Crate with 1 license -
- Crate with 2 or more licenses -
- Crate with 0 licenses -
The layout of the output. Does not apply to the
license(default) - Each license acts as the key, and the values are all of the crates that use that license
crate- Each crate is a key, and the values are the list of licenses it uses.
The confidence threshold required for assigning a license identifier to a license text file. See the license configuration for more information.
layout = license, format = human(default)
layout = crate, format = human
layout = license, format = json
layout = license, format = tsv