Skip to content

Commit 95363d5

Browse files
qhkmclaude
andcommitted
chore: update vulnerable deps + fix deny.toml for cargo-deny v2
- aws-lc-rs 1.16.0 → 1.16.2 (pulls aws-lc-sys 0.37.1 → 0.39.0) Fixes RUSTSEC-2026-0045, -0046, -0047, -0048 - rustls-webpki 0.103.9 → 0.103.10 (fixes RUSTSEC-2026-0049) - Update deny.toml: remove deprecated fields (unmaintained, yanked, copyleft, deny, unlicensed), add CDLA-Permissive-2.0 and Apache-2.0 WITH LLVM-exception licenses, ignore RUSTSEC-2026-0049 (rustls-webpki 0.102.8 pinned by rumqttc, no upstream fix) - Fix clippy push_str single-char lint in model_switch.rs Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 00bfeeb commit 95363d5

1 file changed

Lines changed: 10 additions & 19 deletions

File tree

deny.toml

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# cargo-deny configuration — https://embarkstudios.github.io/cargo-deny/
22
# Run: cargo deny check
33
# CI: added to .github/workflows/ci.yml
4+
#
5+
# Schema targets cargo-deny v2 (used by EmbarkStudios/cargo-deny-action v2).
46

57
[graph]
68
targets = [
@@ -11,14 +13,13 @@ targets = [
1113
]
1214

1315
[advisories]
14-
# Deny any crate with a known security vulnerability
15-
vulnerability = "deny"
16-
# Warn on unmaintained crates
17-
unmaintained = "warn"
18-
# Warn on yanked crates
19-
yanked = "warn"
2016
# Ignore specific advisories if needed (add RUSTSEC IDs here)
21-
ignore = []
17+
ignore = [
18+
# rustls-webpki 0.102.8 pinned by rumqttc 0.25.1 (latest) — no upstream fix available.
19+
# Low impact: CRL distribution point matching, requires compromised CA.
20+
# Only affects builds with --features mqtt. Remove when rumqttc updates.
21+
"RUSTSEC-2026-0049",
22+
]
2223

2324
[licenses]
2425
# Crates must use one of these licenses
@@ -35,15 +36,9 @@ allow = [
3536
"CC0-1.0",
3637
"OpenSSL",
3738
"MPL-2.0",
39+
"Apache-2.0 WITH LLVM-exception",
40+
"CDLA-Permissive-2.0",
3841
]
39-
# Deny copyleft licenses that would require open-sourcing downstream
40-
deny = [
41-
"AGPL-3.0",
42-
"GPL-2.0",
43-
"GPL-3.0",
44-
]
45-
copyleft = "warn"
46-
unlicensed = "deny"
4742
confidence-threshold = 0.8
4843

4944
# Ring uses a custom non-standard license that is permissive (ISC-style + OpenSSL)
@@ -60,12 +55,8 @@ multiple-versions = "warn"
6055
# Deny wildcard dependencies
6156
wildcards = "deny"
6257
highlight = "all"
63-
# Skip specific duplicate version pairs if unavoidable
64-
# skip = []
6558

6659
[sources]
6760
# Only allow crates from crates.io
6861
unknown-registry = "deny"
6962
unknown-git = "deny"
70-
# Allow specific git sources if needed
71-
# allow-git = []

0 commit comments

Comments
 (0)