Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update cargo-deny configuration #15450

Merged
merged 1 commit into from
Mar 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@

[graph]
# If true, metadata will be collected with `--all-features`.
all-features = true

[licenses]
# The lint level for crates which do not have a detectable license
unlicensed = "deny"
version = 2

# List of explicitly allowed licenses
allow = [
Expand All @@ -16,20 +15,14 @@ allow = [
"BSD-3-Clause",
"ISC",
"Unicode-DFS-2016",
"Unicode-3.0",
"MPL-2.0",
"BSL-1.0",
"CC0-1.0",
"OFL-1.1",
"LicenseRef-UFL-1.0",
]

# List of explicitly disallowed licenses
deny = [
"GPL-1.0",
"GPL-2.0",
"GPL-3.0",
]

# Some crates don't have (easily) machine readable licensing information,
# adding a clarification entry for it allows you to manually specify the
# licensing information.
Expand Down Expand Up @@ -72,3 +65,6 @@ unknown-git = "deny"
github = [
"ruffle-rs",
]

[advisories]
version = 2