Skip to content

Commit

Permalink
Add deny.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
sdroege committed Sep 7, 2023
1 parent 97fb61b commit 93732ce
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
exclude = [
"gtk-rs-examples",
]

[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
vulnerability = "deny"
unmaintained = "warn"
notice = "warn"
ignore = []

[licenses]
unlicensed = "deny"
allow = [
"MIT",
"Apache-2.0",
]
copyleft = "deny"
allow-osi-fsf-free = "either"
default = "deny"
confidence-threshold = 0.8

[bans]
multiple-versions = "deny"
wildcards = "allow"
highlight = "all"

[sources]
unknown-registry = "deny"
unknown-git = "deny"

# proc-macro-error depends on an old version of sync
# See https://github.com/gtk-rs/gtk-rs-core/issues/1174
[[bans.skip]]
name = "syn"
version = "1.0"

# https://github.com/PistonDevelopers/freetype-rs/pull/254
# https://gitlab.redox-os.org/redox-os/syscall/-/issues/34
[[bans.skip]]
name = "bitflags"
version = "1.0"

0 comments on commit 93732ce

Please sign in to comment.