diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-04 14:48:25 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-04 15:44:11 +0900 |
| commit | d4309521f10b6f0090ef2548fb8f241949074e1f (patch) | |
| tree | 3c7fa9049b34e73e9a73e21bf19f8a3674c54c57 /crates/mozart/Cargo.toml | |
| parent | a24d6e2f148417b32188cd1e643439a2858f4eac (diff) | |
| download | php-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.toml | 1 |
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 |
