Skip to content

Commit

Permalink
Modified deny.toml to get a successful build in the absence of Cargo.…
Browse files Browse the repository at this point in the history
…lock

- Allowed BSD-2-Clause to fix a license issue.
- Allowed multiple versions of rust crates to co-exist because without Cargo.lock there is no control over the dependency tree.
  • Loading branch information
piyush-jena committed Aug 6, 2024
1 parent 561528b commit 1119725
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ confidence-threshold = 0.93
# Commented license types are allowed but not currently used
allow = [
"Apache-2.0",
# "BSD-2-Clause",
"BSD-2-Clause",
"BSD-3-Clause",
"BSL-1.0",
# "CC0-1.0",
Expand Down Expand Up @@ -44,7 +44,6 @@ exceptions = [

[bans]
# Deny multiple versions or wildcard dependencies.
multiple-versions = "deny"
wildcards = "deny"

skip = [
Expand Down

0 comments on commit 1119725

Please sign in to comment.