You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If you specify a crate’s license with licenses.clarify and allow that license using licenses.exceptions, then cargo deny check license will fail. Here’s a deny.toml that causes the error:
[licenses]
default = "deny"allow-osi-fsf-free = "either"deny = [
"OpenSSL",
]
exceptions = [
{ allow = ["ISC", "MIT", "OpenSSL"], name = "ring" }
]
[[licenses.clarify]]
name = "ring"expression = "ISC AND MIT AND OpenSSL"license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]
Since `default = "deny"`, it is not necessary to maintain an explicit
`deny` list. This is not only simpler, but also avoids hitting
EmbarkStudios/cargo-deny#406
Also remove GPLv2 from allow list, as it's not actually compatible with
GPLv3.
Signed-off-by: Kim Altintop <kim@eagain.st>
Describe the bug
If you specify a crate’s license with
licenses.clarify
and allow that license usinglicenses.exceptions
, thencargo deny check license
will fail. Here’s adeny.toml
that causes the error:To Reproduce
cd
to its directory.cargo deny check license
.Expected behavior
I expected no warnings or errors.
Device:
The text was updated successfully, but these errors were encountered: