Crates.io | gst-plugin-version-helper |
lib.rs | gst-plugin-version-helper |
version | 0.8.2 |
source | src |
created_at | 2019-07-07 10:50:49.195539 |
updated_at | 2024-03-21 16:53:18.296337 |
description | build.rs helper function for GStreamer plugin metadata |
homepage | https://gstreamer.freedesktop.org |
repository | https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs |
max_upload_size | |
id | 147263 |
size | 10,857 |
Extracts release for GStreamer plugin metadata
See the documentation 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 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")
);
gst-plugin-version-helper
is licensed under the MIT license (LICENSE or
http://opensource.org/licenses/MIT).
Any kinds of contributions are welcome as a pull request.
Unless you explicitly state otherwise, any contribution intentionally
submitted for inclusion in gst-plugin-version-helper
by you shall be licensed
under the MIT license as above, without any additional terms or conditions.