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:
authorSebastian Dröge <sebastian@centricular.com>2018-05-01 17:25:49 +0300
committerSebastian Dröge <sebastian@centricular.com>2018-05-01 17:25:49 +0300
commit51b21ef9779278b5ffa4fbb266ac0111a0fddf6f (patch)
tree80645e4e2eb5310617f33e75ea81cde751fb6df9
parent8bc3f12061deb244435d08dc806b8029a27da8b4 (diff)
Cleanup up imports/macro_use
-rw-r--r--gobject-subclass/Cargo.toml2
-rw-r--r--gobject-subclass/src/guard.rs1
-rw-r--r--gobject-subclass/src/lib.rs4
-rw-r--r--gst-plugin/src/lib.rs11
4 files changed, 1 insertions, 17 deletions
diff --git a/gobject-subclass/Cargo.toml b/gobject-subclass/Cargo.toml
index ea579b420..e929f0526 100644
--- a/gobject-subclass/Cargo.toml
+++ b/gobject-subclass/Cargo.toml
@@ -7,8 +7,6 @@ license = "MIT/Apache-2.0"
[dependencies]
libc = "0.2"
-lazy_static = "1.0"
-byteorder = "1.0"
glib-sys = { git = "https://github.com/gtk-rs/sys" }
gobject-sys = { git = "https://github.com/gtk-rs/sys" }
glib = { git = "https://github.com/gtk-rs/glib" }
diff --git a/gobject-subclass/src/guard.rs b/gobject-subclass/src/guard.rs
index 851453694..ffac30211 100644
--- a/gobject-subclass/src/guard.rs
+++ b/gobject-subclass/src/guard.rs
@@ -8,7 +8,6 @@
use std::ptr;
-use glib;
use glib_ffi;
use gobject_ffi;
diff --git a/gobject-subclass/src/lib.rs b/gobject-subclass/src/lib.rs
index 4cc337e10..1e691bbca 100644
--- a/gobject-subclass/src/lib.rs
+++ b/gobject-subclass/src/lib.rs
@@ -6,15 +6,11 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
-extern crate byteorder;
pub extern crate glib_sys as glib_ffi;
pub extern crate gobject_sys as gobject_ffi;
-#[macro_use]
-extern crate lazy_static;
extern crate libc;
-#[macro_use]
pub extern crate glib;
#[macro_use]
diff --git a/gst-plugin/src/lib.rs b/gst-plugin/src/lib.rs
index 1210d93ae..77d3fb735 100644
--- a/gst-plugin/src/lib.rs
+++ b/gst-plugin/src/lib.rs
@@ -25,18 +25,9 @@ extern crate gstreamer_base as gst_base;
#[macro_use]
extern crate gobject_subclass;
-#[macro_use]
-#[macro_use]
-#[macro_use]
-#[macro_use]
pub use gobject_subclass::anyimpl;
-pub use gobject_subclass::properties;
-
-#[macro_use]
-#[macro_use]
-#[macro_use]
-#[macro_use]
pub use gobject_subclass::guard;
+pub use gobject_subclass::properties;
pub mod object;