aboutsummaryrefslogtreecommitdiffhomepage
path: root/Cargo.lock
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-02-22 12:27:20 +0900
committernsfisis <nsfisis@gmail.com>2026-02-22 12:37:41 +0900
commit1ef1ebdcf50ae1358ec06e3c6a2fb797a8461617 (patch)
tree97cc47fc216dc7e64697ffa74b6a2bb70f395abe /Cargo.lock
parent92fdff257d2c64f94600ba70bf17e429d46474b2 (diff)
downloadphp-mozart-1ef1ebdcf50ae1358ec06e3c6a2fb797a8461617.tar.gz
php-mozart-1ef1ebdcf50ae1358ec06e3c6a2fb797a8461617.tar.zst
php-mozart-1ef1ebdcf50ae1358ec06e3c6a2fb797a8461617.zip
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 <noreply@anthropic.com>
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock9
1 files changed, 9 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 5daa259..663754e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1131,6 +1131,7 @@ dependencies = [
"anyhow",
"colored",
"dialoguer",
+ "mozart-spdx-licenses",
"regex",
"serde",
"serde_json",
@@ -1167,6 +1168,14 @@ dependencies = [
]
[[package]]
+name = "mozart-spdx-licenses"
+version = "0.1.0"
+dependencies = [
+ "serde",
+ "serde_json",
+]
+
+[[package]]
name = "normalize-line-endings"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"