-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeny.toml
More file actions
83 lines (73 loc) · 2.55 KB
/
Copy pathdeny.toml
File metadata and controls
83 lines (73 loc) · 2.55 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
# cargo-deny configuration
# Run: cargo deny check
# Schema: https://embarkstudios.github.io/cargo-deny/
[graph]
all-features = false
[advisories]
db-urls = ["https://github.com/rustsec/advisory-db"]
yanked = "deny"
ignore = [
# paste — RUSTSEC-2024-0436: UNMAINTAINED (not a vulnerability). Pulled
# transitively by `biblatex` (the ADR-0030 D2 `.bib` parser, #258), a
# maintained, load-bearing dependency with no drop-in replacement.
# `paste` is a compile-time-only proc-macro (no runtime / network
# surface), so an unmaintained advisory carries no security exposure
# here. Revisit if biblatex drops it or adopts a maintained fork.
"RUSTSEC-2024-0436",
]
[licenses]
allow = [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unicode-3.0",
"Zlib",
"MPL-2.0",
"CC0-1.0",
# Community Data License Agreement — Permissive 2.0. Used by transitive
# data-bearing crates (e.g., webpki-roots / public-suffix in the rustls
# TLS stack). Permissive and compatible with our MIT distribution.
"CDLA-Permissive-2.0",
]
confidence-threshold = 0.9
# ----------------------------------------------------------------------
# Banned crates — see docs/SCOPE.md and ADR-0001 / ADR-0015.
# Removing entries from this list requires a scope-reopening Discussion
# and an ADR.
# ----------------------------------------------------------------------
[bans]
multiple-versions = "warn"
wildcards = "deny"
deny = [
# Telemetry / phone-home (ADR-0015)
{ name = "sentry" },
{ name = "sentry-anyhow" },
{ name = "sentry-tracing" },
{ name = "posthog" },
{ name = "google-analytics" },
# HTTP server (ADR-0001 — MCP transport is stdio only)
{ name = "axum" },
{ name = "actix-web" },
{ name = "warp" },
{ name = "tide" },
{ name = "rocket" },
{ name = "poem" },
{ name = "salvo" },
# Self-update (ADR-0015)
{ name = "self_update" },
{ name = "self-update" },
# OpenSSL family — TLS is via rustls only (docs/SECURITY.md §1.9)
{ name = "openssl" },
{ name = "openssl-sys" },
{ name = "native-tls" },
]
# `hyper` (client) is allowed via reqwest. We do NOT generally allow `hyper::server`,
# but cargo-deny's coarse banning of the whole crate would break the client path.
# The posture-lint workflow greps source for `hyper::Server` and similar imports.
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]