From 3e01736caf13a76dac99340c04fd7b3b607a0128 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 29 May 2019 15:37:26 +0530 Subject: [PATCH] sodium: rename plugin to 'gstsodium' --- gst-plugin-sodium/Cargo.toml | 2 +- gst-plugin-sodium/src/lib.rs | 6 +++--- gst-plugin-sodium/tests/decrypter.rs | 4 ++-- gst-plugin-sodium/tests/encrypter.rs | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gst-plugin-sodium/Cargo.toml b/gst-plugin-sodium/Cargo.toml index 936c7d0a..003d5b5e 100644 --- a/gst-plugin-sodium/Cargo.toml +++ b/gst-plugin-sodium/Cargo.toml @@ -31,7 +31,7 @@ git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" package="gstreamer-app" [lib] -name = "gstrssodium" +name = "gstsodium" crate-type = ["cdylib", "rlib"] path = "src/lib.rs" diff --git a/gst-plugin-sodium/src/lib.rs b/gst-plugin-sodium/src/lib.rs index d2336002..43b05c6e 100644 --- a/gst-plugin-sodium/src/lib.rs +++ b/gst-plugin-sodium/src/lib.rs @@ -74,13 +74,13 @@ fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { } gst_plugin_define!( - rssodium, + sodium, "libsodium-based file encryption and decryption", plugin_init, "1.0", "MIT/X11", - "rssodium", - "rssodium", + "sodium", + "sodium", "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs", "2019-03-18" ); diff --git a/gst-plugin-sodium/tests/decrypter.rs b/gst-plugin-sodium/tests/decrypter.rs index e23e0aa5..993e81b0 100644 --- a/gst-plugin-sodium/tests/decrypter.rs +++ b/gst-plugin-sodium/tests/decrypter.rs @@ -27,7 +27,7 @@ extern crate lazy_static; #[macro_use] extern crate pretty_assertions; -extern crate gstrssodium; +extern crate gstsodium; use glib::prelude::*; use gst::prelude::*; @@ -59,7 +59,7 @@ fn init() { INIT.call_once(|| { gst::init().unwrap(); - gstrssodium::plugin_register_static().unwrap(); + gstsodium::plugin_register_static().unwrap(); }); } diff --git a/gst-plugin-sodium/tests/encrypter.rs b/gst-plugin-sodium/tests/encrypter.rs index 93854e5f..21313c9b 100644 --- a/gst-plugin-sodium/tests/encrypter.rs +++ b/gst-plugin-sodium/tests/encrypter.rs @@ -24,7 +24,7 @@ #[macro_use] extern crate lazy_static; -extern crate gstrssodium; +extern crate gstsodium; use glib::prelude::*; use gst::prelude::*; @@ -60,7 +60,7 @@ fn init() { INIT.call_once(|| { gst::init().unwrap(); - gstrssodium::plugin_register_static().unwrap(); + gstsodium::plugin_register_static().unwrap(); // set the nonce std::env::set_var("GST_SODIUM_ENCRYPT_NONCE", hex::encode(&*NONCE)); });