From da5d6df69468683d1eecddd0a95477d9dd719ce7 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Wed, 14 Oct 2020 18:43:30 +0200 Subject: [PATCH] Remove unused dependencies found by cargo-udeps --- gstreamer-rtsp/Cargo.toml | 2 -- tutorials/Cargo.toml | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/gstreamer-rtsp/Cargo.toml b/gstreamer-rtsp/Cargo.toml index 599a9b8ec..48fdc2b72 100644 --- a/gstreamer-rtsp/Cargo.toml +++ b/gstreamer-rtsp/Cargo.toml @@ -17,12 +17,10 @@ bitflags = "1.0" libc = "0.2" glib-sys = { git = "https://github.com/gtk-rs/sys" } gobject-sys = { git = "https://github.com/gtk-rs/sys" } -gio-sys = { git = "https://github.com/gtk-rs/sys" } gstreamer-sys = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys", features = ["v1_8"] } gstreamer-rtsp-sys = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys", features = ["v1_8"] } gstreamer-sdp-sys = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys", features = ["v1_8"] } glib = { git = "https://github.com/gtk-rs/glib" } -gio = { git = "https://github.com/gtk-rs/gio" } gstreamer = { path = "../gstreamer" } gstreamer-sdp = { path = "../gstreamer-sdp" } diff --git a/tutorials/Cargo.toml b/tutorials/Cargo.toml index 4f66f2c79..803c9ea1b 100644 --- a/tutorials/Cargo.toml +++ b/tutorials/Cargo.toml @@ -11,13 +11,13 @@ gdk = { git = "https://github.com/gtk-rs/gdk", optional = true } gtk = { git = "https://github.com/gtk-rs/gtk", optional = true } gst = { package = "gstreamer", path = "../gstreamer" } gst-audio = { package = "gstreamer-audio", path = "../gstreamer-audio" } -gst-video = { package = "gstreamer-video", path = "../gstreamer-video" } +gst-video = { package = "gstreamer-video", path = "../gstreamer-video", optional = true } gst-app = { package = "gstreamer-app", path = "../gstreamer-app" } gst-pbutils = { package = "gstreamer-pbutils", path = "../gstreamer-pbutils" } byte-slice-cast = "1" anyhow = "1" [features] -tutorial5 = ["gtk", "gdk"] +tutorial5 = ["gtk", "gdk", "gst-video"] tutorial5-x11 = ["tutorial5"] tutorial5-quartz = ["tutorial5"]