Output template
cargo-about uses handlebars templates to take the output of license gathering and transform it into your desired output. See handlebars for how handlebar templates work generally.
Types
LicenseSet
count- The number of times the license was used to satisfy a license expression for a cratename- The name of the licenseid- Theidof the license
License
name- The full name of the licenseid- The SPDX identifiertext- The full license textsource_path- The path of the license if it was pulled from the source code of the crateused_byA list ofUsedBy
UsedBy
crate- Metadata for a cargo packagepath- Optional path of the dependency that is being used by the license
Variables
These are the variables that are exposed to the templates
overview- A list ofLicenseSetlicenses- A list ofLicense
Example
<ul class="licenses-overview">
{{#each overview}}
<li><a href="#{{id}}">{{name}}</a> ({{count}})</li>
{{/each}}
</ul>
Preview of the default about.hbs

You can view the full license here.