Repository navigation
Expand file tree
/
Copy pathdeny.toml
More file actions
223 lines (215 loc) · 16.5 KB
/
Copy pathdeny.toml
File metadata and controls
223 lines (215 loc) · 16.5 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
# cargo-deny Konfiguration (Spec 0090, A2, A12, A13).
#
# Lizenz-Compliance setzt hier technisch durch, was D1 des Architektur-
# Briefs verbindlich festlegt — keine reine Vorsatz-Regel, sondern ein
# CI-Gate. Erzeugt via `cargo deny init` und auf die tatsächlich
# geprüften Abschnitte reduziert/angepasst (Lizenzen, Herkunft, Banne). Advisories werden bewusst NICHT hier konfiguriert — das bleibt
# `cargo-audit`/`audit.toml` (Spec 0090, A3: Ausnahmen nur an einer
# Stelle, keine doppelte Konfiguration derselben Prüfung); der CI-Job
# ruft entsprechend nur `cargo deny check licenses sources bans` auf, nie
# `cargo deny check advisories`.
[graph]
all-features = false
no-default-features = false
[output]
feature-depth = 1
# This section is considered when running `cargo deny check licenses`.
[licenses]
# Allow-Liste gemäß D1: MIT, Apache-2.0, BSD-2-Clause, BSD-3-Clause, ISC,
# Zlib, Unicode-DFS-2016. Jede Lizenz, die hier NICHT aufgeführt ist, wird
# von cargo-deny standardmäßig abgelehnt (deny-by-default) — kein
# stillschweigendes Durchrutschen neuer Abhängigkeiten mit unklarer/nicht
# erlaubter Lizenz.
#
# Unicode-3.0: Nachfolger-Bezeichner von Unicode-DFS-2016 (dieselbe
# permissive Kategorie, nur neuere/präzisere SPDX-Kennung) — genutzt von der
# ICU4X-Kette (`icu_*`/`zerovec`/`yoke`/`litemap`/`tinystr`/...), transitiv
# über `idna`/`url`. Reines Nachziehen der D1-Liste, keine neue Kategorie.
#
# "Apache-2.0 WITH LLVM-exception" (target-lexicon): Apache-2.0 plus
# zusätzliche Ausnahmeklausel — strikt permissiver als reines Apache-2.0,
# das bereits erlaubt ist. Die kombinierte Erwartung von unicode-ident
# ("(MIT OR Apache-2.0) AND Unicode-3.0") braucht keinen eigenen Eintrag —
# sie ist bereits über die Einzel-Atome MIT/Apache-2.0/Unicode-3.0 erfüllt.
#
# CDLA-Permissive-2.0 (webpki-roots/webpki-root-certs): Community Data
# License Agreement, Permissive 2.0 — deckt die gebündelten Mozilla-CA-
# Root-Zertifikate ab (Daten, kein Code), permissiv, kein Copyleft.
#
# MPL-2.0: laut Spec 0090, A12 nur nach Einzelprüfung erlaubt, nicht pauschal.
# Einzelprüfung durchgeführt (Fund: `cssparser`/`cssparser-macros`/
# `dtoa-short`/`option-ext`/`selectors`, transitiv über
# `dom_query → tauri-utils → tauri`) — Ergebnis: erlauben. Begründung:
# MPL-2.0 ist file-level Copyleft (wirkt nur auf die MPL-lizenzierten
# Dateien selbst, keine virale Ausbreitung in unseren eigenen Code); wir
# modifizieren Tauris interne CSS-Parser-Abhängigkeiten nicht; das ist der
# in der Praxis übliche, unproblematische Fall für eine transitive
# Tooling-Abhängigkeit. Nutzer-Entscheidung eingeholt, nicht eigenmächtig getroffen.
#
# GPL/AGPL/LGPL bewusst NICHT enthalten (Spec 0090, A12) — jeder
# Fund muss dem Menschen gemeldet werden, nie automatisch toleriert werden.
#
# Das Projekt steht unter GPL-3.0-only (ADR 0163): jeder Eintrag hier (und in
# `exceptions`) muss GPL-3.0-kompatibel sein. `npm run check-license-compat`
# (scripts/check-license-compat.mjs) prüft das gegen eine feste Liste.
allow = [
"MIT",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Zlib",
"Unicode-DFS-2016",
"Unicode-3.0",
"Apache-2.0 WITH LLVM-exception",
"CDLA-Permissive-2.0",
"MPL-2.0",
# Boost Software License 1.0 (permissive, OSI-approved; not BUSL).
# Maintainer decision (#358): only `clipboard-win` and `error-code`,
# Windows-only, pulled in by `clipboard-rs`.
"BSL-1.0",
]
confidence-threshold = 0.8
# `blessing` (SQLite public-domain blessing) and WTFPL (libtomcrypt), both
# declared by the bundled SQLCipher source crate `sqlcipher-src` ("MIT AND
# BSD-3-Clause AND blessing AND WTFPL"). Both are permissive, no copyleft.
# Maintainer decision (#1243): accepted for this crate only, not in the
# general allow list (ADR 0135 mechanism).
exceptions = [
{ crate = "sqlcipher-src", allow = ["blessing", "WTFPL"] },
]
[licenses.private]
# Spec 0090, A12 gilt für Abhängigkeiten, nicht für die eigene Lizenz des
# Projekts (`[workspace.package] license = "GPL-3.0-only"`, Spec 0099, L1) —
# cargo-deny prüft standardmäßig aber auch Workspace-Member-Crates mit.
# `ignore = true` überspringt Crates, die als `publish = false` markiert
# sind (alle Workspace-Crates, s. deren `Cargo.toml`) — die korrekte,
# enge Lösung (überspringt nur unveröffentlichte eigene Crates), kein
# Eintrag der eigenen Lizenz in die Allow-Liste, die weiterhin
# ausschließlich für Drittanbieter-Abhängigkeiten gilt.
ignore = true
# This section is considered when running `cargo deny check bans`.
[bans]
# Für Banne gibt Spec 0090 keine eigenen Regeln vor (A12/A13 betreffen
# Lizenzen und Herkunft) — Default-Werte belassen, damit dieser CI-Job nicht wegen harmloser
# transitiver Versions-Divergenzen rot wird, die nichts mit Lizenz/Herkunft
# zu tun haben.
multiple-versions = "warn"
# Issue #897: every remaining duplicate comes from an upstream crate and is
# listed here with the crate that pulls in the older version, so a new
# duplicate shows up as a warning. Own crates pin each dependency once in the
# root `[workspace.dependencies]`. Entries are `name@version`; drop an entry
# when the upstream crate moves to the newer version.
skip = [
{ crate = "aead@0.5.2", reason = "older aead pulled in by upstream chacha20poly1305 0.10.1" },
{ crate = "base64@0.21.7", reason = "older base64 pulled in by upstream swift-rs 1.0.9" },
{ crate = "base64@0.22.1", reason = "older base64 pulled in by upstream android-native-keyring-store 1.0.0, hyper-util 0.1.20, plist 1.10.0 …" },
{ crate = "bitflags@1.3.2", reason = "older bitflags pulled in by upstream defmt 1.1.1, javascriptcore-rs 1.1.2, png 0.17.16 …" },
{ crate = "block-buffer@0.10.4", reason = "older block-buffer pulled in by upstream digest 0.10.7" },
{ crate = "cfg_aliases@0.1.1", reason = "older cfg_aliases pulled in by upstream nix 0.28.0" },
{ crate = "chacha20@0.9.1", reason = "older chacha20 pulled in by upstream chacha20poly1305 0.10.1" },
{ crate = "cipher@0.4.4", reason = "older cipher pulled in by upstream chacha20 0.9.1, chacha20poly1305 0.10.1" },
{ crate = "cpufeatures@0.2.17", reason = "older cpufeatures pulled in by upstream chacha20 0.9.1, poly1305 0.8.0, sha2 0.10.9" },
{ crate = "crypto-common@0.1.6", reason = "older crypto-common pulled in by upstream aead 0.5.2, cipher 0.4.4, digest 0.10.7 …" },
{ crate = "darling@0.23.0", reason = "older darling pulled in by upstream serde_with_macros 3.22.0" },
{ crate = "darling_core@0.23.0", reason = "older darling_core pulled in by upstream darling 0.23.0, darling_macro 0.23.0" },
{ crate = "darling_macro@0.23.0", reason = "older darling_macro pulled in by upstream darling 0.23.0" },
{ crate = "digest@0.10.7", reason = "older digest pulled in by upstream sha2 0.10.9" },
{ crate = "generic-array@0.14.9", reason = "older generic-array pulled in by upstream aead 0.5.2, block-buffer 0.10.4, crypto-common 0.1.6 …" },
{ crate = "getrandom@0.2.17", reason = "older getrandom pulled in by upstream rand_core 0.6.4, redox_users 0.5.2, ring 0.17.14" },
{ crate = "getrandom@0.3.4", reason = "older getrandom pulled in by upstream rand_core 0.9.5, tauri 2.12.1" },
{ crate = "hashbrown@0.12.3", reason = "older hashbrown pulled in by upstream indexmap 1.9.3" },
{ crate = "hashbrown@0.14.5", reason = "older hashbrown pulled in by upstream dashmap 6.2.1" },
{ crate = "hashbrown@0.16.1", reason = "older hashbrown pulled in by upstream hashlink 0.11.1, sqlx-core 0.9.0" },
{ crate = "heck@0.4.1", reason = "older heck pulled in by upstream glib-macros 0.18.5" },
{ crate = "indexmap@1.9.3", reason = "older indexmap pulled in by upstream schemars 0.8.22, serde_with 3.22.0" },
{ crate = "inout@0.1.4", reason = "older inout pulled in by upstream cipher 0.4.4" },
{ crate = "jni@0.21.1", reason = "older jni pulled in by upstream android-native-keyring-store 1.0.0, tao 0.37.1, tauri 2.12.1 …" },
{ crate = "jni-sys@0.3.1", reason = "older jni-sys pulled in by upstream jni 0.21.1, ndk 0.9.0, ndk-sys 0.6.0+11769913" },
{ crate = "libloading@0.7.4", reason = "older libloading pulled in by upstream libappindicator-sys 0.9.0" },
{ crate = "miniz_oxide@0.8.9", reason = "older miniz_oxide pulled in by upstream png 0.17.16, png 0.18.1" },
{ crate = "nix@0.28.0", reason = "older nix pulled in by upstream portable-pty 0.9.0" },
{ crate = "num-bigint@0.4.8", reason = "older num-bigint pulled in by upstream num 0.4.3, num-rational 0.4.2" },
{ crate = "png@0.17.16", reason = "older png pulled in by upstream ico 0.5.0" },
{ crate = "poly1305@0.8.0", reason = "older poly1305 pulled in by upstream chacha20poly1305 0.10.1" },
{ crate = "proc-macro-crate@1.3.1", reason = "older proc-macro-crate pulled in by upstream gtk3-macros 0.18.2" },
{ crate = "proc-macro-crate@2.0.2", reason = "older proc-macro-crate pulled in by upstream glib-macros 0.18.5" },
{ crate = "r-efi@5.3.0", reason = "older r-efi pulled in by upstream getrandom 0.3.4" },
{ crate = "rand@0.9.5", reason = "older rand pulled in by upstream proptest 1.11.0, tauri-plugin-notification 2.4.0" },
{ crate = "rand_core@0.6.4", reason = "older rand_core pulled in by upstream crypto-common 0.1.6" },
{ crate = "rand_core@0.9.5", reason = "older rand_core pulled in by upstream rand 0.9.5, rand_chacha 0.9.0, rand_xorshift 0.4.0" },
{ crate = "schemars@0.8.22", reason = "older schemars pulled in by upstream tauri-build 2.7.1, tauri-plugin 2.7.2, tauri-plugin-fs 2.5.2 …" },
{ crate = "schemars@0.9.0", reason = "older schemars pulled in by upstream serde_with 3.22.0" },
{ crate = "schemars_derive@0.8.22", reason = "older schemars_derive pulled in by upstream schemars 0.8.22" },
{ crate = "serde_derive_internals@0.29.1", reason = "older serde_derive_internals pulled in by upstream schemars_derive 0.8.22" },
{ crate = "serde_spanned@0.6.9", reason = "older serde_spanned pulled in by upstream toml 0.8.2, toml_edit 0.20.2" },
{ crate = "sha2@0.10.9", reason = "older sha2 pulled in by upstream sqlx-core 0.9.0, sqlx-macros-core 0.9.0, tauri-codegen 2.7.2 …" },
{ crate = "sha3@0.11.0", reason = "older sha3 pulled in by upstream ml-kem 0.3.2" },
{ crate = "shlex@1.3.0", reason = "older shlex pulled in by upstream bindgen 0.72.1" },
{ crate = "syn@1.0.109", reason = "older syn pulled in by upstream proc-macro-error 1.0.4" },
{ crate = "syn@2.0.119", reason = "older syn pulled in by upstream async-recursion 1.1.1, bindgen 0.72.1, curve25519-dalek-derive 0.1.1 …" },
{ crate = "thiserror@1.0.69", reason = "older thiserror pulled in by upstream cairo-rs 0.18.5, filedescriptor 0.8.3, gio 0.18.4 …" },
{ crate = "thiserror-impl@1.0.69", reason = "older thiserror-impl pulled in by upstream thiserror 1.0.69" },
{ crate = "toml@0.8.2", reason = "older toml pulled in by upstream system-deps 6.2.2" },
{ crate = "toml_datetime@0.6.3", reason = "older toml_datetime pulled in by upstream proc-macro-crate 2.0.2, toml 0.8.2, toml_edit 0.19.15 …" },
{ crate = "toml_edit@0.19.15", reason = "older toml_edit pulled in by upstream proc-macro-crate 1.3.1" },
{ crate = "toml_edit@0.20.2", reason = "older toml_edit pulled in by upstream proc-macro-crate 2.0.2, toml 0.8.2" },
{ crate = "universal-hash@0.5.1", reason = "older universal-hash pulled in by upstream poly1305 0.8.0" },
{ crate = "untrusted@0.7.1", reason = "older untrusted pulled in by upstream aws-lc-rs 1.18.0" },
{ crate = "windows@0.59.0", reason = "older windows pulled in by upstream clipboard-rs 0.3.5" },
{ crate = "windows@0.61.3", reason = "older windows pulled in by upstream tauri-plugin-opener 2.5.5, tauri-winrt-notification 0.7.3" },
{ crate = "windows-collections@0.2.0", reason = "older windows-collections pulled in by upstream windows 0.61.3" },
{ crate = "windows-core@0.59.0", reason = "older windows-core pulled in by upstream iana-time-zone 0.1.65, windows 0.59.0" },
{ crate = "windows-core@0.61.2", reason = "older windows-core pulled in by upstream windows 0.61.3, windows-collections 0.2.0, windows-future 0.2.1 …" },
{ crate = "windows-future@0.2.1", reason = "older windows-future pulled in by upstream windows 0.61.3" },
{ crate = "windows-implement@0.59.0", reason = "older windows-implement pulled in by upstream windows-core 0.59.0" },
{ crate = "windows-link@0.1.3", reason = "older windows-link pulled in by upstream windows 0.61.3, windows-core 0.61.2, windows-future 0.2.1 …" },
{ crate = "windows-numerics@0.2.0", reason = "older windows-numerics pulled in by upstream windows 0.61.3" },
{ crate = "windows-result@0.3.4", reason = "older windows-result pulled in by upstream windows-core 0.59.0, windows-core 0.61.2" },
{ crate = "windows-strings@0.3.1", reason = "older windows-strings pulled in by upstream windows-core 0.59.0" },
{ crate = "windows-strings@0.4.2", reason = "older windows-strings pulled in by upstream windows-core 0.61.2" },
{ crate = "windows-sys@0.45.0", reason = "older windows-sys pulled in by upstream jni 0.21.1" },
{ crate = "windows-sys@0.52.0", reason = "older windows-sys pulled in by upstream ring 0.17.14" },
{ crate = "windows-sys@0.59.0", reason = "older windows-sys pulled in by upstream winreg 0.55.0" },
{ crate = "windows-sys@0.60.2", reason = "older windows-sys pulled in by upstream rfd 0.16.0" },
{ crate = "windows-targets@0.42.2", reason = "older windows-targets pulled in by upstream windows-sys 0.45.0" },
{ crate = "windows-targets@0.52.6", reason = "older windows-targets pulled in by upstream windows-sys 0.52.0, windows-sys 0.59.0" },
{ crate = "windows-threading@0.1.0", reason = "older windows-threading pulled in by upstream windows-future 0.2.1" },
{ crate = "windows_aarch64_gnullvm@0.42.2", reason = "older windows_aarch64_gnullvm pulled in by upstream windows-targets 0.42.2" },
{ crate = "windows_aarch64_gnullvm@0.52.6", reason = "older windows_aarch64_gnullvm pulled in by upstream windows-targets 0.52.6" },
{ crate = "windows_aarch64_msvc@0.42.2", reason = "older windows_aarch64_msvc pulled in by upstream windows-targets 0.42.2" },
{ crate = "windows_aarch64_msvc@0.52.6", reason = "older windows_aarch64_msvc pulled in by upstream windows-targets 0.52.6" },
{ crate = "windows_i686_gnu@0.42.2", reason = "older windows_i686_gnu pulled in by upstream windows-targets 0.42.2" },
{ crate = "windows_i686_gnu@0.52.6", reason = "older windows_i686_gnu pulled in by upstream windows-targets 0.52.6" },
{ crate = "windows_i686_gnullvm@0.52.6", reason = "older windows_i686_gnullvm pulled in by upstream windows-targets 0.52.6" },
{ crate = "windows_i686_msvc@0.42.2", reason = "older windows_i686_msvc pulled in by upstream windows-targets 0.42.2" },
{ crate = "windows_i686_msvc@0.52.6", reason = "older windows_i686_msvc pulled in by upstream windows-targets 0.52.6" },
{ crate = "windows_x86_64_gnu@0.42.2", reason = "older windows_x86_64_gnu pulled in by upstream windows-targets 0.42.2" },
{ crate = "windows_x86_64_gnu@0.52.6", reason = "older windows_x86_64_gnu pulled in by upstream windows-targets 0.52.6" },
{ crate = "windows_x86_64_gnullvm@0.42.2", reason = "older windows_x86_64_gnullvm pulled in by upstream windows-targets 0.42.2" },
{ crate = "windows_x86_64_gnullvm@0.52.6", reason = "older windows_x86_64_gnullvm pulled in by upstream windows-targets 0.52.6" },
{ crate = "windows_x86_64_msvc@0.42.2", reason = "older windows_x86_64_msvc pulled in by upstream windows-targets 0.42.2" },
{ crate = "windows_x86_64_msvc@0.52.6", reason = "older windows_x86_64_msvc pulled in by upstream windows-targets 0.52.6" },
{ crate = "winnow@0.5.40", reason = "older winnow pulled in by upstream toml_edit 0.19.15, toml_edit 0.20.2" },
{ crate = "winreg@0.10.1", reason = "older winreg pulled in by upstream portable-pty 0.9.0" },
]
wildcards = "allow"
highlight = "all"
workspace-default-features = "allow"
external-default-features = "allow"
# This section is considered when running `cargo deny check sources`.
[sources]
# Nur crates.io als erlaubte Quelle (Spec 0090, A13) — keine
# Git-Abhängigkeiten oder unbekannten Registries ohne bewusste, kommentierte
# Ausnahme hier (`allow-git`/`sources.allow-org` bleiben leer).
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []
# Note (issue #1228): the temporary `[patch.crates-io] russh` points to the
# in-repo copy `vendor/russh` (a path source). Path sources need no entry here;
# no git or registry exception is required. Remove with the patch.
[sources.allow-org]
github = []
gitlab = []
bitbucket = []