diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2020-11-22 17:24:55 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2020-11-23 11:28:33 +0300 |
commit | 1c9c22df0c6a6aeb7071f52efbba03d8f1d9a2cd (patch) | |
tree | ec5781a5940259a9f443fa5d12424b54a9cea220 /generic/sodium/src/lib.rs | |
parent | 684f52b7d4b262079d819bf61ddc287ae325151c (diff) |
generic: Update to 2018 edition
Diffstat (limited to 'generic/sodium/src/lib.rs')
-rw-r--r-- | generic/sodium/src/lib.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/generic/sodium/src/lib.rs b/generic/sodium/src/lib.rs index 5e5470f89..bdccccd64 100644 --- a/generic/sodium/src/lib.rs +++ b/generic/sodium/src/lib.rs @@ -20,13 +20,6 @@ // // SPDX-License-Identifier: MIT -#[macro_use] -extern crate glib; -#[macro_use] -extern crate gst; -#[macro_use] -extern crate lazy_static; - const TYPEFIND_HEADER: &[u8; 12] = b"gst-sodium10"; // `core::slice::<impl [T]>::len` is not yet stable as a const fn // const TYPEFIND_HEADER_SIZE: usize = TYPEFIND_HEADER.len(); @@ -68,7 +61,7 @@ fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { Ok(()) } -gst_plugin_define!( +gst::gst_plugin_define!( sodium, env!("CARGO_PKG_DESCRIPTION"), plugin_init, |