From 1ef1ebdcf50ae1358ec06e3c6a2fb797a8461617 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 22 Feb 2026 12:27:20 +0900 Subject: feat(spdx): add mozart-spdx-licenses crate for SPDX license validation Add new workspace crate that validates SPDX license expressions using data from composer/spdx-licenses (git submodule). Includes build.rs codegen from JSON, recursive descent expression parser supporting AND/OR/WITH/LicenseRef, and integrates into mozart-core's validate_license function. Co-Authored-By: Claude Opus 4.6 --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 9359601..8492d76 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,7 @@ mozart-constraint = { path = "crates/mozart-constraint" } mozart-core = { path = "crates/mozart-core" } mozart-archiver = { path = "crates/mozart-archiver" } mozart-metadata-minifier = { path = "crates/mozart-metadata-minifier" } +mozart-spdx-licenses = { path = "crates/mozart-spdx-licenses" } mozart-registry = { path = "crates/mozart-registry" } mozart-autoload = { path = "crates/mozart-autoload" } anyhow = "1.0.102" -- cgit v1.3.1