Crate gst_plugin_version_helper[−][src]
Expand description
Extracts release for GStreamer plugin metadata
See get_info
for details.
This function is supposed to be used as follows in the build.rs
of a crate that implements a
plugin:
ⓘ
gst_plugin_version_helper::info();
Inside lib.rs
of the plugin, the information provided by get_info
are usable as follows:
ⓘ
gst::plugin_define!( the_plugin_name, env!("CARGO_PKG_DESCRIPTION"), plugin_init, concat!(env!("CARGO_PKG_VERSION"), "-", env!("COMMIT_ID")), "The Plugin's License", env!("CARGO_PKG_NAME"), env!("CARGO_PKG_NAME"), env!("CARGO_PKG_REPOSITORY"), env!("BUILD_REL_DATE") );
Functions
Extracts release for GStreamer plugin metadata