Skip to main content

SPDX_LICENSE_EXCEPTIONS

Constant SPDX_LICENSE_EXCEPTIONS 

Source
pub const SPDX_LICENSE_EXCEPTIONS: &[&str];
Expand description

Every current (non-deprecated) SPDX license-exception identifier.

Unlike COMMON_SPDX_LICENSES, this is the whole registry, not a shortlist: there are few enough exceptions to carry them all. Taken from json/exceptions.json in spdx/license-list-data, license list version 3.29.0 (85 current exceptions; the deprecated Nokia-Qt-exception-1.1 is left out).

scripts/check-spdx-list.py fails CI if an entry is not a current SPDX exception, and lists exceptions the registry has gained since, so the list is refreshed rather than silently falling behind.

Sorted (byte order), and kept sorted, so additions are easy to review.