tidy::deps

Function check_license_exceptions

Source
fn check_license_exceptions(
    metadata: &Metadata,
    exceptions: &[(&str, &str)],
    bad: &mut bool,
)
Expand description

Check that all licenses of tool dependencies are in the valid list in LICENSES.

Packages listed in exceptions are allowed for tools.