Fix-up various unused external crate warnings

This commit is contained in:
Sebastian Dröge 2017-09-01 13:42:59 +03:00
parent a30582a1ef
commit 062b596432
9 changed files with 1 additions and 12 deletions

2
Cargo.lock generated
View file

@ -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)",
]

View file

@ -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::*;

View file

@ -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;

View file

@ -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;

View file

@ -1,3 +1,4 @@
#[cfg(feature = "tokio")]
extern crate gstreamer as gst;
#[cfg(feature = "tokio")]
use gst::prelude::*;

View file

@ -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"] }

View file

@ -8,7 +8,6 @@
#[macro_use]
extern crate bitflags;
extern crate libc;
extern crate array_init;
extern crate glib_sys as glib_ffi;

View file

@ -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"] }

View file

@ -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;