[−][src]Crate gst_plugin_version_helper
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:
ⓘThis example is not tested
extern crate gst_plugin_version_helper; gst_plugin_version_helper::get_info();
Inside lib.rs
of the plugin, the information provided by get_info
are usable as follows:
ⓘThis example is not tested
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
get_info | Extracts release for GStreamer plugin metadata |