13 releases

new 0.8.4 May 18, 2026
0.8.3 Jul 16, 2025
0.8.2 Mar 21, 2024
0.8.0 Sep 29, 2023
0.1.0 Jul 7, 2019

#80 in Build Utils

Download history 8746/week @ 2026-01-28 9023/week @ 2026-02-04 10512/week @ 2026-02-11 8955/week @ 2026-02-18 9178/week @ 2026-02-25 9750/week @ 2026-03-04 8851/week @ 2026-03-11 11222/week @ 2026-03-18 8006/week @ 2026-03-25 6602/week @ 2026-04-01 9200/week @ 2026-04-08 10050/week @ 2026-04-15 10708/week @ 2026-04-22 9606/week @ 2026-04-29 11552/week @ 2026-05-06 10432/week @ 2026-05-13

44,419 downloads per month
Used in 77 crates (72 directly)

MIT license

11KB
96 lines

gst-plugin-version-helper crates.io docs.rs

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")
);

LICENSE

gst-plugin-version-helper is licensed under the MIT license (LICENSE or http://opensource.org/licenses/MIT).

Contribution

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.

Dependencies

~4MB
~82K SLoC