aboutsummaryrefslogtreecommitdiffhomepage
path: root/Cargo.lock
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-04 14:48:25 +0900
committernsfisis <nsfisis@gmail.com>2026-05-04 15:44:11 +0900
commitd4309521f10b6f0090ef2548fb8f241949074e1f (patch)
tree3c7fa9049b34e73e9a73e21bf19f8a3674c54c57 /Cargo.lock
parenta24d6e2f148417b32188cd1e643439a2858f4eac (diff)
downloadphp-mozart-d4309521f10b6f0090ef2548fb8f241949074e1f.tar.gz
php-mozart-d4309521f10b6f0090ef2548fb8f241949074e1f.tar.zst
php-mozart-d4309521f10b6f0090ef2548fb8f241949074e1f.zip
feat(show): expand license output with name, OSI flag, and URL
Mirror Composer's Command\ShowCommand::printLicenses(): emit one line per license identifier, expanded to "<full name> (<id>) [(OSI approved)] <url>" when the id is in the SPDX database, or just the id otherwise. The URL is built by mozart-spdx-licenses' new LicenseInfo::url() so the construction lives in the SPDX crate, like Composer's SpdxLicenses::getLicenseByIdentifier().
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index ea91bf6..27fd3ac 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1093,6 +1093,7 @@ dependencies = [
"mozart-core",
"mozart-registry",
"mozart-semver",
+ "mozart-spdx-licenses",
"mozart-test-harness",
"mozart-vcs",
"predicates",