-
Notifications
You must be signed in to change notification settings - Fork 1
/
deny.toml
79 lines (67 loc) · 2.45 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
targets = [
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "x86_64-unknown-linux-musl" },
{ triple = "x86_64-apple-darwin" },
{ triple = "x86_64-pc-windows-msvc" },
]
[advisories]
vulnerability = "deny"
unmaintained = "deny"
notice = "deny"
ignore = []
[licenses]
unlicensed = "deny"
copyleft = "deny"
allow-osi-fsf-free = "neither"
confidence-threshold = 0.93
default = "deny"
private = { ignore = true }
allow = [ "Apache-2.0", "MIT", "Unlicense", "BSD-3-Clause", "MPL-2.0", "ISC", "BSL-1.0", "OFL-1.1" ]
exceptions = []
[bans]
multiple-versions = "deny"
highlight = "all"
skip = [
# Dammit winit
{ name = "core-graphics", version = "0.19.2" },
{ name = "core-foundation-sys", version = "0.7.0" },
{ name = "core-foundation", version = "0.7.0" },
{ name = "cfg-if", version = "0.1.10" },
{ name = "smithay-client-toolkit", version = "0.12.3" },
{ name = "memmap2", version = "0.1.0" },
# Blocked on updates to smithay-toolkit
{ name = "ttf-parser", version = "0.6.2" },
{ name = "owned_ttf_parser", version = "0.6.0" },
{ name = "nix", version = "0.18.0" },
{ name = "libloading", version = "0.6.7" },
{ name = "dlib", version = "0.4.2" },
# Blocked on updates to wgpu
{ name = "hashbrown", version = "0.9.1" }
]
# Mostly soundness denies since the advisory lacks a section for soundess bugs
deny = [
# https://github.com/RustSec/advisory-db/pull/293
# NOTE: May be sound in the future: https://github.com/RustSec/advisory-db/pull/293#issuecomment-641898680
{ name = "rio", version = "*" },
# https://github.com/RustSec/advisory-db/issues/299
{ name = "smallvec", version = "<0.6.13" },
# https://github.com/RustSec/advisory-db/pull/268
{ name = "plutonium", version = "*" },
# https://github.com/RustSec/advisory-db/pull/308
{ name = "traitobject", version = "*" },
# https://github.com/RustSec/advisory-db/issues/305
{ name = "rental", version = "*" },
# Appears to be moving towards integrating rio more tightly for io_uring support
{ name = "sled", version = "*" },
]
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = [ "https://github.com/rust-lang/crates.io-index" ]
allow-git = [
"https://github.com/adumbidiot/iphlpapi-rs",
"https://github.com/hecrj/iced",
"https://github.com/iced-rs/iced_aw",
"https://github.com/adumbidiot/skylight-rs",
"https://github.com/iced-rs/winit",
]