Expand description
Checks the licenses of third-party dependencies.
ModulesΒ§
- proc_
macro_ πdeps
ConstantsΒ§
- EXCEPTIONS π
- These are exceptions to Rustβs permissive licensing policy, and should be considered bugs. Exceptions are only allowed in Rust tooling. It is crucial that no exception crates be dependencies of the Rust runtime (std/test).
- EXCEPTIONS_
BOOTSTRAP π - EXCEPTIONS_
CARGO π - EXCEPTIONS_
CRANELIFT π - EXCEPTIONS_
GCC π - EXCEPTIONS_
NON_ πSTANDARD_ LICENSE_ DEPS - These dependencies have non-standard licenses but are genenrally permitted.
- EXCEPTIONS_
RUSTBOOK π - EXCEPTIONS_
RUSTC_ πPERF - EXCEPTIONS_
RUST_ πANALYZER - EXCEPTIONS_
STDLIB π - These are exceptions to Rustβs permissive licensing policy, and should be considered bugs. Exceptions are only allowed in Rust tooling. It is crucial that no exception crates be dependencies of the Rust runtime (std/test).
- EXCEPTIONS_
UEFI_ πQEMU_ TEST - LICENSES π
- These are licenses that are allowed for all crates, including the runtime, rustc, tools, etc.
- NON_
STANDARD_ πLICENSE - Placeholder for non-standard license file.
- PERMITTED_
CRANELIFT_ πDEPENDENCIES - PERMITTED_
DEPS_ πLOCATION - PERMITTED_
RUSTC_ πDEPENDENCIES - Crates rustc is allowed to depend on. Avoid adding to the list if possible.
- PERMITTED_
STDLIB_ πDEPENDENCIES - WORKSPACES π
- The workspaces to check for licensing and optionally permitted dependencies.
FunctionsΒ§
- check
- Dependency checks.
- check_
license_ πexceptions - Check that all licenses of tool dependencies are in the valid list in
LICENSES
. - check_
permitted_ πdependencies - Checks the dependency of
restricted_dependency_crates
at the given path. Changesbad
totrue
if a check failed. - check_
proc_ πmacro_ dep_ list - Ensure the list of proc-macro crate transitive dependencies is up to date
- check_
runtime_ πlicense_ exceptions - Check that all licenses of runtime dependencies are in the valid list in
LICENSES
. - deps_of π
- Recursively find all dependencies.
- has_
missing_ submodule - Used to skip a check if a submodule is not checked out, and not in a CI environment.
- pkg_
from_ πid - pkg_
from_ πname - Finds a package with the given name.
Type AliasesΒ§
- Exception
List π