Update cargo-license, which may fix the license order issue

This commit is contained in:
Damien Elmes 2025-09-27 13:51:11 +07:00
parent 8246581d46
commit 33299bc052
2 changed files with 3 additions and 3 deletions

View file

@ -2226,7 +2226,7 @@
{ {
"authors": "Ibraheem Ahmed <ibraheem@ibraheem.ca>", "authors": "Ibraheem Ahmed <ibraheem@ibraheem.ca>",
"description": "A high performance, zero-copy URL router.", "description": "A high performance, zero-copy URL router.",
"license": "BSD-3-Clause AND MIT", "license": "MIT AND BSD-3-Clause",
"license_file": null, "license_file": null,
"name": "matchit", "name": "matchit",
"repository": "https://github.com/ibraheemdev/matchit" "repository": "https://github.com/ibraheemdev/matchit"
@ -4154,7 +4154,7 @@
{ {
"authors": "David Tolnay <dtolnay@gmail.com>", "authors": "David Tolnay <dtolnay@gmail.com>",
"description": "Determine whether characters have the XID_Start or XID_Continue properties according to Unicode Standard Annex #31", "description": "Determine whether characters have the XID_Start or XID_Continue properties according to Unicode Standard Annex #31",
"license": "(Apache-2.0 OR MIT) AND Unicode-3.0", "license": "(MIT OR Apache-2.0) AND Unicode-3.0",
"license_file": null, "license_file": null,
"name": "unicode-ident", "name": "unicode-ident",
"repository": "https://github.com/dtolnay/unicode-ident" "repository": "https://github.com/dtolnay/unicode-ident"

View file

@ -256,7 +256,7 @@ fn check_for_unstaged_changes() {
fn generate_licences() -> Result<String> { fn generate_licences() -> Result<String> {
if which::which("cargo-license").is_err() { if which::which("cargo-license").is_err() {
Command::run("cargo install cargo-license@0.5.1")?; Command::run("cargo install cargo-license@0.7.0")?;
} }
let output = Command::run_with_output([ let output = Command::run_with_output([
"cargo-license", "cargo-license",