Crate zng_tp_licenses

Source
Expand description

Third party license management and collection.

§Crate

This crate is part of the zng project.

§Cargo Features

This crate provides 2 feature flags, 0 enabled by default.

§"build"

Include helpers for collecting third-party licenses.

§"bundle"

Include helpers for deserializing build encoded licenses.

Structs§

License
Represents a license id, name and text.
LicenseUsed
Represents a license and dependencies that use it.
User
Represents a project or package that uses a license.
UserLicense
Represents a license user with license.

Functions§

merge_licenses
Merge licenses into into.
sort_licenses
Sort vec by license name, and users of each license by name.
user_licenses
Invert data to be keyed by user, also sorts by user name.