reqwest: Rename again reflecting the crate name

rshttp is too generic, so rename the plugin in a similar fashion as most other
GStreamer Rust plugins in this repository.
This commit is contained in:
Philippe Normand 2019-08-02 16:34:53 +01:00
parent a844d765da
commit 0fcc0cb2d3
3 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ bytes = "0.4"
hyper = "0.12"
[lib]
name = "gstrshttp"
name = "gstreqwest"
crate-type = ["cdylib", "rlib"]
path = "src/lib.rs"

View file

@ -27,7 +27,7 @@ fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
}
gst_plugin_define!(
rshttp,
reqwest,
env!("CARGO_PKG_DESCRIPTION"),
plugin_init,
concat!(env!("CARGO_PKG_VERSION"), "-", env!("COMMIT_ID")),

View file

@ -17,7 +17,7 @@ fn init() {
INIT.call_once(|| {
gst::init().unwrap();
gstrshttp::plugin_register_static().expect("reqwesthttpsrc tests");
gstreqwest::plugin_register_static().expect("reqwesthttpsrc tests");
});
}