forked from ariel-os/ariel-os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deny.toml
62 lines (58 loc) · 2.25 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
[graph]
# If true, metadata will be collected with `--all-features`. Note that this can't
# be toggled off if true, if you want to conditionally enable `--all-features` it
# is recommended to pass `--all-features` on the cmd line instead
all-features = false
# make cargo-deny ignore these:
exclude = ["nrf-pac"] # currently unlicensed
# 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]
# Check dev-dependencies as well
include-dev = true
# List of explicitly allowed licenses
# See https://spdx.org/licenses/ for list of possible licenses
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
allow = [
"0BSD",
"Apache-2.0",
"BSD-3-Clause",
"ISC",
"MIT",
"MPL-2.0",
"Unicode-DFS-2016",
"Zlib",
# We may allow other licenses as necessary.
]
# Allow 1 or more licenses on a per-crate basis, so that particular licenses
# aren't accepted for every possible crate as with the normal allow list
exceptions = [
# Each entry is the crate and version constraint, and its specific allow
# list
{ allow = ["BSL-1.0"], crate = "lhash" },
# OSI-approved: https://opensource.org/license/blue-oak-model-license
{ allow = ["BlueOak-1.0.0"], crate = "minicbor" },
{ allow = ["CC0-1.0"], crate = "tiny-keccak" },
]
# This section is considered when running `cargo deny check sources`.
# More documentation about the 'sources' section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/sources/cfg.html
[sources]
# Lint level for what to happen when a crate from a crate registry that is not
# in the allow list is encountered
unknown-registry = "deny"
# Lint level for what to happen when a crate from a git repository that is not
# in the allow list is encountered
unknown-git = "deny"
# List of URLs for allowed Git repositories
allow-git = [
"https://github.com/hacspec/hax",
"https://github.com/smoltcp-rs/smoltcp",
"https://github.com/twitchyliquid64/usbd-hid",
"https://gitlab.com/oscore/liboscore",
"https://github.com/seanmonstar/try-lock",
]
[sources.allow-org]
# github.com organizations to allow git sources for
github = ["ariel-os", "embassy-rs", "esp-rs"]