-
Notifications
You must be signed in to change notification settings - Fork 11
/
deny.toml
74 lines (55 loc) · 1.08 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
[graph]
targets = [
"x86_64-unknown-linux-gnu"
]
[sources]
unknown-registry = "deny"
unknown-git = "deny"
[sources.allow-org]
github = [
"valeth",
]
[advisories]
ignore = []
[licenses]
private.ignore = true
allow = [
"MIT",
"Apache-2.0",
"BSD-3-Clause",
]
[[licenses.exceptions]]
crate = "unicode-ident"
allow = ["Unicode-DFS-2016"]
[bans]
multiple-versions = "deny"
wildcards = "deny"
allow-wildcard-paths = true
external-default-features = "allow" # very noisy when set to "warn"
workspace-default-features = "allow"
[[bans.deny]]
name = "openssl"
[[bans.deny]]
name = "bytes"
version = "<1"
[[bans.deny]]
name = "tokio"
version = "<1"
[[bans.deny]]
name = "futures"
version = "<0.3"
[[bans.deny]]
name = "uuid"
version = "<1"
[[bans.skip]]
name = "syn"
version = "<2.0"
reason = "some core crates still depend on syn version 1 (mostly sqlx)"
[[bans.skip]]
name = "sync_wrapper"
version = "=0.1"
reason = "axum depends on two different versions through tower"
[[bans.skip]]
name = "hashbrown"
version = "=0.14"
reason = "sqlx depends on two different versions"