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: fix cargo deny configs #243

Merged
merged 1 commit into from
Aug 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
chore: fix cargo deny configs
Make CI pass again.
crepererum committed Aug 5, 2024
commit 0e630dd8d84877d0354d1eb54cf55cf326154897
22 changes: 9 additions & 13 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -2,25 +2,21 @@
#  https://embarkstudios.github.io/cargo-deny/index.html

[advisories]
vulnerability = "deny"
version = 2
yanked = "deny"
unmaintained = "warn"
notice = "warn"
ignore = [
{ id = "RUSTSEC-2020-0016", reason = "net2 still required for tests (procspawn -> ipc-channel 0.16 -> mio 0.6 -> net2 )"}
]
git-fetch-with-cli = true

[licenses]
allow-osi-fsf-free = "either"
copyleft = "deny"
unlicensed = "deny"
default = "deny"

exceptions = [
# Only for testing, build dep of j4rs
{ name = "option-ext", allow = ["MPL-2.0"] },
# We should probably NOT bundle CA certs but use the OS ones.
{ name = "webpki-roots", allow = ["MPL-2.0"] },
unused-allowed-license = "warn"
allow = [
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"MIT",
"Unicode-DFS-2016",
]

[[licenses.clarify]]