mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-04-27 15:34:54 +00:00
gst-plugin-version-helper: Fix documentation
This commit is contained in:
parent
40d00fe133
commit
fc229f7b46
3 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ authors = ["Sajeer Ahamed <ahamedsajeer.15.15@cse.mrt.ac.lk>",
|
||||||
"Sebastian Dröge <sebastian@centricular.com>"]
|
"Sebastian Dröge <sebastian@centricular.com>"]
|
||||||
categories = ["development-tools"]
|
categories = ["development-tools"]
|
||||||
description = "build.rs helper function for GStreamer plugin metadata"
|
description = "build.rs helper function for GStreamer plugin metadata"
|
||||||
repository = "https://gitlab.freedesktop.org/gst-plugins-rs/gstreamer-rs"
|
repository = "https://gitlab.freedesktop.org/gst-plugins-rs"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
homepage = "https://gstreamer.freedesktop.org"
|
homepage = "https://gstreamer.freedesktop.org"
|
||||||
keywords = ["gstreamer", "multimedia", "cargo"]
|
keywords = ["gstreamer", "multimedia", "cargo"]
|
||||||
|
|
|
@ -8,7 +8,7 @@ This function is supposed to be used as follows in the `build.rs` of a crate tha
|
||||||
plugin:
|
plugin:
|
||||||
|
|
||||||
```rust,ignore
|
```rust,ignore
|
||||||
gst_plugin_version_helper::get_info();
|
gst_plugin_version_helper::info();
|
||||||
```
|
```
|
||||||
|
|
||||||
Inside `lib.rs` of the plugin, the information provided by `get_info` are usable as follows:
|
Inside `lib.rs` of the plugin, the information provided by `get_info` are usable as follows:
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
//! plugin:
|
//! plugin:
|
||||||
//!
|
//!
|
||||||
//! ```rust,ignore
|
//! ```rust,ignore
|
||||||
//! gst_plugin_version_helper::get_info();
|
//! gst_plugin_version_helper::info();
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! Inside `lib.rs` of the plugin, the information provided by `get_info` are usable as follows:
|
//! Inside `lib.rs` of the plugin, the information provided by `get_info` are usable as follows:
|
||||||
|
|
Loading…
Reference in a new issue