generated from ultralytics/template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdeny.toml
More file actions
83 lines (76 loc) · 2.47 KB
/
deny.toml
File metadata and controls
83 lines (76 loc) · 2.47 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
# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license
# Configuration for https://github.com/EmbarkStudios/cargo-deny
# Install: cargo install cargo-deny
# Run: cargo deny check
# This section is considered when running `cargo deny check advisories`
# More documentation for the advisories section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
yanked = "warn"
ignore = [
# Add advisory IDs to ignore here with justification
# Example: "RUSTSEC-2021-0124", # reason for ignoring
]
# This section is considered when running `cargo deny check licenses`
# More documentation for the licenses section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
[licenses]
# Allow only OSI-approved and FSF Free licenses by default
# See https://spdx.org/licenses/ for full list
allow = [
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"MIT",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unicode-DFS-2016",
"Unlicense",
"Zlib",
"0BSD",
"MPL-2.0",
"AGPL-3.0-or-later"
]
confidence-threshold = 0.8
exceptions = [
# Add exceptions here for specific crates
# { allow = ["AGPL-3.0"], name = "your-crate" },
]
[[licenses.clarify]]
name = "ring"
expression = "MIT AND ISC AND OpenSSL"
license-files = [
{ path = "LICENSE", hash = 0xbd0eed23 }
]
# This section is considered when running `cargo deny check bans`
# More documentation for the bans section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html
[bans]
multiple-versions = "warn"
wildcards = "allow"
highlight = "all"
# Certain crates/versions that will be skipped when doing duplicate detection
skip = [
# Add specific crate versions to skip here
# { name = "some-crate", version = "0.1.0" },
]
skip-tree = [
# Add entire crate trees to skip here
# { name = "some-crate", version = "0.1.0" },
]
deny = [
# Add crates to ban entirely here
# { name = "bad-crate", wrappers = [] },
]
# This section is considered when running `cargo deny check sources`
# More documentation for the sources section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/sources/cfg.html
[sources]
unknown-registry = "warn"
unknown-git = "warn"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []
[sources.allow-org]
github = ["ultralytics"]