From 51ea339a1990100b03e0f6e0fbb71ac2faa5a653 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 5 Aug 2019 13:06:30 +0300 Subject: [PATCH] Regenerate with latest gir --- gstreamer-app-sys/Cargo.toml | 3 +++ gstreamer-app-sys/build.rs | 13 ++++++++++++- gstreamer-app-sys/src/lib.rs | 2 +- gstreamer-app-sys/tests/abi.rs | 2 +- gstreamer-app-sys/tests/constant.c | 2 +- gstreamer-app-sys/tests/layout.c | 2 +- gstreamer-audio-sys/Cargo.toml | 3 +++ gstreamer-audio-sys/build.rs | 13 ++++++++++++- gstreamer-audio-sys/src/lib.rs | 2 +- gstreamer-audio-sys/tests/abi.rs | 2 +- gstreamer-audio-sys/tests/constant.c | 2 +- gstreamer-audio-sys/tests/layout.c | 2 +- gstreamer-base-sys/Cargo.toml | 3 +++ gstreamer-base-sys/build.rs | 13 ++++++++++++- gstreamer-base-sys/src/lib.rs | 2 +- gstreamer-base-sys/tests/abi.rs | 2 +- gstreamer-base-sys/tests/constant.c | 2 +- gstreamer-base-sys/tests/layout.c | 2 +- gstreamer-check-sys/Cargo.toml | 3 +++ gstreamer-check-sys/build.rs | 13 ++++++++++++- gstreamer-check-sys/src/lib.rs | 2 +- gstreamer-check-sys/tests/abi.rs | 2 +- gstreamer-check-sys/tests/constant.c | 2 +- gstreamer-check-sys/tests/layout.c | 2 +- gstreamer-editing-services-sys/Cargo.toml | 3 +++ gstreamer-editing-services-sys/build.rs | 13 ++++++++++++- gstreamer-editing-services-sys/src/lib.rs | 2 +- gstreamer-editing-services-sys/tests/abi.rs | 2 +- gstreamer-editing-services-sys/tests/constant.c | 2 +- gstreamer-editing-services-sys/tests/layout.c | 2 +- gstreamer-gl-sys/Cargo.toml | 3 +++ gstreamer-gl-sys/build.rs | 13 ++++++++++++- gstreamer-gl-sys/src/lib.rs | 2 +- gstreamer-gl-sys/tests/abi.rs | 2 +- gstreamer-gl-sys/tests/constant.c | 2 +- gstreamer-gl-sys/tests/layout.c | 2 +- gstreamer-mpegts-sys/Cargo.toml | 3 +++ gstreamer-mpegts-sys/build.rs | 13 ++++++++++++- gstreamer-mpegts-sys/src/lib.rs | 2 +- gstreamer-mpegts-sys/tests/abi.rs | 2 +- gstreamer-mpegts-sys/tests/constant.c | 2 +- gstreamer-mpegts-sys/tests/layout.c | 2 +- gstreamer-net-sys/Cargo.toml | 3 +++ gstreamer-net-sys/build.rs | 13 ++++++++++++- gstreamer-net-sys/src/lib.rs | 2 +- gstreamer-net-sys/tests/abi.rs | 2 +- gstreamer-net-sys/tests/constant.c | 2 +- gstreamer-net-sys/tests/layout.c | 2 +- gstreamer-pbutils-sys/Cargo.toml | 3 +++ gstreamer-pbutils-sys/build.rs | 13 ++++++++++++- gstreamer-pbutils-sys/src/lib.rs | 2 +- gstreamer-pbutils-sys/tests/abi.rs | 2 +- gstreamer-pbutils-sys/tests/constant.c | 2 +- gstreamer-pbutils-sys/tests/layout.c | 2 +- gstreamer-player-sys/Cargo.toml | 3 +++ gstreamer-player-sys/build.rs | 13 ++++++++++++- gstreamer-player-sys/src/lib.rs | 2 +- gstreamer-player-sys/tests/abi.rs | 2 +- gstreamer-player-sys/tests/constant.c | 2 +- gstreamer-player-sys/tests/layout.c | 2 +- gstreamer-rtsp-server-sys/Cargo.toml | 3 +++ gstreamer-rtsp-server-sys/build.rs | 13 ++++++++++++- gstreamer-rtsp-server-sys/src/lib.rs | 2 +- gstreamer-rtsp-server-sys/tests/abi.rs | 2 +- gstreamer-rtsp-server-sys/tests/constant.c | 2 +- gstreamer-rtsp-server-sys/tests/layout.c | 2 +- gstreamer-rtsp-sys/Cargo.toml | 3 +++ gstreamer-rtsp-sys/build.rs | 13 ++++++++++++- gstreamer-rtsp-sys/src/lib.rs | 2 +- gstreamer-rtsp-sys/tests/abi.rs | 2 +- gstreamer-rtsp-sys/tests/constant.c | 2 +- gstreamer-rtsp-sys/tests/layout.c | 2 +- gstreamer-sdp-sys/Cargo.toml | 3 +++ gstreamer-sdp-sys/build.rs | 13 ++++++++++++- gstreamer-sdp-sys/src/lib.rs | 2 +- gstreamer-sdp-sys/tests/abi.rs | 2 +- gstreamer-sdp-sys/tests/constant.c | 2 +- gstreamer-sdp-sys/tests/layout.c | 2 +- gstreamer-sys/Cargo.toml | 3 +++ gstreamer-sys/build.rs | 13 ++++++++++++- gstreamer-sys/src/lib.rs | 2 +- gstreamer-sys/tests/abi.rs | 2 +- gstreamer-sys/tests/constant.c | 2 +- gstreamer-sys/tests/layout.c | 2 +- gstreamer-tag-sys/Cargo.toml | 3 +++ gstreamer-tag-sys/build.rs | 13 ++++++++++++- gstreamer-tag-sys/src/lib.rs | 2 +- gstreamer-tag-sys/tests/abi.rs | 2 +- gstreamer-tag-sys/tests/constant.c | 2 +- gstreamer-tag-sys/tests/layout.c | 2 +- gstreamer-video-sys/Cargo.toml | 3 +++ gstreamer-video-sys/build.rs | 13 ++++++++++++- gstreamer-video-sys/src/lib.rs | 2 +- gstreamer-video-sys/tests/abi.rs | 2 +- gstreamer-video-sys/tests/constant.c | 2 +- gstreamer-video-sys/tests/layout.c | 2 +- gstreamer-webrtc-sys/Cargo.toml | 3 +++ gstreamer-webrtc-sys/build.rs | 13 ++++++++++++- gstreamer-webrtc-sys/src/lib.rs | 2 +- gstreamer-webrtc-sys/tests/abi.rs | 2 +- gstreamer-webrtc-sys/tests/constant.c | 2 +- gstreamer-webrtc-sys/tests/layout.c | 2 +- 102 files changed, 323 insertions(+), 85 deletions(-) diff --git a/gstreamer-app-sys/Cargo.toml b/gstreamer-app-sys/Cargo.toml index 58bfd2844..d43257536 100644 --- a/gstreamer-app-sys/Cargo.toml +++ b/gstreamer-app-sys/Cargo.toml @@ -44,3 +44,6 @@ name = "gstreamer-app-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys" version = "0.9.0" + +["package.metadata.docs.rs"] +features = ["dox", "v1_16"] diff --git a/gstreamer-app-sys/build.rs b/gstreamer-app-sys/build.rs index 7e930c632..709c82b6e 100644 --- a/gstreamer-app-sys/build.rs +++ b/gstreamer-app-sys/build.rs @@ -1,15 +1,25 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT +#[cfg(not(feature = "dox"))] extern crate pkg_config; +#[cfg(not(feature = "dox"))] use pkg_config::{Config, Error}; +#[cfg(not(feature = "dox"))] use std::env; +#[cfg(not(feature = "dox"))] use std::io; +#[cfg(not(feature = "dox"))] use std::io::prelude::*; +#[cfg(not(feature = "dox"))] use std::process; +#[cfg(feature = "dox")] +fn main() {} // prevent linking libraries to avoid documentation failure + +#[cfg(not(feature = "dox"))] fn main() { if let Err(s) = find() { let _ = writeln!(io::stderr(), "{}", s); @@ -17,6 +27,7 @@ fn main() { } } +#[cfg(not(feature = "dox"))] fn find() -> Result<(), Error> { let package_name = "gstreamer-app-1.0"; let shared_libs = ["gstapp-1.0"]; diff --git a/gstreamer-app-sys/src/lib.rs b/gstreamer-app-sys/src/lib.rs index 591a13644..9d9cee325 100644 --- a/gstreamer-app-sys/src/lib.rs +++ b/gstreamer-app-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-app-sys/tests/abi.rs b/gstreamer-app-sys/tests/abi.rs index d4b76259d..a99ea9431 100644 --- a/gstreamer-app-sys/tests/abi.rs +++ b/gstreamer-app-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-app-sys/tests/constant.c b/gstreamer-app-sys/tests/constant.c index 6715d9692..7653cf846 100644 --- a/gstreamer-app-sys/tests/constant.c +++ b/gstreamer-app-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-app-sys/tests/layout.c b/gstreamer-app-sys/tests/layout.c index 5e1f7c4e3..2a73e8346 100644 --- a/gstreamer-app-sys/tests/layout.c +++ b/gstreamer-app-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-audio-sys/Cargo.toml b/gstreamer-audio-sys/Cargo.toml index a0eb58879..83252e143 100644 --- a/gstreamer-audio-sys/Cargo.toml +++ b/gstreamer-audio-sys/Cargo.toml @@ -47,3 +47,6 @@ name = "gstreamer-audio-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys" version = "0.9.0" + +["package.metadata.docs.rs"] +features = ["dox", "v1_16"] diff --git a/gstreamer-audio-sys/build.rs b/gstreamer-audio-sys/build.rs index 6782a9a4d..c97402b6e 100644 --- a/gstreamer-audio-sys/build.rs +++ b/gstreamer-audio-sys/build.rs @@ -1,15 +1,25 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT +#[cfg(not(feature = "dox"))] extern crate pkg_config; +#[cfg(not(feature = "dox"))] use pkg_config::{Config, Error}; +#[cfg(not(feature = "dox"))] use std::env; +#[cfg(not(feature = "dox"))] use std::io; +#[cfg(not(feature = "dox"))] use std::io::prelude::*; +#[cfg(not(feature = "dox"))] use std::process; +#[cfg(feature = "dox")] +fn main() {} // prevent linking libraries to avoid documentation failure + +#[cfg(not(feature = "dox"))] fn main() { if let Err(s) = find() { let _ = writeln!(io::stderr(), "{}", s); @@ -17,6 +27,7 @@ fn main() { } } +#[cfg(not(feature = "dox"))] fn find() -> Result<(), Error> { let package_name = "gstreamer-audio-1.0"; let shared_libs = ["gstaudio-1.0"]; diff --git a/gstreamer-audio-sys/src/lib.rs b/gstreamer-audio-sys/src/lib.rs index f47bc36ee..90a5eabec 100644 --- a/gstreamer-audio-sys/src/lib.rs +++ b/gstreamer-audio-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-audio-sys/tests/abi.rs b/gstreamer-audio-sys/tests/abi.rs index d8b3a3879..b33951ac5 100644 --- a/gstreamer-audio-sys/tests/abi.rs +++ b/gstreamer-audio-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-audio-sys/tests/constant.c b/gstreamer-audio-sys/tests/constant.c index 6715d9692..7653cf846 100644 --- a/gstreamer-audio-sys/tests/constant.c +++ b/gstreamer-audio-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-audio-sys/tests/layout.c b/gstreamer-audio-sys/tests/layout.c index 5e1f7c4e3..2a73e8346 100644 --- a/gstreamer-audio-sys/tests/layout.c +++ b/gstreamer-audio-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-base-sys/Cargo.toml b/gstreamer-base-sys/Cargo.toml index 02586e453..8e06a2ac5 100644 --- a/gstreamer-base-sys/Cargo.toml +++ b/gstreamer-base-sys/Cargo.toml @@ -48,3 +48,6 @@ name = "gstreamer-base-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys" version = "0.9.0" + +["package.metadata.docs.rs"] +features = ["dox", "v1_16"] diff --git a/gstreamer-base-sys/build.rs b/gstreamer-base-sys/build.rs index 39ab1e989..f8d071708 100644 --- a/gstreamer-base-sys/build.rs +++ b/gstreamer-base-sys/build.rs @@ -1,15 +1,25 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT +#[cfg(not(feature = "dox"))] extern crate pkg_config; +#[cfg(not(feature = "dox"))] use pkg_config::{Config, Error}; +#[cfg(not(feature = "dox"))] use std::env; +#[cfg(not(feature = "dox"))] use std::io; +#[cfg(not(feature = "dox"))] use std::io::prelude::*; +#[cfg(not(feature = "dox"))] use std::process; +#[cfg(feature = "dox")] +fn main() {} // prevent linking libraries to avoid documentation failure + +#[cfg(not(feature = "dox"))] fn main() { if let Err(s) = find() { let _ = writeln!(io::stderr(), "{}", s); @@ -17,6 +27,7 @@ fn main() { } } +#[cfg(not(feature = "dox"))] fn find() -> Result<(), Error> { let package_name = "gstreamer-base-1.0"; let shared_libs = ["gstbase-1.0"]; diff --git a/gstreamer-base-sys/src/lib.rs b/gstreamer-base-sys/src/lib.rs index 15e65551f..817628fbb 100644 --- a/gstreamer-base-sys/src/lib.rs +++ b/gstreamer-base-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-base-sys/tests/abi.rs b/gstreamer-base-sys/tests/abi.rs index 8d57dd9d7..6af87a5e8 100644 --- a/gstreamer-base-sys/tests/abi.rs +++ b/gstreamer-base-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-base-sys/tests/constant.c b/gstreamer-base-sys/tests/constant.c index 6715d9692..7653cf846 100644 --- a/gstreamer-base-sys/tests/constant.c +++ b/gstreamer-base-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-base-sys/tests/layout.c b/gstreamer-base-sys/tests/layout.c index 5e1f7c4e3..2a73e8346 100644 --- a/gstreamer-base-sys/tests/layout.c +++ b/gstreamer-base-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-check-sys/Cargo.toml b/gstreamer-check-sys/Cargo.toml index 51f4775ae..cc661fa9c 100644 --- a/gstreamer-check-sys/Cargo.toml +++ b/gstreamer-check-sys/Cargo.toml @@ -44,3 +44,6 @@ name = "gstreamer-check-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys" version = "0.9.0" + +["package.metadata.docs.rs"] +features = ["dox", "v1_16"] diff --git a/gstreamer-check-sys/build.rs b/gstreamer-check-sys/build.rs index 2f11b9178..9e4a9c309 100644 --- a/gstreamer-check-sys/build.rs +++ b/gstreamer-check-sys/build.rs @@ -1,15 +1,25 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT +#[cfg(not(feature = "dox"))] extern crate pkg_config; +#[cfg(not(feature = "dox"))] use pkg_config::{Config, Error}; +#[cfg(not(feature = "dox"))] use std::env; +#[cfg(not(feature = "dox"))] use std::io; +#[cfg(not(feature = "dox"))] use std::io::prelude::*; +#[cfg(not(feature = "dox"))] use std::process; +#[cfg(feature = "dox")] +fn main() {} // prevent linking libraries to avoid documentation failure + +#[cfg(not(feature = "dox"))] fn main() { if let Err(s) = find() { let _ = writeln!(io::stderr(), "{}", s); @@ -17,6 +27,7 @@ fn main() { } } +#[cfg(not(feature = "dox"))] fn find() -> Result<(), Error> { let package_name = "gstreamer-check-1.0"; let shared_libs = ["gstcheck-1.0"]; diff --git a/gstreamer-check-sys/src/lib.rs b/gstreamer-check-sys/src/lib.rs index 9d6968653..217779b2f 100644 --- a/gstreamer-check-sys/src/lib.rs +++ b/gstreamer-check-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-check-sys/tests/abi.rs b/gstreamer-check-sys/tests/abi.rs index c587f9b9a..6ed2911fe 100644 --- a/gstreamer-check-sys/tests/abi.rs +++ b/gstreamer-check-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-check-sys/tests/constant.c b/gstreamer-check-sys/tests/constant.c index 6715d9692..7653cf846 100644 --- a/gstreamer-check-sys/tests/constant.c +++ b/gstreamer-check-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-check-sys/tests/layout.c b/gstreamer-check-sys/tests/layout.c index 5e1f7c4e3..2a73e8346 100644 --- a/gstreamer-check-sys/tests/layout.c +++ b/gstreamer-check-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-editing-services-sys/Cargo.toml b/gstreamer-editing-services-sys/Cargo.toml index daa2880dd..1488c1419 100644 --- a/gstreamer-editing-services-sys/Cargo.toml +++ b/gstreamer-editing-services-sys/Cargo.toml @@ -51,3 +51,6 @@ name = "gstreamer-editing-services-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys" version = "0.9.0" + +["package.metadata.docs.rs"] +features = ["dox", "v1_16"] diff --git a/gstreamer-editing-services-sys/build.rs b/gstreamer-editing-services-sys/build.rs index bfef5d00c..42ce72d0b 100644 --- a/gstreamer-editing-services-sys/build.rs +++ b/gstreamer-editing-services-sys/build.rs @@ -1,15 +1,25 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT +#[cfg(not(feature = "dox"))] extern crate pkg_config; +#[cfg(not(feature = "dox"))] use pkg_config::{Config, Error}; +#[cfg(not(feature = "dox"))] use std::env; +#[cfg(not(feature = "dox"))] use std::io; +#[cfg(not(feature = "dox"))] use std::io::prelude::*; +#[cfg(not(feature = "dox"))] use std::process; +#[cfg(feature = "dox")] +fn main() {} // prevent linking libraries to avoid documentation failure + +#[cfg(not(feature = "dox"))] fn main() { if let Err(s) = find() { let _ = writeln!(io::stderr(), "{}", s); @@ -17,6 +27,7 @@ fn main() { } } +#[cfg(not(feature = "dox"))] fn find() -> Result<(), Error> { let package_name = "gst-editing-services-1.0"; let shared_libs = ["ges-1.0"]; diff --git a/gstreamer-editing-services-sys/src/lib.rs b/gstreamer-editing-services-sys/src/lib.rs index a5fdd1b73..e2773b421 100644 --- a/gstreamer-editing-services-sys/src/lib.rs +++ b/gstreamer-editing-services-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-editing-services-sys/tests/abi.rs b/gstreamer-editing-services-sys/tests/abi.rs index c65f98961..36df068fc 100644 --- a/gstreamer-editing-services-sys/tests/abi.rs +++ b/gstreamer-editing-services-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-editing-services-sys/tests/constant.c b/gstreamer-editing-services-sys/tests/constant.c index 6715d9692..7653cf846 100644 --- a/gstreamer-editing-services-sys/tests/constant.c +++ b/gstreamer-editing-services-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-editing-services-sys/tests/layout.c b/gstreamer-editing-services-sys/tests/layout.c index 5e1f7c4e3..2a73e8346 100644 --- a/gstreamer-editing-services-sys/tests/layout.c +++ b/gstreamer-editing-services-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-gl-sys/Cargo.toml b/gstreamer-gl-sys/Cargo.toml index ac7ea5305..15f7e740b 100644 --- a/gstreamer-gl-sys/Cargo.toml +++ b/gstreamer-gl-sys/Cargo.toml @@ -47,3 +47,6 @@ name = "gstreamer-gl-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys" version = "0.9.0" + +["package.metadata.docs.rs"] +features = ["dox", "v1_16"] diff --git a/gstreamer-gl-sys/build.rs b/gstreamer-gl-sys/build.rs index f2dad93e9..39fcbde0d 100644 --- a/gstreamer-gl-sys/build.rs +++ b/gstreamer-gl-sys/build.rs @@ -1,15 +1,25 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 16d8c2d) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT +#[cfg(not(feature = "dox"))] extern crate pkg_config; +#[cfg(not(feature = "dox"))] use pkg_config::{Config, Error}; +#[cfg(not(feature = "dox"))] use std::env; +#[cfg(not(feature = "dox"))] use std::io; +#[cfg(not(feature = "dox"))] use std::io::prelude::*; +#[cfg(not(feature = "dox"))] use std::process; +#[cfg(feature = "dox")] +fn main() {} // prevent linking libraries to avoid documentation failure + +#[cfg(not(feature = "dox"))] fn main() { if let Err(s) = find() { let _ = writeln!(io::stderr(), "{}", s); @@ -17,6 +27,7 @@ fn main() { } } +#[cfg(not(feature = "dox"))] fn find() -> Result<(), Error> { let package_name = "gstreamer-gl-1.0"; let shared_libs = ["gstgl-1.0"]; diff --git a/gstreamer-gl-sys/src/lib.rs b/gstreamer-gl-sys/src/lib.rs index 4a2f9ca4c..3d9215668 100644 --- a/gstreamer-gl-sys/src/lib.rs +++ b/gstreamer-gl-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-gl-sys/tests/abi.rs b/gstreamer-gl-sys/tests/abi.rs index 6dc1a0933..5048990df 100644 --- a/gstreamer-gl-sys/tests/abi.rs +++ b/gstreamer-gl-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-gl-sys/tests/constant.c b/gstreamer-gl-sys/tests/constant.c index 6715d9692..7653cf846 100644 --- a/gstreamer-gl-sys/tests/constant.c +++ b/gstreamer-gl-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-gl-sys/tests/layout.c b/gstreamer-gl-sys/tests/layout.c index 5e1f7c4e3..2a73e8346 100644 --- a/gstreamer-gl-sys/tests/layout.c +++ b/gstreamer-gl-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-mpegts-sys/Cargo.toml b/gstreamer-mpegts-sys/Cargo.toml index 7091cb8b9..b73217430 100644 --- a/gstreamer-mpegts-sys/Cargo.toml +++ b/gstreamer-mpegts-sys/Cargo.toml @@ -47,3 +47,6 @@ name = "gstreamer-mpegts-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys" version = "0.9.0" + +["package.metadata.docs.rs"] +features = ["dox", "v1_16"] diff --git a/gstreamer-mpegts-sys/build.rs b/gstreamer-mpegts-sys/build.rs index 31f1fc86d..2c1fabd28 100644 --- a/gstreamer-mpegts-sys/build.rs +++ b/gstreamer-mpegts-sys/build.rs @@ -1,15 +1,25 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT +#[cfg(not(feature = "dox"))] extern crate pkg_config; +#[cfg(not(feature = "dox"))] use pkg_config::{Config, Error}; +#[cfg(not(feature = "dox"))] use std::env; +#[cfg(not(feature = "dox"))] use std::io; +#[cfg(not(feature = "dox"))] use std::io::prelude::*; +#[cfg(not(feature = "dox"))] use std::process; +#[cfg(feature = "dox")] +fn main() {} // prevent linking libraries to avoid documentation failure + +#[cfg(not(feature = "dox"))] fn main() { if let Err(s) = find() { let _ = writeln!(io::stderr(), "{}", s); @@ -17,6 +27,7 @@ fn main() { } } +#[cfg(not(feature = "dox"))] fn find() -> Result<(), Error> { let package_name = "gstreamer-mpegts-1.0"; let shared_libs = ["gstmpegts-1.0"]; diff --git a/gstreamer-mpegts-sys/src/lib.rs b/gstreamer-mpegts-sys/src/lib.rs index 5bb4055a1..0408256e9 100644 --- a/gstreamer-mpegts-sys/src/lib.rs +++ b/gstreamer-mpegts-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-mpegts-sys/tests/abi.rs b/gstreamer-mpegts-sys/tests/abi.rs index 4eb5ef288..10631331b 100644 --- a/gstreamer-mpegts-sys/tests/abi.rs +++ b/gstreamer-mpegts-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-mpegts-sys/tests/constant.c b/gstreamer-mpegts-sys/tests/constant.c index 6715d9692..7653cf846 100644 --- a/gstreamer-mpegts-sys/tests/constant.c +++ b/gstreamer-mpegts-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-mpegts-sys/tests/layout.c b/gstreamer-mpegts-sys/tests/layout.c index 5e1f7c4e3..2a73e8346 100644 --- a/gstreamer-mpegts-sys/tests/layout.c +++ b/gstreamer-mpegts-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-net-sys/Cargo.toml b/gstreamer-net-sys/Cargo.toml index 1ccbe075f..731bb712e 100644 --- a/gstreamer-net-sys/Cargo.toml +++ b/gstreamer-net-sys/Cargo.toml @@ -47,3 +47,6 @@ name = "gstreamer-net-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys" version = "0.9.0" + +["package.metadata.docs.rs"] +features = ["dox", "v1_16"] diff --git a/gstreamer-net-sys/build.rs b/gstreamer-net-sys/build.rs index bb1b24a71..c18bc8f33 100644 --- a/gstreamer-net-sys/build.rs +++ b/gstreamer-net-sys/build.rs @@ -1,15 +1,25 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT +#[cfg(not(feature = "dox"))] extern crate pkg_config; +#[cfg(not(feature = "dox"))] use pkg_config::{Config, Error}; +#[cfg(not(feature = "dox"))] use std::env; +#[cfg(not(feature = "dox"))] use std::io; +#[cfg(not(feature = "dox"))] use std::io::prelude::*; +#[cfg(not(feature = "dox"))] use std::process; +#[cfg(feature = "dox")] +fn main() {} // prevent linking libraries to avoid documentation failure + +#[cfg(not(feature = "dox"))] fn main() { if let Err(s) = find() { let _ = writeln!(io::stderr(), "{}", s); @@ -17,6 +27,7 @@ fn main() { } } +#[cfg(not(feature = "dox"))] fn find() -> Result<(), Error> { let package_name = "gstreamer-net-1.0"; let shared_libs = ["gstnet-1.0"]; diff --git a/gstreamer-net-sys/src/lib.rs b/gstreamer-net-sys/src/lib.rs index e0c9cfede..3c08a32c7 100644 --- a/gstreamer-net-sys/src/lib.rs +++ b/gstreamer-net-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-net-sys/tests/abi.rs b/gstreamer-net-sys/tests/abi.rs index cc79b659c..3c4818d99 100644 --- a/gstreamer-net-sys/tests/abi.rs +++ b/gstreamer-net-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-net-sys/tests/constant.c b/gstreamer-net-sys/tests/constant.c index 6715d9692..7653cf846 100644 --- a/gstreamer-net-sys/tests/constant.c +++ b/gstreamer-net-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-net-sys/tests/layout.c b/gstreamer-net-sys/tests/layout.c index 5e1f7c4e3..2a73e8346 100644 --- a/gstreamer-net-sys/tests/layout.c +++ b/gstreamer-net-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-pbutils-sys/Cargo.toml b/gstreamer-pbutils-sys/Cargo.toml index 07c267265..00e2ca594 100644 --- a/gstreamer-pbutils-sys/Cargo.toml +++ b/gstreamer-pbutils-sys/Cargo.toml @@ -50,3 +50,6 @@ name = "gstreamer-pbutils-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys" version = "0.9.0" + +["package.metadata.docs.rs"] +features = ["dox", "v1_16"] diff --git a/gstreamer-pbutils-sys/build.rs b/gstreamer-pbutils-sys/build.rs index 4eed61681..fd5cd5368 100644 --- a/gstreamer-pbutils-sys/build.rs +++ b/gstreamer-pbutils-sys/build.rs @@ -1,15 +1,25 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT +#[cfg(not(feature = "dox"))] extern crate pkg_config; +#[cfg(not(feature = "dox"))] use pkg_config::{Config, Error}; +#[cfg(not(feature = "dox"))] use std::env; +#[cfg(not(feature = "dox"))] use std::io; +#[cfg(not(feature = "dox"))] use std::io::prelude::*; +#[cfg(not(feature = "dox"))] use std::process; +#[cfg(feature = "dox")] +fn main() {} // prevent linking libraries to avoid documentation failure + +#[cfg(not(feature = "dox"))] fn main() { if let Err(s) = find() { let _ = writeln!(io::stderr(), "{}", s); @@ -17,6 +27,7 @@ fn main() { } } +#[cfg(not(feature = "dox"))] fn find() -> Result<(), Error> { let package_name = "gstreamer-pbutils-1.0"; let shared_libs = ["gstpbutils-1.0"]; diff --git a/gstreamer-pbutils-sys/src/lib.rs b/gstreamer-pbutils-sys/src/lib.rs index 3b4423cc9..7d0080ba7 100644 --- a/gstreamer-pbutils-sys/src/lib.rs +++ b/gstreamer-pbutils-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-pbutils-sys/tests/abi.rs b/gstreamer-pbutils-sys/tests/abi.rs index ff7ca6eff..fb4e17f9a 100644 --- a/gstreamer-pbutils-sys/tests/abi.rs +++ b/gstreamer-pbutils-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-pbutils-sys/tests/constant.c b/gstreamer-pbutils-sys/tests/constant.c index 6715d9692..7653cf846 100644 --- a/gstreamer-pbutils-sys/tests/constant.c +++ b/gstreamer-pbutils-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-pbutils-sys/tests/layout.c b/gstreamer-pbutils-sys/tests/layout.c index 5e1f7c4e3..2a73e8346 100644 --- a/gstreamer-pbutils-sys/tests/layout.c +++ b/gstreamer-pbutils-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player-sys/Cargo.toml b/gstreamer-player-sys/Cargo.toml index 90fd601a0..88d8e6d9e 100644 --- a/gstreamer-player-sys/Cargo.toml +++ b/gstreamer-player-sys/Cargo.toml @@ -42,3 +42,6 @@ name = "gstreamer-player-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys" version = "0.9.0" + +["package.metadata.docs.rs"] +features = ["dox", "v1_16"] diff --git a/gstreamer-player-sys/build.rs b/gstreamer-player-sys/build.rs index eea7e1b4c..ee64f27aa 100644 --- a/gstreamer-player-sys/build.rs +++ b/gstreamer-player-sys/build.rs @@ -1,15 +1,25 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT +#[cfg(not(feature = "dox"))] extern crate pkg_config; +#[cfg(not(feature = "dox"))] use pkg_config::{Config, Error}; +#[cfg(not(feature = "dox"))] use std::env; +#[cfg(not(feature = "dox"))] use std::io; +#[cfg(not(feature = "dox"))] use std::io::prelude::*; +#[cfg(not(feature = "dox"))] use std::process; +#[cfg(feature = "dox")] +fn main() {} // prevent linking libraries to avoid documentation failure + +#[cfg(not(feature = "dox"))] fn main() { if let Err(s) = find() { let _ = writeln!(io::stderr(), "{}", s); @@ -17,6 +27,7 @@ fn main() { } } +#[cfg(not(feature = "dox"))] fn find() -> Result<(), Error> { let package_name = "gstreamer-player-1.0"; let shared_libs = ["gstplayer-1.0"]; diff --git a/gstreamer-player-sys/src/lib.rs b/gstreamer-player-sys/src/lib.rs index 860d10cf3..b70e462ea 100644 --- a/gstreamer-player-sys/src/lib.rs +++ b/gstreamer-player-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player-sys/tests/abi.rs b/gstreamer-player-sys/tests/abi.rs index 286a08cc6..61b05dc0e 100644 --- a/gstreamer-player-sys/tests/abi.rs +++ b/gstreamer-player-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player-sys/tests/constant.c b/gstreamer-player-sys/tests/constant.c index 6715d9692..7653cf846 100644 --- a/gstreamer-player-sys/tests/constant.c +++ b/gstreamer-player-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player-sys/tests/layout.c b/gstreamer-player-sys/tests/layout.c index 5e1f7c4e3..2a73e8346 100644 --- a/gstreamer-player-sys/tests/layout.c +++ b/gstreamer-player-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server-sys/Cargo.toml b/gstreamer-rtsp-server-sys/Cargo.toml index 00c46c9ad..90dc9853c 100644 --- a/gstreamer-rtsp-server-sys/Cargo.toml +++ b/gstreamer-rtsp-server-sys/Cargo.toml @@ -55,3 +55,6 @@ name = "gstreamer-rtsp-server-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys" version = "0.9.0" + +["package.metadata.docs.rs"] +features = ["dox", "v1_16"] diff --git a/gstreamer-rtsp-server-sys/build.rs b/gstreamer-rtsp-server-sys/build.rs index a812a73b9..d6cf92a63 100644 --- a/gstreamer-rtsp-server-sys/build.rs +++ b/gstreamer-rtsp-server-sys/build.rs @@ -1,15 +1,25 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT +#[cfg(not(feature = "dox"))] extern crate pkg_config; +#[cfg(not(feature = "dox"))] use pkg_config::{Config, Error}; +#[cfg(not(feature = "dox"))] use std::env; +#[cfg(not(feature = "dox"))] use std::io; +#[cfg(not(feature = "dox"))] use std::io::prelude::*; +#[cfg(not(feature = "dox"))] use std::process; +#[cfg(feature = "dox")] +fn main() {} // prevent linking libraries to avoid documentation failure + +#[cfg(not(feature = "dox"))] fn main() { if let Err(s) = find() { let _ = writeln!(io::stderr(), "{}", s); @@ -17,6 +27,7 @@ fn main() { } } +#[cfg(not(feature = "dox"))] fn find() -> Result<(), Error> { let package_name = "gstreamer-rtsp-server-1.0"; let shared_libs = ["gstrtspserver-1.0"]; diff --git a/gstreamer-rtsp-server-sys/src/lib.rs b/gstreamer-rtsp-server-sys/src/lib.rs index d31ffa497..9d84ebe8a 100644 --- a/gstreamer-rtsp-server-sys/src/lib.rs +++ b/gstreamer-rtsp-server-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server-sys/tests/abi.rs b/gstreamer-rtsp-server-sys/tests/abi.rs index ae43ad13d..cdc1d8941 100644 --- a/gstreamer-rtsp-server-sys/tests/abi.rs +++ b/gstreamer-rtsp-server-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server-sys/tests/constant.c b/gstreamer-rtsp-server-sys/tests/constant.c index 6715d9692..7653cf846 100644 --- a/gstreamer-rtsp-server-sys/tests/constant.c +++ b/gstreamer-rtsp-server-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server-sys/tests/layout.c b/gstreamer-rtsp-server-sys/tests/layout.c index 5e1f7c4e3..2a73e8346 100644 --- a/gstreamer-rtsp-server-sys/tests/layout.c +++ b/gstreamer-rtsp-server-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-sys/Cargo.toml b/gstreamer-rtsp-sys/Cargo.toml index bdb2044ce..88472fb15 100644 --- a/gstreamer-rtsp-sys/Cargo.toml +++ b/gstreamer-rtsp-sys/Cargo.toml @@ -51,3 +51,6 @@ name = "gstreamer-rtsp-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys" version = "0.9.0" + +["package.metadata.docs.rs"] +features = ["dox", "v1_16"] diff --git a/gstreamer-rtsp-sys/build.rs b/gstreamer-rtsp-sys/build.rs index a80f0b062..b8c1e7eb6 100644 --- a/gstreamer-rtsp-sys/build.rs +++ b/gstreamer-rtsp-sys/build.rs @@ -1,15 +1,25 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT +#[cfg(not(feature = "dox"))] extern crate pkg_config; +#[cfg(not(feature = "dox"))] use pkg_config::{Config, Error}; +#[cfg(not(feature = "dox"))] use std::env; +#[cfg(not(feature = "dox"))] use std::io; +#[cfg(not(feature = "dox"))] use std::io::prelude::*; +#[cfg(not(feature = "dox"))] use std::process; +#[cfg(feature = "dox")] +fn main() {} // prevent linking libraries to avoid documentation failure + +#[cfg(not(feature = "dox"))] fn main() { if let Err(s) = find() { let _ = writeln!(io::stderr(), "{}", s); @@ -17,6 +27,7 @@ fn main() { } } +#[cfg(not(feature = "dox"))] fn find() -> Result<(), Error> { let package_name = "gstreamer-rtsp-1.0"; let shared_libs = ["gstrtsp-1.0"]; diff --git a/gstreamer-rtsp-sys/src/lib.rs b/gstreamer-rtsp-sys/src/lib.rs index a019eded2..cf195543c 100644 --- a/gstreamer-rtsp-sys/src/lib.rs +++ b/gstreamer-rtsp-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-sys/tests/abi.rs b/gstreamer-rtsp-sys/tests/abi.rs index 3878bdcca..9c910a98f 100644 --- a/gstreamer-rtsp-sys/tests/abi.rs +++ b/gstreamer-rtsp-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-sys/tests/constant.c b/gstreamer-rtsp-sys/tests/constant.c index 6715d9692..7653cf846 100644 --- a/gstreamer-rtsp-sys/tests/constant.c +++ b/gstreamer-rtsp-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-sys/tests/layout.c b/gstreamer-rtsp-sys/tests/layout.c index 5e1f7c4e3..2a73e8346 100644 --- a/gstreamer-rtsp-sys/tests/layout.c +++ b/gstreamer-rtsp-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-sdp-sys/Cargo.toml b/gstreamer-sdp-sys/Cargo.toml index 76a5946a6..fd080808f 100644 --- a/gstreamer-sdp-sys/Cargo.toml +++ b/gstreamer-sdp-sys/Cargo.toml @@ -45,3 +45,6 @@ name = "gstreamer-sdp-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys" version = "0.9.0" + +["package.metadata.docs.rs"] +features = ["dox", "v1_16"] diff --git a/gstreamer-sdp-sys/build.rs b/gstreamer-sdp-sys/build.rs index ea1f82676..2b5469f61 100644 --- a/gstreamer-sdp-sys/build.rs +++ b/gstreamer-sdp-sys/build.rs @@ -1,15 +1,25 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT +#[cfg(not(feature = "dox"))] extern crate pkg_config; +#[cfg(not(feature = "dox"))] use pkg_config::{Config, Error}; +#[cfg(not(feature = "dox"))] use std::env; +#[cfg(not(feature = "dox"))] use std::io; +#[cfg(not(feature = "dox"))] use std::io::prelude::*; +#[cfg(not(feature = "dox"))] use std::process; +#[cfg(feature = "dox")] +fn main() {} // prevent linking libraries to avoid documentation failure + +#[cfg(not(feature = "dox"))] fn main() { if let Err(s) = find() { let _ = writeln!(io::stderr(), "{}", s); @@ -17,6 +27,7 @@ fn main() { } } +#[cfg(not(feature = "dox"))] fn find() -> Result<(), Error> { let package_name = "gstreamer-sdp-1.0"; let shared_libs = ["gstsdp-1.0"]; diff --git a/gstreamer-sdp-sys/src/lib.rs b/gstreamer-sdp-sys/src/lib.rs index 01a423ebf..d3fd2ed38 100644 --- a/gstreamer-sdp-sys/src/lib.rs +++ b/gstreamer-sdp-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-sdp-sys/tests/abi.rs b/gstreamer-sdp-sys/tests/abi.rs index 1b1d5d5f7..392f64ea0 100644 --- a/gstreamer-sdp-sys/tests/abi.rs +++ b/gstreamer-sdp-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-sdp-sys/tests/constant.c b/gstreamer-sdp-sys/tests/constant.c index 6715d9692..7653cf846 100644 --- a/gstreamer-sdp-sys/tests/constant.c +++ b/gstreamer-sdp-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-sdp-sys/tests/layout.c b/gstreamer-sdp-sys/tests/layout.c index 5e1f7c4e3..2a73e8346 100644 --- a/gstreamer-sdp-sys/tests/layout.c +++ b/gstreamer-sdp-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-sys/Cargo.toml b/gstreamer-sys/Cargo.toml index 6373b5baf..61ed40e39 100644 --- a/gstreamer-sys/Cargo.toml +++ b/gstreamer-sys/Cargo.toml @@ -43,3 +43,6 @@ name = "gstreamer-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys" version = "0.9.0" + +["package.metadata.docs.rs"] +features = ["dox", "v1_16"] diff --git a/gstreamer-sys/build.rs b/gstreamer-sys/build.rs index 9c4b16e75..847f07427 100644 --- a/gstreamer-sys/build.rs +++ b/gstreamer-sys/build.rs @@ -1,15 +1,25 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT +#[cfg(not(feature = "dox"))] extern crate pkg_config; +#[cfg(not(feature = "dox"))] use pkg_config::{Config, Error}; +#[cfg(not(feature = "dox"))] use std::env; +#[cfg(not(feature = "dox"))] use std::io; +#[cfg(not(feature = "dox"))] use std::io::prelude::*; +#[cfg(not(feature = "dox"))] use std::process; +#[cfg(feature = "dox")] +fn main() {} // prevent linking libraries to avoid documentation failure + +#[cfg(not(feature = "dox"))] fn main() { if let Err(s) = find() { let _ = writeln!(io::stderr(), "{}", s); @@ -17,6 +27,7 @@ fn main() { } } +#[cfg(not(feature = "dox"))] fn find() -> Result<(), Error> { let package_name = "gstreamer-1.0"; let shared_libs = ["gstreamer-1.0"]; diff --git a/gstreamer-sys/src/lib.rs b/gstreamer-sys/src/lib.rs index 0884111c0..afb61464f 100644 --- a/gstreamer-sys/src/lib.rs +++ b/gstreamer-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-sys/tests/abi.rs b/gstreamer-sys/tests/abi.rs index 52ff11875..73aa67d79 100644 --- a/gstreamer-sys/tests/abi.rs +++ b/gstreamer-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-sys/tests/constant.c b/gstreamer-sys/tests/constant.c index 6715d9692..7653cf846 100644 --- a/gstreamer-sys/tests/constant.c +++ b/gstreamer-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-sys/tests/layout.c b/gstreamer-sys/tests/layout.c index 5e1f7c4e3..2a73e8346 100644 --- a/gstreamer-sys/tests/layout.c +++ b/gstreamer-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-tag-sys/Cargo.toml b/gstreamer-tag-sys/Cargo.toml index a95ac7420..aecff84d4 100644 --- a/gstreamer-tag-sys/Cargo.toml +++ b/gstreamer-tag-sys/Cargo.toml @@ -47,3 +47,6 @@ name = "gstreamer-tag-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys" version = "0.9.0" + +["package.metadata.docs.rs"] +features = ["dox", "v1_16"] diff --git a/gstreamer-tag-sys/build.rs b/gstreamer-tag-sys/build.rs index af35714b1..f8d212366 100644 --- a/gstreamer-tag-sys/build.rs +++ b/gstreamer-tag-sys/build.rs @@ -1,15 +1,25 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT +#[cfg(not(feature = "dox"))] extern crate pkg_config; +#[cfg(not(feature = "dox"))] use pkg_config::{Config, Error}; +#[cfg(not(feature = "dox"))] use std::env; +#[cfg(not(feature = "dox"))] use std::io; +#[cfg(not(feature = "dox"))] use std::io::prelude::*; +#[cfg(not(feature = "dox"))] use std::process; +#[cfg(feature = "dox")] +fn main() {} // prevent linking libraries to avoid documentation failure + +#[cfg(not(feature = "dox"))] fn main() { if let Err(s) = find() { let _ = writeln!(io::stderr(), "{}", s); @@ -17,6 +27,7 @@ fn main() { } } +#[cfg(not(feature = "dox"))] fn find() -> Result<(), Error> { let package_name = "gstreamer-tag-1.0"; let shared_libs = ["gsttag-1.0"]; diff --git a/gstreamer-tag-sys/src/lib.rs b/gstreamer-tag-sys/src/lib.rs index 76a251488..9b4c87f55 100644 --- a/gstreamer-tag-sys/src/lib.rs +++ b/gstreamer-tag-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-tag-sys/tests/abi.rs b/gstreamer-tag-sys/tests/abi.rs index 8b1978223..91613d439 100644 --- a/gstreamer-tag-sys/tests/abi.rs +++ b/gstreamer-tag-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-tag-sys/tests/constant.c b/gstreamer-tag-sys/tests/constant.c index 6715d9692..7653cf846 100644 --- a/gstreamer-tag-sys/tests/constant.c +++ b/gstreamer-tag-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-tag-sys/tests/layout.c b/gstreamer-tag-sys/tests/layout.c index 5e1f7c4e3..2a73e8346 100644 --- a/gstreamer-tag-sys/tests/layout.c +++ b/gstreamer-tag-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-video-sys/Cargo.toml b/gstreamer-video-sys/Cargo.toml index c4cd63ee8..2ada299de 100644 --- a/gstreamer-video-sys/Cargo.toml +++ b/gstreamer-video-sys/Cargo.toml @@ -49,3 +49,6 @@ name = "gstreamer-video-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys" version = "0.9.0" + +["package.metadata.docs.rs"] +features = ["dox", "v1_16"] diff --git a/gstreamer-video-sys/build.rs b/gstreamer-video-sys/build.rs index db0544d16..1bcf0358f 100644 --- a/gstreamer-video-sys/build.rs +++ b/gstreamer-video-sys/build.rs @@ -1,15 +1,25 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT +#[cfg(not(feature = "dox"))] extern crate pkg_config; +#[cfg(not(feature = "dox"))] use pkg_config::{Config, Error}; +#[cfg(not(feature = "dox"))] use std::env; +#[cfg(not(feature = "dox"))] use std::io; +#[cfg(not(feature = "dox"))] use std::io::prelude::*; +#[cfg(not(feature = "dox"))] use std::process; +#[cfg(feature = "dox")] +fn main() {} // prevent linking libraries to avoid documentation failure + +#[cfg(not(feature = "dox"))] fn main() { if let Err(s) = find() { let _ = writeln!(io::stderr(), "{}", s); @@ -17,6 +27,7 @@ fn main() { } } +#[cfg(not(feature = "dox"))] fn find() -> Result<(), Error> { let package_name = "gstreamer-video-1.0"; let shared_libs = ["gstvideo-1.0"]; diff --git a/gstreamer-video-sys/src/lib.rs b/gstreamer-video-sys/src/lib.rs index 477f1d98d..e3c2b8729 100644 --- a/gstreamer-video-sys/src/lib.rs +++ b/gstreamer-video-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-video-sys/tests/abi.rs b/gstreamer-video-sys/tests/abi.rs index 305c93029..4537eea0a 100644 --- a/gstreamer-video-sys/tests/abi.rs +++ b/gstreamer-video-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-video-sys/tests/constant.c b/gstreamer-video-sys/tests/constant.c index 6715d9692..7653cf846 100644 --- a/gstreamer-video-sys/tests/constant.c +++ b/gstreamer-video-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-video-sys/tests/layout.c b/gstreamer-video-sys/tests/layout.c index 5e1f7c4e3..2a73e8346 100644 --- a/gstreamer-video-sys/tests/layout.c +++ b/gstreamer-video-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-webrtc-sys/Cargo.toml b/gstreamer-webrtc-sys/Cargo.toml index 5780d947d..40b2ca985 100644 --- a/gstreamer-webrtc-sys/Cargo.toml +++ b/gstreamer-webrtc-sys/Cargo.toml @@ -40,3 +40,6 @@ name = "gstreamer-webrtc-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys" version = "0.9.0" + +["package.metadata.docs.rs"] +features = ["dox", "v1_16"] diff --git a/gstreamer-webrtc-sys/build.rs b/gstreamer-webrtc-sys/build.rs index 665e2f9b7..f1fa9668c 100644 --- a/gstreamer-webrtc-sys/build.rs +++ b/gstreamer-webrtc-sys/build.rs @@ -1,15 +1,25 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 1ae7210) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT +#[cfg(not(feature = "dox"))] extern crate pkg_config; +#[cfg(not(feature = "dox"))] use pkg_config::{Config, Error}; +#[cfg(not(feature = "dox"))] use std::env; +#[cfg(not(feature = "dox"))] use std::io; +#[cfg(not(feature = "dox"))] use std::io::prelude::*; +#[cfg(not(feature = "dox"))] use std::process; +#[cfg(feature = "dox")] +fn main() {} // prevent linking libraries to avoid documentation failure + +#[cfg(not(feature = "dox"))] fn main() { if let Err(s) = find() { let _ = writeln!(io::stderr(), "{}", s); @@ -17,6 +27,7 @@ fn main() { } } +#[cfg(not(feature = "dox"))] fn find() -> Result<(), Error> { let package_name = "gstreamer-webrtc-1.0"; let shared_libs = ["gstwebrtc-1.0"]; diff --git a/gstreamer-webrtc-sys/src/lib.rs b/gstreamer-webrtc-sys/src/lib.rs index dd30f4648..1cdbbd371 100644 --- a/gstreamer-webrtc-sys/src/lib.rs +++ b/gstreamer-webrtc-sys/src/lib.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-webrtc-sys/tests/abi.rs b/gstreamer-webrtc-sys/tests/abi.rs index 0980d2491..431c3d2ac 100644 --- a/gstreamer-webrtc-sys/tests/abi.rs +++ b/gstreamer-webrtc-sys/tests/abi.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-webrtc-sys/tests/constant.c b/gstreamer-webrtc-sys/tests/constant.c index 6715d9692..7653cf846 100644 --- a/gstreamer-webrtc-sys/tests/constant.c +++ b/gstreamer-webrtc-sys/tests/constant.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-webrtc-sys/tests/layout.c b/gstreamer-webrtc-sys/tests/layout.c index 5e1f7c4e3..2a73e8346 100644 --- a/gstreamer-webrtc-sys/tests/layout.c +++ b/gstreamer-webrtc-sys/tests/layout.c @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 20feecf) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 8f15e55) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT