aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart/Cargo.toml
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 /crates/mozart/Cargo.toml
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 'crates/mozart/Cargo.toml')
-rw-r--r--crates/mozart/Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/mozart/Cargo.toml b/crates/mozart/Cargo.toml
index bb052dc..fdb81f0 100644
--- a/crates/mozart/Cargo.toml
+++ b/crates/mozart/Cargo.toml
@@ -9,6 +9,7 @@ mozart-autoload.workspace = true
mozart-core.workspace = true
mozart-registry.workspace = true
mozart-semver.workspace = true
+mozart-spdx-licenses.workspace = true
mozart-vcs.workspace = true
anyhow.workspace = true
clap.workspace = true