Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>2020-04-16 14:03:28 +0300
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>2020-04-28 11:39:50 +0300
commit3d1df3ca255c1d8cf9888deda4a28256714c9e64 (patch)
tree98f4721741f594f7051a8939d999d919d9abb08d /deny.toml
parentf34673b70463f6b5a0a756aec0ed0b179f5da05f (diff)
ci: switch from cargo-audit to cargo-deny
Fix #110
Diffstat (limited to 'deny.toml')
-rw-r--r--deny.toml56
1 files changed, 56 insertions, 0 deletions
diff --git a/deny.toml b/deny.toml
new file mode 100644
index 000000000..8fd2a0d5d
--- /dev/null
+++ b/deny.toml
@@ -0,0 +1,56 @@
+[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 = "allow"
+allow-osi-fsf-free = "either"
+confidence-threshold = 0.8
+
+[bans]
+multiple-versions = "warn"
+highlight = "all"
+
+skip-tree = [
+ # Need to upgrade rusoto dep: https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/312
+ { name = "gst-plugin-rusoto" },
+ { name = "rusoto_core" },
+ # Metadeps needs to update error-chain: https://github.com/joshtriplett/metadeps/pull/12
+ { name = "metadeps", depth = 2 },
+ # Need a dav1d release: https://github.com/rust-av/dav1d-rs/issues/30
+ { name = "dav1d-sys" }
+]
+
+[sources]
+unknown-registry = "deny"
+unknown-git = "deny"
+allow-git = [
+ "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs",
+ "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/atk",
+ "https://github.com/gtk-rs/gdk-pixbuf",
+ "https://github.com/gtk-rs/gdk",
+ "https://github.com/gtk-rs/gtk",
+ "https://github.com/fengalin/tokio",
+ "https://github.com/rust-av/flavors",
+]