Expand description
Macros§
- include_
bundle - Includes the bundle file generated using
write_bundle.
Structs§
- License
- Represents a license id, name and text.
- License
Used - Represents a license and dependencies that use it.
- User
- Represents a project or package that uses a license.
- User
License - Represents a license user with license.
Functions§
- collect_
cargo_ about - Calls
cargo aboutfor the crate. - decode_
licenses - 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.lockdependencies. - encode_
licenses - Bincode serialize and deflate the licenses.
- merge_
licenses - Merge
licensesintointo. - parse_
cargo_ about - Parse the output of
cargo about. - 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.
- write_
bundle - Encode licenses and write to the output file that is included by
include_bundle!.