-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdeny.toml
More file actions
36 lines (32 loc) · 739 Bytes
/
Copy pathdeny.toml
File metadata and controls
36 lines (32 loc) · 739 Bytes
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
# Configuration for cargo-deny
# https://embarkstudios.github.io/cargo-deny/
[advisories]
version = 2
# Check for security vulnerabilities
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
ignore = []
[licenses]
version = 2
# Allow common open source licenses
allow = [
"MIT",
"Apache-2.0",
"Unicode-3.0",
"Zlib",
]
confidence-threshold = 0.8
[bans]
# Deny multiple versions of the same crate
multiple-versions = "warn"
wildcards = "allow"
highlight = "all"
deny = []
skip = []
skip-tree = []
[sources]
# Ensure all dependencies come from trusted sources
unknown-registry = "deny"
unknown-git = "warn"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []