When I put a license (e.g. "MIT") in both allow and deny, I get this error:
error: a license id was specified in both `allow` and `deny`
┌─ C:\...\deny.toml:104:5
│
104 │ "CC0-1.0",
│ --------- allow
·
117 │ "AGPL-3.0",
│ ---------- deny
I would expect it to show "MIT" in both places instead of the last license in deny and the same place in allow.
To reproduce
Put this in deny.toml and run cargo deny check to get the same error:
Describe the bug
When I put a license (e.g.
"MIT"
) in both allow and deny, I get this error:I would expect it to show
"MIT"
in both places instead of the last license in deny and the same place in allow.To reproduce
Put this in
deny.toml
and runcargo deny check
to get the same error:But the error looks better if the licenses are on the same line.
cargo-deny version
cargo-deny 0.14.11
What OS were you running cargo-deny on?
Windows
Additional context
No response