create super strict rust config
This commit is contained in:
commit
d56ebb7e16
36 changed files with 2969 additions and 0 deletions
49
deny.toml
Normal file
49
deny.toml
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
[graph]
|
||||
# We don't expect to run on different architectures than the normal tier-1 targets
|
||||
targets = [
|
||||
"x86_64-unknown-linux-gnu",
|
||||
"aarch64-unknown-linux-gnu",
|
||||
"x86_64-unknown-linux-musl",
|
||||
"aarch64-apple-darwin",
|
||||
"x86_64-apple-darwin",
|
||||
"x86_64-pc-windows-msvc",
|
||||
]
|
||||
all-features = true
|
||||
|
||||
[advisories]
|
||||
ignore = []
|
||||
|
||||
[licenses]
|
||||
version = 2
|
||||
allow = [
|
||||
"EUPL-1.2",
|
||||
#"0BSD",
|
||||
#"Apache-2.0 WITH LLVM-exception",
|
||||
#"Apache-2.0",
|
||||
# "BSD-2-Clause",
|
||||
#"BSD-3-Clause",
|
||||
#"BSL-1.0",
|
||||
#"CC0-1.0",
|
||||
#"ISC",
|
||||
# "MIT-0",
|
||||
"MIT",
|
||||
#"MPL-2.0",
|
||||
#"Unicode-3.0",
|
||||
"Unlicense",
|
||||
#"Zlib",
|
||||
]
|
||||
exceptions = [
|
||||
# { name = "unicode-ident", allow = ["Unicode-DFS-2016"] }
|
||||
]
|
||||
|
||||
[bans]
|
||||
multiple-versions = "warn"
|
||||
wildcards = "deny"
|
||||
# Certain crates that we do not want multiple versions of in the dependency tree
|
||||
deny = []
|
||||
|
||||
[sources]
|
||||
unknown-registry = "warn"
|
||||
unknown-git = "warn"
|
||||
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
|
||||
allow-git = []
|
||||
Loading…
Add table
Add a link
Reference in a new issue