-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeny.toml
More file actions
92 lines (82 loc) · 4.01 KB
/
Copy pathdeny.toml
File metadata and controls
92 lines (82 loc) · 4.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# cargo-deny configuration. Run `cargo deny check` locally or in CI.
# Schema: https://embarkstudios.github.io/cargo-deny/
[graph]
all-features = true
[advisories]
version = 2
yanked = "deny"
# Each ignore names the parent crate that pulls in the advisory and what
# blocks the fix. Revisit when that parent crate is bumped.
#
# To prune stale ignores (e.g. after bumping Tauri / Leptos / the AWS SDK),
# temporarily add `unused-ignored-advisory = "warn"` under [advisories] and run
# `cargo deny check advisories`; delete any entry it flags with
# `warning[advisory-not-detected]`. Kept out of the committed config so CI logs
# stay free of warning noise.
ignore = [
# --- rustls-pemfile pulled in by aws-smithy-http-client v1.1.x ---
# Tracking via aws-sdk-rust upstream; update once aws-smithy-http-client
# drops rustls-pemfile 1.x.
{ id = "RUSTSEC-2025-0134", reason = "rustls-pemfile 1.x via aws-smithy-http-client; awaiting AWS SDK update" },
# --- Tauri Linux backend (GTK3 / webkit2gtk) ---
# Tauri 2.x has not migrated off GTK3. These advisories will clear when
# Tauri ships a GTK4 backend or we drop the Linux target.
{ id = "RUSTSEC-2024-0411", reason = "gtk-rs GTK3 bindings via Tauri Linux backend" },
{ id = "RUSTSEC-2024-0412", reason = "gtk-rs GTK3 bindings via Tauri Linux backend" },
{ id = "RUSTSEC-2024-0413", reason = "gtk-rs GTK3 bindings via Tauri Linux backend" },
{ id = "RUSTSEC-2024-0414", reason = "gtk-rs GTK3 bindings via Tauri Linux backend" },
{ id = "RUSTSEC-2024-0415", reason = "gtk-rs GTK3 bindings via Tauri Linux backend" },
{ id = "RUSTSEC-2024-0416", reason = "gtk-rs GTK3 bindings via Tauri Linux backend" },
{ id = "RUSTSEC-2024-0417", reason = "gtk-rs GTK3 bindings via Tauri Linux backend" },
{ id = "RUSTSEC-2024-0418", reason = "gtk-rs GTK3 bindings via Tauri Linux backend" },
{ id = "RUSTSEC-2024-0419", reason = "gtk-rs GTK3 bindings via Tauri Linux backend" },
{ id = "RUSTSEC-2024-0420", reason = "gtk-rs GTK3 bindings via Tauri Linux backend" },
{ id = "RUSTSEC-2024-0436", reason = "paste unmaintained, transitive via webkit2gtk / Tauri" },
# --- Tauri tauri-utils → urlpattern → unic-* (unmaintained Unicode crates) ---
# Tracked upstream in urlpattern; will clear once urlpattern moves off rust-unic.
{ id = "RUSTSEC-2025-0075", reason = "unic-char-range via tauri-utils/urlpattern" },
{ id = "RUSTSEC-2025-0080", reason = "unic-common via tauri-utils/urlpattern" },
{ id = "RUSTSEC-2025-0081", reason = "unic-char-property via tauri-utils/urlpattern" },
{ id = "RUSTSEC-2025-0098", reason = "unic-ucd-version via tauri-utils/urlpattern" },
{ id = "RUSTSEC-2025-0100", reason = "unic-ucd-ident via tauri-utils/urlpattern" },
# --- proc-macro-error via Tauri ---
{ id = "RUSTSEC-2024-0370", reason = "proc-macro-error unmaintained, transitive via Tauri" },
# --- proc-macro-error2 via Leptos ---
# Leptos (leptos_macro, leptos_router_macro, reactive_stores_macro, rstml)
# still depends on it as of 0.8.16 / 0.9.0-alpha. Revisit on Leptos bumps.
{ id = "RUSTSEC-2026-0173", reason = "proc-macro-error2 unmaintained, transitive via Leptos" },
# --- mixpanel-rs (dotenv) ---
{ id = "RUSTSEC-2021-0141", reason = "dotenv unmaintained, transitive via mixpanel-rs" },
]
[licenses]
version = 2
confidence-threshold = 0.8
allow = [
"0BSD",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"BSL-1.0",
"CC0-1.0",
"CDLA-Permissive-2.0",
"ISC",
"MIT",
"MIT-0",
"MPL-2.0",
"Unicode-3.0",
"Unlicense",
"Zlib",
]
[bans]
multiple-versions = "warn"
wildcards = "deny"
# `quilt-sync`/`quilt-sync-ui` depend on workspace siblings via `path = "..."`
# without a version, which Cargo records as `*`. That's expected for path
# deps — only flag wildcards on registry crates.
allow-wildcard-paths = true
deny = []
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]