diff --git a/Cargo.lock b/Cargo.lock index 3e154d90f..466861d23 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9,7 +9,6 @@ dependencies = [ "gstreamer 0.1.0", "gstreamer-audio-sys 0.1.1 (git+https://github.com/sdroege/gstreamer-sys)", "gstreamer-sys 0.1.1 (git+https://github.com/sdroege/gstreamer-sys)", - "lazy_static 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.29 (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/gstreamer-audio/Cargo.toml b/gstreamer-audio/Cargo.toml index cc0ea59fc..47ed558e4 100644 --- a/gstreamer-audio/Cargo.toml +++ b/gstreamer-audio/Cargo.toml @@ -19,7 +19,6 @@ gstreamer-sys = { version = "0.1.1", git = "https://github.com/sdroege/gstreamer gstreamer-audio-sys = { version = "0.1.1", git = "https://github.com/sdroege/gstreamer-sys", features = ["v1_8"] } glib = { version = "0.1.3", git = "https://github.com/gtk-rs/glib" } gstreamer = { version = "0.1.0", path = "../gstreamer" } -lazy_static = "0.2" [build-dependencies.rustdoc-stripper] version = "0.1" diff --git a/gstreamer-audio/src/lib.rs b/gstreamer-audio/src/lib.rs index fc10fc7e9..b288910f5 100644 --- a/gstreamer-audio/src/lib.rs +++ b/gstreamer-audio/src/lib.rs @@ -9,8 +9,6 @@ #[macro_use] extern crate bitflags; extern crate libc; -#[macro_use] -extern crate lazy_static; extern crate glib_sys as glib_ffi; extern crate gobject_sys as gobject_ffi; @@ -18,15 +16,8 @@ extern crate gstreamer_sys as gst_ffi; extern crate gstreamer_audio_sys as ffi; extern crate gstreamer as gst; -#[macro_use] extern crate glib; -macro_rules! callback_guard { - () => ( - let _guard = ::glib::CallbackGuard::new(); - ) -} - macro_rules! skip_assert_initialized { () => ( )