diff --git a/Cargo.lock b/Cargo.lock index 70b9ae276..327310c92 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -306,7 +306,6 @@ dependencies = [ "gstreamer 0.8.0", "gstreamer-audio-sys 0.3.0 (git+https://github.com/sdroege/gstreamer-sys)", "gstreamer-sys 0.3.0 (git+https://github.com/sdroege/gstreamer-sys)", - "libc 0.2.30 (registry+https://github.com/rust-lang/crates.io-index)", "rustdoc-stripper 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -348,7 +347,6 @@ dependencies = [ "gobject-sys 0.4.0 (git+https://github.com/gtk-rs/sys)", "gstreamer 0.8.0", "gstreamer-player-sys 0.3.0 (git+https://github.com/sdroege/gstreamer-sys)", - "gstreamer-sys 0.3.0 (git+https://github.com/sdroege/gstreamer-sys)", "libc 0.2.30 (registry+https://github.com/rust-lang/crates.io-index)", "rustdoc-stripper 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", ] diff --git a/examples/src/bin/appsink.rs b/examples/src/bin/appsink.rs index 671b4f853..eb9bf40f8 100644 --- a/examples/src/bin/appsink.rs +++ b/examples/src/bin/appsink.rs @@ -3,8 +3,6 @@ use gst::prelude::*; extern crate gstreamer_app as gst_app; extern crate gstreamer_audio as gst_audio; -extern crate glib; - extern crate byte_slice_cast; use byte_slice_cast::*; diff --git a/examples/src/bin/appsrc.rs b/examples/src/bin/appsrc.rs index 34b6a9ee5..bb9ee84a1 100644 --- a/examples/src/bin/appsrc.rs +++ b/examples/src/bin/appsrc.rs @@ -3,8 +3,6 @@ use gst::prelude::*; extern crate gstreamer_app as gst_app; extern crate gstreamer_video as gst_video; -extern crate glib; - use std::u64; use std::thread; diff --git a/examples/src/bin/player.rs b/examples/src/bin/player.rs index c6e8ac7ad..cf5a0afe9 100644 --- a/examples/src/bin/player.rs +++ b/examples/src/bin/player.rs @@ -5,8 +5,6 @@ use gst::prelude::*; #[cfg(feature = "gst-player")] extern crate gstreamer_player as gst_player; -extern crate glib; - use std::env; pub mod utils; diff --git a/examples/src/bin/tokio.rs b/examples/src/bin/tokio.rs index 77293970b..82f7b9158 100644 --- a/examples/src/bin/tokio.rs +++ b/examples/src/bin/tokio.rs @@ -1,3 +1,4 @@ +#[cfg(feature = "tokio")] extern crate gstreamer as gst; #[cfg(feature = "tokio")] use gst::prelude::*; diff --git a/gstreamer-audio/Cargo.toml b/gstreamer-audio/Cargo.toml index ea255b733..135551f0f 100644 --- a/gstreamer-audio/Cargo.toml +++ b/gstreamer-audio/Cargo.toml @@ -14,7 +14,6 @@ build = "build.rs" [dependencies] bitflags = "0.9" -libc = "0.2" glib-sys = { git = "https://github.com/gtk-rs/sys" } gobject-sys = { git = "https://github.com/gtk-rs/sys" } gstreamer-sys = { git = "https://github.com/sdroege/gstreamer-sys", features = ["v1_8"] } diff --git a/gstreamer-audio/src/lib.rs b/gstreamer-audio/src/lib.rs index ac5f6de5a..8a364f9ac 100644 --- a/gstreamer-audio/src/lib.rs +++ b/gstreamer-audio/src/lib.rs @@ -8,7 +8,6 @@ #[macro_use] extern crate bitflags; -extern crate libc; extern crate array_init; extern crate glib_sys as glib_ffi; diff --git a/gstreamer-player/Cargo.toml b/gstreamer-player/Cargo.toml index 971ad0c75..0e4a18eac 100644 --- a/gstreamer-player/Cargo.toml +++ b/gstreamer-player/Cargo.toml @@ -17,7 +17,6 @@ bitflags = "0.9" libc = "0.2" glib-sys = { git = "https://github.com/gtk-rs/sys" } gobject-sys = { git = "https://github.com/gtk-rs/sys" } -gstreamer-sys = { git = "https://github.com/sdroege/gstreamer-sys", features = ["v1_12"] } gstreamer-player-sys = { git = "https://github.com/sdroege/gstreamer-sys", features = ["v1_12"] } glib = { git = "https://github.com/gtk-rs/glib" } gstreamer = { path = "../gstreamer", features = ["v1_12"] } diff --git a/gstreamer-player/src/lib.rs b/gstreamer-player/src/lib.rs index b768b5290..bc79a412a 100644 --- a/gstreamer-player/src/lib.rs +++ b/gstreamer-player/src/lib.rs @@ -10,7 +10,6 @@ extern crate libc; extern crate glib_sys as glib_ffi; extern crate gobject_sys as gobject_ffi; -extern crate gstreamer_sys as gst_ffi; extern crate gstreamer_player_sys as ffi; extern crate gstreamer as gst;