cargo about generate --output-file "third-party-licenses.html" about.hbs produces:
2023-11-12 2:38:08.5873352 +00:00:00 [WARN] the definition for crate/cratesio/toml/0.8.6 has not been harvested
2023-11-12 2:38:08.5895171 +00:00:00 [WARN] the definition for crate/cratesio/toml_edit/0.20.7 has not been harvested
After updating the lock file, with ring 0.17.5 (and ring 0.16.20)
cargo about generate --output-file "third-party-licenses.html" about.hbs produces:
cargo about generate --output-file "third-party-licenses.html" about.hbs
2023-11-12 2:42:54.536079 +00:00:00 [WARN] crate 'ring 0.17.5' doesn't have a license field
2023-11-12 2:42:54.9782958 +00:00:00 [WARN] the definition for crate/cratesio/toml_edit/0.20.7 has not been harvested
2023-11-12 2:42:54.9881632 +00:00:00 [WARN] the definition for crate/cratesio/bstr/1.8.0 has not been harvested
2023-11-12 2:42:54.9997265 +00:00:00 [WARN] the definition for crate/cratesio/handlebars/4.5.0 has not been harvested
error: failed to satisfy license requirements
┌─ C:\Users\a\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ring-0.17.5\Cargo.toml:170:13
│
170 │ license = "(GPL-1.0-or-later AND OpenSSL AND OpenSSL OR BSD-3-Clause) AND (ISC) AND (ISC AND MIT AND OpenSSL AND OpenSSL AND ISC) AND (MIT) AND (OpenSSL) AND (OpenSSL AND OpenSSL OR (BSD-3-Clause OR (GPL-1.0-or-later OR GPL-2.0-only))) AND (OpenSSL AND OpenSSL OR (BSD-3-Clause OR GPL-1.0-or-later)) AND (OpenSSL AND OpenSSL OR BSD-3-Clause)"
│ ---------------- ------------ ------------
---------------- ------------ ------------ ---------------- ------------
2023-11-12 2:42:55.1552183 +00:00:00 [ERROR] encountered 1 errors resolving licenses, unable to generate output
Describe the bug
ring
workaround seems to no longer work forring v0.17.5
To Reproduce Steps to reproduce the behavior:
git clone git@github.com:foresterre/cargo-msrv.git && git checkout 24f1622f77af1b2e437046f0f37094c493de125
ring 0.17.5
, e.g.cargo update
cargo about generate --output-file "third-party-licenses.html" about.hbs
Expected behavior
Additional context
cargo-msrv's
about.toml
:ring
Before updating the lock file, with ring 0.16.20
cargo about generate --output-file "third-party-licenses.html" about.hbs
produces:After updating the lock file, with ring 0.17.5 (and ring 0.16.20)
cargo about generate --output-file "third-party-licenses.html" about.hbs
produces: