forked from MettaChain/PropChain-contract
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeny-new.toml
More file actions
34 lines (30 loc) · 1.17 KB
/
Copy pathdeny-new.toml
File metadata and controls
34 lines (30 loc) · 1.17 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
# cargo-deny configuration for PropChain contract security audit
# For more information about cargo-deny, see: https://github.com/EmbarkStudios/cargo-deny
[advisories]
# The database of vulnerabilities
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
# Don't fail if advisory database can't be fetched
allow-unmaintained = true
allow-notice = true
allow-yanked = true
[bans]
# Lint level for when multiple versions of the same crate are detected
multiple-versions = "warn"
# Lint level for when an unmaintained crate is detected
unmaintained = "warn"
# Lint level for when a crate with a security notice is detected
yanked = "warn"
# Lint level for when a crate with a notice is detected
notice = "warn"
[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 = "warn"
# Lint level for what to happen when a crate from a git repository that is not in
# the allow list is encountered
unknown-git = "warn"
# List of URLs for allowed crate registries
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
# List of URLs for allowed Git repositories
allow-git = []