gstreamer-rs/deny.toml
Sebastian Dröge 66069bcfa5 deny: Allow LGPL-2.0 license for the optional gstreamer-rs-lgpl-docs crate dependency
This is only pulled in when documentation build is enabled and thus
doesn't cause problems by pulling in an LGPL dependency.
2020-06-21 18:13:19 +03:00

69 lines
1.4 KiB
TOML

[advisories]
db-path = "~/.cargo/advisory-db"
db-url = "https://github.com/rustsec/advisory-db"
vulnerability = "deny"
unmaintained = "warn"
notice = "warn"
ignore = []
[licenses]
unlicensed = "deny"
allow = [
"Apache-2.0",
]
deny = [
"GPL-1.0",
"GPL-2.0",
"GPL-3.0",
"AGPL-1.0",
"AGPL-3.0",
]
copyleft = "deny"
allow-osi-fsf-free = "either"
confidence-threshold = 0.8
[[licenses.exceptions]]
allow = ["LGPL-2.0"]
name = "gstreamer-rs-lgpl-docs"
[bans]
multiple-versions = "deny"
highlight = "all"
# ignore duplicated deps because of outdated glutin
# https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/409
[[bans.skip]]
name = "unicode-xid"
version = "0.1.0"
[[bans.skip]]
name = "rusttype"
version = "0.7.9"
[[bans.skip]]
name = "quote"
version = "0.6.13"
[[bans.skip]]
name = "proc-macro2"
version = "0.4.30"
[[bans.skip]]
name = "gl_generator"
version = "0.13.1"
[[bans.skip]]
name = "libloading"
version = "0.5.2"
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-git = [
"https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys",
"https://github.com/gtk-rs/sys",
"https://github.com/gtk-rs/glib",
"https://github.com/gtk-rs/gio",
"https://github.com/gtk-rs/cairo",
"https://github.com/gtk-rs/pango",
"https://github.com/gtk-rs/pangocairo",
"https://github.com/gtk-rs/atk",
"https://github.com/gtk-rs/gdk-pixbuf",
"https://github.com/gtk-rs/gdk",
"https://github.com/gtk-rs/gtk",
]