-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdeny.toml
More file actions
85 lines (75 loc) · 2.15 KB
/
Copy pathdeny.toml
File metadata and controls
85 lines (75 loc) · 2.15 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# cargo-deny configuration for Egide
# https://embarkstudios.github.io/cargo-deny/
#
# Run: cargo deny check
#
# Compatible with cargo-deny 0.18.x
[graph]
targets = [
"x86_64-unknown-linux-gnu",
"x86_64-apple-darwin",
"aarch64-apple-darwin",
"x86_64-pc-windows-msvc",
]
all-features = true
# =============================================================================
# Licenses - Allow only permissive licenses compatible with MIT OR Apache-2.0
# =============================================================================
[licenses]
version = 2
confidence-threshold = 0.93
allow = [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unicode-DFS-2016",
"Unicode-3.0",
"Zlib",
"CC0-1.0",
"MPL-2.0",
"CDLA-Permissive-2.0",
]
exceptions = []
# =============================================================================
# Advisories - Check for known vulnerabilities
# =============================================================================
[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
ignore = [
# Add advisory IDs to ignore here if needed
# "RUSTSEC-0000-0000",
]
# =============================================================================
# Bans - Deny specific crates or versions
# =============================================================================
[bans]
multiple-versions = "warn"
wildcards = "allow"
highlight = "all"
deny = [
# Crates with known issues
# { name = "openssl", wrappers = [] },
]
skip = [
# Allow multiple versions of these crates if needed
# { name = "syn", version = "1.0" },
]
skip-tree = [
# Skip entire dependency trees
# { name = "windows-sys" },
]
# =============================================================================
# Sources - Restrict where crates can come from
# =============================================================================
[sources]
unknown-registry = "deny"
unknown-git = "warn"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
# [sources.allow-org]
# github = [
# "nubster-opensources",
# ]