11 releases

0.8.2 Mar 21, 2024
0.8.0 Sep 29, 2023
0.7.5 Nov 13, 2022
0.7.3 Jan 12, 2022
0.1.0 Jul 7, 2019

#111 in Development tools

Download history 2894/week @ 2024-10-20 2616/week @ 2024-10-27 2677/week @ 2024-11-03 2401/week @ 2024-11-10 3812/week @ 2024-11-17 3718/week @ 2024-11-24 4906/week @ 2024-12-01 5805/week @ 2024-12-08 4084/week @ 2024-12-15 2079/week @ 2024-12-22 2046/week @ 2024-12-29 4058/week @ 2025-01-05 4327/week @ 2025-01-12 4297/week @ 2025-01-19 5037/week @ 2025-01-26 4525/week @ 2025-02-02

18,409 downloads per month
Used in 57 crates (53 directly)

MIT license

10KB
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

~3–8MB
~75K SLoC