-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdeny.toml
39 lines (36 loc) · 1.01 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
[licenses]
unlicensed = "deny"
allow-osi-fsf-free = "either"
allow = [
"Apache-2.0",
"BSL-1.0",
"MIT",
"MPL-2.0",
"Unlicense",
]
[bans]
multiple-versions = "deny"
skip = [
# Winit
{ name = "winapi", version = "0.2.8" }, # winit -> mio-extras -> mio requires this
# graphics
{ name = "miniz_oxide", version = "0.3.7" }, # png uses old version
{ name = "core-foundation", version = "0.7.0" }, # winit uses old version
{ name = "core-foundation-sys", version = "0.7.0" }, # winit uses old version
# parking_lot
{ name = "parking_lot", version = "0.10" },
{ name = "parking_lot_core", version = "0.7.2" },
{ name = "lock_api", version = "0.3.4" },
{ name = "cloudabi", version = "0.0.3" },
# async-std
{ name = "parking", version = "1.0.6" },
]
[advisories]
vulnerability = "deny"
unmaintained = "deny"
ignore = [
"RUSTSEC-2020-0016" # async-std is using net2 which id deprecated in favor of socket2
]
[sources]
unknown-registry = "deny"
unknown-git = "allow"