Debian Codegraph @

/

debian rust-gst-plugin-version-helper 0.8.4-1debian librust-gst-plugin-version-helper-dev debian librust-gst-plugin-version-helper+default-dev debian librust-gst-plugin-version-helper-0-dev debian librust-gst-plugin-version-helper-0+default-dev debian librust-gst-plugin-version-helper-0.8-dev debian librust-gst-plugin-version-helper-0.8+default-dev debian librust-gst-plugin-version-helper-0.8.4-dev debian librust-gst-plugin-version-helper-0.8.4+default-dev cargo gst-plugin-version-helper 0.8.4 debianjsonmakefilemarkdownrustrust-c-abishelltoml 17 files · 112 symbols
View dependency graph

Depends on

  • dh-cargo (dh-sequence-cargo)
  • rust-chrono (librust-chrono-0.4+clock-dev, librust-chrono-0.4+std-dev)
  • cargo, debhelper-compat, librust-toml-edit+parse-dev, libstd-rust-dev, rustc
README (full)

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.

dir debian/
dir src/
file .cargo_vcs_info.json
file Cargo.lock
file Cargo.toml
file Cargo.toml.orig
file LICENSE
file README.md