oysh/deny.toml
Charlotte Meyer f0f0d4e626 feat: add cargo deny config
Also make code compliant.

Signed-off-by: Charlotte Meyer <dev@buffet.sh>
2022-10-29 12:41:08 +00:00

27 lines
495 B
TOML

[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
vulnerability = "deny"
unmaintained = "deny"
yanked = "deny"
notice = "deny"
[licenses]
unlicensed = "deny"
copyleft = "deny"
allow = [
"Apache-2.0",
"MIT",
]
default = "deny"
[bans]
multiple-versions = "deny"
wildcards = "deny"
highlight = "all"
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []