forked from aws/amazon-q-developer-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeny.toml
More file actions
67 lines (58 loc) · 1.32 KB
/
deny.toml
File metadata and controls
67 lines (58 loc) · 1.32 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
[advisories]
version = 2
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
yanked = "deny"
ignore = [
# Unmaintained but complete,
"RUSTSEC-2024-0436",
# Generated smithy clients use an out of date proc-macro-error crate but probably safe
"RUSTSEC-2024-0370",
# TODO: Remove this during Chat UX sprint
"RUSTSEC-2024-0320",
]
[licenses]
version = 2
private = { ignore = true }
# licenses should only be approved licences by Amazon, if you
# are unsure please contact a maintainer otherwise other licences
# will be denied
allow = [
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"BSL-1.0",
"CC-PDDC",
"CC0-1.0",
"ISC",
"MIT",
"MPL-2.0",
"OpenSSL",
"Unicode-3.0",
"Zlib",
]
[[licenses.clarify]]
name = "ring"
version = "*"
expression = "MIT AND ISC AND OpenSSL"
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]
[bans]
multiple-versions = "allow"
wildcards = "deny"
allow-wildcard-paths = true
highlight = "all"
[bans.workspace-dependencies]
duplicates = "allow"
include-path-dependencies = true
unused = "deny"
[[bans.deny]]
name = "openssl"
[[bans.deny]]
name = "git2"
[[bans.deny]]
name = "tempdir"
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]