-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdeny.toml
105 lines (95 loc) · 3.92 KB
/
deny.toml
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
# Cargo deny options
[graph]
targets = [
# Linux
{ triple = "x86_64-unknown-linux-gnu" },
# Windows
{ triple = "x86_64-pc-windows-gnu" },
# Mobile (Android)
{ triple = "i686-linux-android" },
{ triple = "armv7-linux-androideabi" },
{ triple = "aarch64-linux-android" },
# Mobile (iOS)
{ triple = "aarch64-apple-ios" },
]
all-features = false
no-default-features = false
# This section is considered when running `cargo deny check advisories`
# More documentation for the advisories section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
version = 2
yanked = "deny"
ignore = [
{ id = "RUSTSEC-2023-0055", reason = "no safe upgrade available, hard to replace dependency of JSON-LD" },
{ id = "RUSTSEC-2023-0071", reason = "no safe upgrade available, can be avoided by not using RSA in mysql server" },
{ id = "RUSTSEC-2024-0363", reason = "will update sea-orm as soon as the fix is introduced to sqlx" },
{ id = "RUSTSEC-2024-0370", reason = "proc-macro-error crate unmaintained, indirect dependency of a few libs" },
{ id = "RUSTSEC-2023-0086", reason = "complex dependency upgrade path, will be revisited ASAP" },
{ id = "RUSTSEC-2022-0040", reason = "`owning_ref` doesn't seem to be used anywhere inside json-ld" },
]
# This section is considered when running `cargo deny check licenses`
# More documentation for the licenses section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
[licenses]
allow = [
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"CC0-1.0",
"CECILL-B",
"ISC",
"MIT",
"MIT-0",
"Unicode-DFS-2016",
"Zlib",
"BSL-1.0",
]
confidence-threshold = 0.8
version = 2
exceptions = [
# Allow MPL-2.0 for libraries we do not modify
{ allow = ["MPL-2.0"], name = "webpki-roots", version = "*" },
{ allow = ["MPL-2.0"], name = "resiter", version = "*" },
{ allow = ["MPL-2.0"], name = "uniffi", version = "*" },
{ allow = ["MPL-2.0"], name = "uniffi_bindgen", version = "*" },
{ allow = ["MPL-2.0"], name = "uniffi_build", version = "*" },
{ allow = ["MPL-2.0"], name = "uniffi_checksum_derive", version = "*" },
{ allow = ["MPL-2.0"], name = "uniffi_core", version = "*" },
{ allow = ["MPL-2.0"], name = "uniffi_macros", version = "*" },
{ allow = ["MPL-2.0"], name = "uniffi_meta", version = "*" },
{ allow = ["MPL-2.0"], name = "uniffi_testing", version = "*" },
{ allow = ["MPL-2.0"], name = "uniffi_udl", version = "*" },
{ allow = ["MPL-2.0"], name = "bitmaps", version = "*" },
{ allow = ["MPL-2.0"], name = "im", version = "*" },
{ allow = ["MPL-2.0"], name = "sized-chunks", version = "*" },
# Allow OpenSSL for ring
{ allow = ["OpenSSL"], name = "ring", version = "*" },
]
[licenses.private]
ignore = true
# Clarify ring crate license (LICENSE file not properly detected)
[[licenses.clarify]]
expression = "MIT AND ISC AND OpenSSL"
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]
name = "ring"
# This section is considered when running `cargo deny check bans`.
# More documentation about the 'bans' section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html
[bans]
allow = []
deny = []
external-default-features = "allow"
multiple-versions = "allow"
wildcards = "deny"
workspace-default-features = "allow"
# This section is considered when running `cargo deny check sources`.
# More documentation about the 'sources' section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/sources/cfg.html
[sources]
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
private = ["https://gitlab.procivis.ch"]
unknown-git = "deny"
unknown-registry = "deny"