Crate zng_tp_licenses
source ·Expand description
Macros§
- Includes the bundle file generated using
write_bundle
.
Structs§
- Represents a license id, name and text.
- Represents a license and dependencies that use it.
- Represents a project or package that uses a license.
- Represents a license user with license.
Functions§
- Calls
cargo about
for the crate. - Decode licenses encoded with
encode_licenses
. Note that the encoded format is only guaranteed to work if both encoding and decoding is made with the sameCargo.lock
dependencies. - Bincode serialize and deflate the licenses.
- Merge
licenses
intointo
. - Parse the output of
cargo about
. - Sort vec by license name, and users of each license by name.
- Invert data to be keyed by user, also sorts by user name.
- Encode licenses and write to the output file that is included by
include_bundle!
.