Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ jobs:
util:
- name: cargo deny
download: >
curl -sSL "https://github.com/EmbarkStudios/cargo-deny/releases/download/0.14.24/cargo-deny-0.14.24-x86_64-unknown-linux-musl.tar.gz" |
curl -sSL "https://github.com/EmbarkStudios/cargo-deny/releases/download/0.18.9/cargo-deny-0.18.9-x86_64-unknown-linux-musl.tar.gz" |
sudo tar -xzvf - -C /usr/local/bin --strip-components=1
run: cargo-deny check --hide-inclusion-graph --show-stats
requiresRust: true
Expand Down
10 changes: 8 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ num-traits = { version = "0.2", default-features = false }
num_enum = { version = "0.7", default-features = false }
numtoa = { version = "0.2", default-features = false }
once_cell = { version = "1", default-features = false }
paste = { version = "1.0", default-features = false }
paste = { version = "0.2", package = "pastey", default-features = false }
proc-macro2 = { version = "1", default-features = false }
qr2term = { version = "0.3", default-features = false }
quote = { version = "1.0", default-features = false }
Expand Down
36 changes: 21 additions & 15 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[graph]
targets = [
# Host.
{ triple = "x86_64-unknown-linux-gnu", features = ["std"] },
Expand All @@ -9,14 +10,13 @@ targets = [
]
all-features = false
no-default-features = true

[output]
feature-depth = 1

[advisories]
db-urls = ["https://github.com/rustsec/advisory-db"]
vulnerability = "deny"
unmaintained = "allow"
unmaintained = "workspace"
yanked = "allow"
notice = "deny"
ignore = [
# TODO(#1118): update the curve25519-dalek internal dependency to 4.1.3+
"RUSTSEC-2024-0344",
Expand All @@ -38,10 +38,14 @@ ignore = [
"RUSTSEC-2025-0055",
# TODO(#1648): update the wasmtime internal dependency to 24.0.5+
"RUSTSEC-2025-0118",
# TODO(#1648): update the wasmtime-debug internal dependency to 24.0.0
"RUSTSEC-2024-0442",
# TODO(#1657): atty in unmaintained, it is used by sc-tracing so wait for
# an update from upstream.
"RUSTSEC-2021-0145",
]

[licenses]
unlicensed = "deny"
allow = [
"MIT",
"Apache-2.0",
Expand All @@ -52,18 +56,18 @@ allow = [
"0BSD",
"CC0-1.0",
"Unlicense",
"GPL-3.0-or-later WITH Classpath-exception-2.0",

# To review:
"MPL-2.0",
"GPL-3.0 WITH Classpath-exception-2.0",
"OpenSSL",
]
deny = []
copyleft = "allow"
allow-osi-fsf-free = "neither"
default = "deny"
confidence-threshold = 0.8
exceptions = [{ allow = ["Unicode-DFS-2016"], name = "unicode-ident", version = "*" }]

[[licenses.exceptions]]
allow = ["Unicode-DFS-2016"]
name = "unicode-ident"
version = "*"

[[licenses.clarify]]
name = "ring"
Expand All @@ -81,14 +85,16 @@ highlight = "all"
workspace-default-features = "allow"
external-default-features = "allow"
allow = []
deny = [
# Avoid using precompiled serde_derive.
{ name = "serde_derive", version = "> 1.0.171, < 1.0.184" },
]

features = []
skip = []
skip-tree = []

[[bans.deny]]
name = "serde_derive"
version = "> 1.0.171, < 1.0.184"
reason = "Avoid using precompiled serde_derive."

[sources]
unknown-registry = "deny"
unknown-git = "deny"
Expand Down
Loading