From e95e62d871aef694c30b2d2c79bab2b608cd93a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 8 Aug 2023 10:42:17 +0300 Subject: [PATCH] Fix build on docs.rs and document all features Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/478 Part-of: --- gstreamer-allocators/Cargo.toml | 2 ++ gstreamer-allocators/sys/Cargo.toml | 2 +- gstreamer-app/Cargo.toml | 2 ++ gstreamer-app/sys/Cargo.toml | 2 +- gstreamer-audio/Cargo.toml | 2 ++ gstreamer-audio/sys/Cargo.toml | 2 +- gstreamer-base/Cargo.toml | 2 ++ gstreamer-base/sys/Cargo.toml | 2 +- gstreamer-check/Cargo.toml | 2 ++ gstreamer-check/sys/Cargo.toml | 2 +- gstreamer-controller/Cargo.toml | 2 ++ gstreamer-controller/sys/Cargo.toml | 2 +- gstreamer-editing-services/Cargo.toml | 2 ++ gstreamer-editing-services/sys/Cargo.toml | 2 +- gstreamer-gl/Cargo.toml | 2 ++ gstreamer-gl/egl/Cargo.toml | 4 +++- gstreamer-gl/egl/sys/Cargo.toml | 2 +- gstreamer-gl/sys/Cargo.toml | 2 +- gstreamer-gl/wayland/Cargo.toml | 4 +++- gstreamer-gl/wayland/sys/Cargo.toml | 2 +- gstreamer-gl/x11/Cargo.toml | 4 +++- gstreamer-gl/x11/sys/Cargo.toml | 2 +- gstreamer-mpegts/Cargo.toml | 2 ++ gstreamer-mpegts/sys/Cargo.toml | 2 +- gstreamer-net/Cargo.toml | 2 ++ gstreamer-net/sys/Cargo.toml | 2 +- gstreamer-pbutils/Cargo.toml | 2 ++ gstreamer-pbutils/sys/Cargo.toml | 2 +- gstreamer-play/Cargo.toml | 2 ++ gstreamer-play/sys/Cargo.toml | 2 +- gstreamer-player/Cargo.toml | 2 ++ gstreamer-player/sys/Cargo.toml | 2 +- gstreamer-rtp/Cargo.toml | 2 ++ gstreamer-rtp/sys/Cargo.toml | 2 +- gstreamer-rtsp-server/Cargo.toml | 2 ++ gstreamer-rtsp-server/sys/Cargo.toml | 2 +- gstreamer-rtsp/Cargo.toml | 2 ++ gstreamer-rtsp/sys/Cargo.toml | 2 +- gstreamer-sdp/Cargo.toml | 2 ++ gstreamer-sdp/sys/Cargo.toml | 2 +- gstreamer-tag/sys/Cargo.toml | 2 +- gstreamer-utils/Cargo.toml | 5 +++++ gstreamer-validate/Cargo.toml | 2 ++ gstreamer-validate/sys/Cargo.toml | 2 +- gstreamer-video/Cargo.toml | 2 ++ gstreamer-video/sys/Cargo.toml | 2 +- gstreamer-webrtc/Cargo.toml | 2 ++ gstreamer-webrtc/sys/Cargo.toml | 2 +- gstreamer/Cargo.toml | 2 ++ gstreamer/sys/Cargo.toml | 2 +- 50 files changed, 81 insertions(+), 28 deletions(-) diff --git a/gstreamer-allocators/Cargo.toml b/gstreamer-allocators/Cargo.toml index 5dc7bb57a..fa5641533 100644 --- a/gstreamer-allocators/Cargo.toml +++ b/gstreamer-allocators/Cargo.toml @@ -31,4 +31,6 @@ v1_22 = ["gst/v1_22", "ffi/v1_22", "v1_20"] v1_24 = ["gst/v1_24", "ffi/v1_24", "v1_22"] [package.metadata.docs.rs] +all-features = "true" +rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-allocators/sys/Cargo.toml b/gstreamer-allocators/sys/Cargo.toml index 91d55fce7..4a6e4696b 100644 --- a/gstreamer-allocators/sys/Cargo.toml +++ b/gstreamer-allocators/sys/Cargo.toml @@ -46,7 +46,7 @@ rust-version = "1.70" version = "0.21.0" [package.metadata.docs.rs] -features = [] +all-features = "true" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-app/Cargo.toml b/gstreamer-app/Cargo.toml index 5334d9432..87fa7340c 100644 --- a/gstreamer-app/Cargo.toml +++ b/gstreamer-app/Cargo.toml @@ -36,4 +36,6 @@ v1_22 = ["gst/v1_22", "gst-base/v1_22", "ffi/v1_22", "v1_20"] v1_24 = ["gst/v1_24", "gst-base/v1_24", "ffi/v1_24", "v1_22"] [package.metadata.docs.rs] +all-features = "true" +rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-app/sys/Cargo.toml b/gstreamer-app/sys/Cargo.toml index 961c639e3..9f4af21f1 100644 --- a/gstreamer-app/sys/Cargo.toml +++ b/gstreamer-app/sys/Cargo.toml @@ -46,7 +46,7 @@ edition = "2021" rust-version = "1.70" [package.metadata.docs.rs] -features = [] +all-features = "true" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-audio/Cargo.toml b/gstreamer-audio/Cargo.toml index 16b5e9269..f3cdf0b20 100644 --- a/gstreamer-audio/Cargo.toml +++ b/gstreamer-audio/Cargo.toml @@ -37,4 +37,6 @@ v1_24 = ["gst/v1_24", "gst-base/v1_24", "ffi/v1_24", "v1_22"] serde = ["dep:serde", "gst/serde"] [package.metadata.docs.rs] +all-features = "true" +rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-audio/sys/Cargo.toml b/gstreamer-audio/sys/Cargo.toml index cd88e636e..c5ea8198a 100644 --- a/gstreamer-audio/sys/Cargo.toml +++ b/gstreamer-audio/sys/Cargo.toml @@ -50,7 +50,7 @@ edition = "2021" rust-version = "1.70" [package.metadata.docs.rs] -features = [] +all-features = "true" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-base/Cargo.toml b/gstreamer-base/Cargo.toml index 0678ae75e..a44460e0a 100644 --- a/gstreamer-base/Cargo.toml +++ b/gstreamer-base/Cargo.toml @@ -34,4 +34,6 @@ v1_22 = ["gst/v1_22", "ffi/v1_22", "v1_20"] v1_24 = ["gst/v1_24", "ffi/v1_24", "v1_22"] [package.metadata.docs.rs] +all-features = "true" +rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-base/sys/Cargo.toml b/gstreamer-base/sys/Cargo.toml index 98263888d..f523352ee 100644 --- a/gstreamer-base/sys/Cargo.toml +++ b/gstreamer-base/sys/Cargo.toml @@ -48,7 +48,7 @@ edition = "2021" rust-version = "1.70" [package.metadata.docs.rs] -features = [] +all-features = "true" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-check/Cargo.toml b/gstreamer-check/Cargo.toml index 36fbe8532..fbc65d298 100644 --- a/gstreamer-check/Cargo.toml +++ b/gstreamer-check/Cargo.toml @@ -30,4 +30,6 @@ v1_22 = ["gst/v1_22", "ffi/v1_22", "v1_20"] v1_24 = ["gst/v1_24", "ffi/v1_24", "v1_22"] [package.metadata.docs.rs] +all-features = "true" +rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-check/sys/Cargo.toml b/gstreamer-check/sys/Cargo.toml index e2e8179c4..b3bd7bb01 100644 --- a/gstreamer-check/sys/Cargo.toml +++ b/gstreamer-check/sys/Cargo.toml @@ -46,7 +46,7 @@ edition = "2021" rust-version = "1.70" [package.metadata.docs.rs] -features = [] +all-features = "true" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-controller/Cargo.toml b/gstreamer-controller/Cargo.toml index ccc1d6229..5ebe5ce35 100644 --- a/gstreamer-controller/Cargo.toml +++ b/gstreamer-controller/Cargo.toml @@ -30,4 +30,6 @@ v1_22 = ["gst/v1_22", "ffi/v1_22", "v1_20"] v1_24 = ["gst/v1_24", "ffi/v1_24", "v1_22"] [package.metadata.docs.rs] +all-features = "true" +rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-controller/sys/Cargo.toml b/gstreamer-controller/sys/Cargo.toml index c762d6e6e..bf2ee6f8e 100644 --- a/gstreamer-controller/sys/Cargo.toml +++ b/gstreamer-controller/sys/Cargo.toml @@ -47,7 +47,7 @@ edition = "2021" rust-version = "1.70" [package.metadata.docs.rs] -features = [] +all-features = "true" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-editing-services/Cargo.toml b/gstreamer-editing-services/Cargo.toml index 22321ce14..f6af2b0b3 100644 --- a/gstreamer-editing-services/Cargo.toml +++ b/gstreamer-editing-services/Cargo.toml @@ -36,4 +36,6 @@ v1_24 = ["gst/v1_24", "gst-base/v1_24", "gst-pbutils/v1_24", "ffi/v1_24", "v1_22 serde = ["dep:serde", "gst/serde", "gst-pbutils/serde"] [package.metadata.docs.rs] +all-features = "true" +rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-editing-services/sys/Cargo.toml b/gstreamer-editing-services/sys/Cargo.toml index d6634fba1..94e7dfc44 100644 --- a/gstreamer-editing-services/sys/Cargo.toml +++ b/gstreamer-editing-services/sys/Cargo.toml @@ -54,7 +54,7 @@ edition = "2021" rust-version = "1.70" [package.metadata.docs.rs] -features = [] +all-features = "true" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-gl/Cargo.toml b/gstreamer-gl/Cargo.toml index a0799248b..5807f640b 100644 --- a/gstreamer-gl/Cargo.toml +++ b/gstreamer-gl/Cargo.toml @@ -39,4 +39,6 @@ v1_24 = ["gst/v1_24", "gst-base/v1_24", "gst-video/v1_24", "ffi/v1_24", "v1_22"] serde = ["dep:serde", "gst/serde", "gst-video/serde"] [package.metadata.docs.rs] +all-features = "true" +rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-gl/egl/Cargo.toml b/gstreamer-gl/egl/Cargo.toml index 3129e70ed..2ebb51ea7 100644 --- a/gstreamer-gl/egl/Cargo.toml +++ b/gstreamer-gl/egl/Cargo.toml @@ -36,4 +36,6 @@ v1_22 = ["gst/v1_22", "gst-gl/v1_22", "ffi/v1_22", "v1_20"] v1_24 = ["gst/v1_24", "gst-gl/v1_24", "ffi/v1_24", "v1_22"] [package.metadata.docs.rs] -rustdoc-args = ["--cfg", "docsrs"] +all-features = "true" +rustc-args = ["--cfg", "docsrs"] +rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-gl/egl/sys/Cargo.toml b/gstreamer-gl/egl/sys/Cargo.toml index 56a362178..ad7e770bc 100644 --- a/gstreamer-gl/egl/sys/Cargo.toml +++ b/gstreamer-gl/egl/sys/Cargo.toml @@ -34,7 +34,7 @@ version = "1.22" version = "1.23" [package.metadata.docs.rs] -features = [] +all-features = "true" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-gl/sys/Cargo.toml b/gstreamer-gl/sys/Cargo.toml index 3826561fe..966d518d3 100644 --- a/gstreamer-gl/sys/Cargo.toml +++ b/gstreamer-gl/sys/Cargo.toml @@ -54,7 +54,7 @@ edition = "2021" rust-version = "1.70" [package.metadata.docs.rs] -features = [] +all-features = "true" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-gl/wayland/Cargo.toml b/gstreamer-gl/wayland/Cargo.toml index 5b79ee5ac..7cbbb5b09 100644 --- a/gstreamer-gl/wayland/Cargo.toml +++ b/gstreamer-gl/wayland/Cargo.toml @@ -36,4 +36,6 @@ v1_22 = ["gst/v1_22", "gst-gl/v1_22", "ffi/v1_22", "v1_20"] v1_24 = ["gst/v1_24", "gst-gl/v1_24", "ffi/v1_24", "v1_22"] [package.metadata.docs.rs] -rustdoc-args = ["--cfg", "docsrs"] +all-features = "true" +rustc-args = ["--cfg", "docsrs"] +rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-gl/wayland/sys/Cargo.toml b/gstreamer-gl/wayland/sys/Cargo.toml index 0d28ed37c..7fae1f57d 100644 --- a/gstreamer-gl/wayland/sys/Cargo.toml +++ b/gstreamer-gl/wayland/sys/Cargo.toml @@ -34,7 +34,7 @@ version = "1.22" version = "1.23" [package.metadata.docs.rs] -features = [] +all-features = "true" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-gl/x11/Cargo.toml b/gstreamer-gl/x11/Cargo.toml index a06f32834..932895848 100644 --- a/gstreamer-gl/x11/Cargo.toml +++ b/gstreamer-gl/x11/Cargo.toml @@ -36,4 +36,6 @@ v1_22 = ["gst/v1_22", "gst-gl/v1_22", "ffi/v1_22", "v1_20"] v1_24 = ["gst/v1_24", "gst-gl/v1_24", "ffi/v1_24", "v1_22"] [package.metadata.docs.rs] -rustdoc-args = ["--cfg", "docsrs"] +all-features = "true" +rustc-args = ["--cfg", "docsrs"] +rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-gl/x11/sys/Cargo.toml b/gstreamer-gl/x11/sys/Cargo.toml index b2eef26d3..670f54a5b 100644 --- a/gstreamer-gl/x11/sys/Cargo.toml +++ b/gstreamer-gl/x11/sys/Cargo.toml @@ -34,7 +34,7 @@ version = "1.22" version = "1.23" [package.metadata.docs.rs] -features = [] +all-features = "true" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-mpegts/Cargo.toml b/gstreamer-mpegts/Cargo.toml index 346d0d4f6..7c9fd90ea 100644 --- a/gstreamer-mpegts/Cargo.toml +++ b/gstreamer-mpegts/Cargo.toml @@ -30,4 +30,6 @@ v1_22 = ["gst/v1_22", "ffi/v1_22", "v1_20"] v1_24 = ["gst/v1_24", "ffi/v1_24", "v1_22"] [package.metadata.docs.rs] +all-features = "true" +rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-mpegts/sys/Cargo.toml b/gstreamer-mpegts/sys/Cargo.toml index b998b1637..a4a7d29af 100644 --- a/gstreamer-mpegts/sys/Cargo.toml +++ b/gstreamer-mpegts/sys/Cargo.toml @@ -14,7 +14,7 @@ edition = "2021" rust-version = "1.70" [package.metadata.docs.rs] -features = [] +all-features = "true" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-net/Cargo.toml b/gstreamer-net/Cargo.toml index 0c67bc439..65240bbaf 100644 --- a/gstreamer-net/Cargo.toml +++ b/gstreamer-net/Cargo.toml @@ -31,4 +31,6 @@ v1_22 = ["gst/v1_22", "ffi/v1_22", "v1_20"] v1_24 = ["gst/v1_24", "ffi/v1_24", "v1_22"] [package.metadata.docs.rs] +all-features = "true" +rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-net/sys/Cargo.toml b/gstreamer-net/sys/Cargo.toml index ab4bf6e0e..37316452d 100644 --- a/gstreamer-net/sys/Cargo.toml +++ b/gstreamer-net/sys/Cargo.toml @@ -46,7 +46,7 @@ edition = "2021" rust-version = "1.70" [package.metadata.docs.rs] -features = [] +all-features = "true" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-pbutils/Cargo.toml b/gstreamer-pbutils/Cargo.toml index 582023989..4103c8903 100644 --- a/gstreamer-pbutils/Cargo.toml +++ b/gstreamer-pbutils/Cargo.toml @@ -37,4 +37,6 @@ v1_24 = ["gst/v1_24", "gst-audio/v1_24", "gst-video/v1_24", "ffi/v1_24", "v1_22" serde = ["dep:serde", "gst/serde"] [package.metadata.docs.rs] +all-features = "true" +rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-pbutils/sys/Cargo.toml b/gstreamer-pbutils/sys/Cargo.toml index 65b67eb9a..f0ea7832b 100644 --- a/gstreamer-pbutils/sys/Cargo.toml +++ b/gstreamer-pbutils/sys/Cargo.toml @@ -54,7 +54,7 @@ edition = "2021" rust-version = "1.70" [package.metadata.docs.rs] -features = [] +all-features = "true" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-play/Cargo.toml b/gstreamer-play/Cargo.toml index eb660ba86..33d4ad1d4 100644 --- a/gstreamer-play/Cargo.toml +++ b/gstreamer-play/Cargo.toml @@ -28,4 +28,6 @@ v1_22 = ["gst/v1_22", "gst-video/v1_22", "ffi/v1_22"] v1_24 = ["gst/v1_24", "gst-video/v1_24", "ffi/v1_24", "v1_22"] [package.metadata.docs.rs] +all-features = "true" +rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-play/sys/Cargo.toml b/gstreamer-play/sys/Cargo.toml index de35424b5..227ad3b31 100644 --- a/gstreamer-play/sys/Cargo.toml +++ b/gstreamer-play/sys/Cargo.toml @@ -47,7 +47,7 @@ edition = "2021" rust-version = "1.70" [package.metadata.docs.rs] -features = [] +all-features = "true" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-player/Cargo.toml b/gstreamer-player/Cargo.toml index 1d69e2425..131685bfa 100644 --- a/gstreamer-player/Cargo.toml +++ b/gstreamer-player/Cargo.toml @@ -32,4 +32,6 @@ v1_22 = ["gst/v1_22", "gst-video/v1_22", "ffi/v1_22", "v1_20"] v1_24 = ["gst/v1_24", "gst-video/v1_24", "ffi/v1_24", "v1_22"] [package.metadata.docs.rs] +all-features = "true" +rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-player/sys/Cargo.toml b/gstreamer-player/sys/Cargo.toml index 9e41800a4..e62e9113c 100644 --- a/gstreamer-player/sys/Cargo.toml +++ b/gstreamer-player/sys/Cargo.toml @@ -50,7 +50,7 @@ edition = "2021" rust-version = "1.70" [package.metadata.docs.rs] -features = [] +all-features = "true" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-rtp/Cargo.toml b/gstreamer-rtp/Cargo.toml index 9699e6a00..2aefbee14 100644 --- a/gstreamer-rtp/Cargo.toml +++ b/gstreamer-rtp/Cargo.toml @@ -34,4 +34,6 @@ v1_24 = ["gst/v1_24", "ffi/v1_24", "v1_22"] serde = ["dep:serde", "gst/serde"] [package.metadata.docs.rs] +all-features = "true" +rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-rtp/sys/Cargo.toml b/gstreamer-rtp/sys/Cargo.toml index eaedfb5d3..c8b3da1f4 100644 --- a/gstreamer-rtp/sys/Cargo.toml +++ b/gstreamer-rtp/sys/Cargo.toml @@ -46,7 +46,7 @@ edition = "2021" rust-version = "1.70" [package.metadata.docs.rs] -features = [] +all-features = "true" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-rtsp-server/Cargo.toml b/gstreamer-rtsp-server/Cargo.toml index 8ea31ec7f..0ceb7b246 100644 --- a/gstreamer-rtsp-server/Cargo.toml +++ b/gstreamer-rtsp-server/Cargo.toml @@ -38,4 +38,6 @@ v1_24 = ["gst/v1_24", "gst-sdp/v1_24", "gst-rtsp/v1_24", "gst-net/v1_24", "ffi/v serde = ["dep:serde", "gst/serde", "gst-rtsp/serde"] [package.metadata.docs.rs] +all-features = "true" +rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-rtsp-server/sys/Cargo.toml b/gstreamer-rtsp-server/sys/Cargo.toml index 3f2fbc54f..3764bf092 100644 --- a/gstreamer-rtsp-server/sys/Cargo.toml +++ b/gstreamer-rtsp-server/sys/Cargo.toml @@ -62,7 +62,7 @@ edition = "2021" rust-version = "1.70" [package.metadata.docs.rs] -features = [] +all-features = "true" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-rtsp/Cargo.toml b/gstreamer-rtsp/Cargo.toml index 7a7b7efba..88cff1b3f 100644 --- a/gstreamer-rtsp/Cargo.toml +++ b/gstreamer-rtsp/Cargo.toml @@ -35,4 +35,6 @@ v1_24 = ["gst/v1_24", "gst-sdp/v1_24", "ffi/v1_24", "v1_22"] serde = ["dep:serde", "gst/serde"] [package.metadata.docs.rs] +all-features = "true" +rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-rtsp/sys/Cargo.toml b/gstreamer-rtsp/sys/Cargo.toml index 47f1ab41d..f4eefb2e3 100644 --- a/gstreamer-rtsp/sys/Cargo.toml +++ b/gstreamer-rtsp/sys/Cargo.toml @@ -54,7 +54,7 @@ edition = "2021" rust-version = "1.70" [package.metadata.docs.rs] -features = [] +all-features = "true" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-sdp/Cargo.toml b/gstreamer-sdp/Cargo.toml index 607332cb9..2ac5ce015 100644 --- a/gstreamer-sdp/Cargo.toml +++ b/gstreamer-sdp/Cargo.toml @@ -30,4 +30,6 @@ v1_22 = ["gst/v1_22", "ffi/v1_22", "v1_20"] v1_24 = ["gst/v1_24", "ffi/v1_24", "v1_22"] [package.metadata.docs.rs] +all-features = "true" +rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-sdp/sys/Cargo.toml b/gstreamer-sdp/sys/Cargo.toml index ba056641f..546f3479a 100644 --- a/gstreamer-sdp/sys/Cargo.toml +++ b/gstreamer-sdp/sys/Cargo.toml @@ -42,7 +42,7 @@ edition = "2021" rust-version = "1.70" [package.metadata.docs.rs] -features = [] +all-features = "true" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-tag/sys/Cargo.toml b/gstreamer-tag/sys/Cargo.toml index 8ccd3c866..16856220d 100644 --- a/gstreamer-tag/sys/Cargo.toml +++ b/gstreamer-tag/sys/Cargo.toml @@ -46,7 +46,7 @@ edition = "2021" rust-version = "1.70" [package.metadata.docs.rs] -features = [] +all-features = "true" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-utils/Cargo.toml b/gstreamer-utils/Cargo.toml index 964eca298..93d2bf8ae 100644 --- a/gstreamer-utils/Cargo.toml +++ b/gstreamer-utils/Cargo.toml @@ -28,3 +28,8 @@ futures = { version = "0.3", features = ["executor"] } default = [] v1_22 = [] v1_24 = ["v1_22"] + +[package.metadata.docs.rs] +all-features = "true" +rustc-args = ["--cfg", "docsrs"] +rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-validate/Cargo.toml b/gstreamer-validate/Cargo.toml index 938f928bf..6c0cb4b35 100644 --- a/gstreamer-validate/Cargo.toml +++ b/gstreamer-validate/Cargo.toml @@ -28,4 +28,6 @@ default = [] v1_24 = ["gst/v1_24", "ffi/v1_24"] [package.metadata.docs.rs] +all-features = "true" +rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-validate/sys/Cargo.toml b/gstreamer-validate/sys/Cargo.toml index b9b4cf5d0..043bc0d10 100644 --- a/gstreamer-validate/sys/Cargo.toml +++ b/gstreamer-validate/sys/Cargo.toml @@ -14,7 +14,7 @@ edition = "2021" rust-version = "1.57" [package.metadata.docs.rs] -features = [] +all-features = "true" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-video/Cargo.toml b/gstreamer-video/Cargo.toml index a28bed0f6..472644316 100644 --- a/gstreamer-video/Cargo.toml +++ b/gstreamer-video/Cargo.toml @@ -38,4 +38,6 @@ v1_24 = ["gst/v1_24", "gst-base/v1_24", "ffi/v1_24", "v1_22"] serde = ["dep:serde", "gst/serde"] [package.metadata.docs.rs] +all-features = "true" +rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-video/sys/Cargo.toml b/gstreamer-video/sys/Cargo.toml index 80c2902ba..220e13b0d 100644 --- a/gstreamer-video/sys/Cargo.toml +++ b/gstreamer-video/sys/Cargo.toml @@ -50,7 +50,7 @@ edition = "2021" rust-version = "1.70" [package.metadata.docs.rs] -features = [] +all-features = "true" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-webrtc/Cargo.toml b/gstreamer-webrtc/Cargo.toml index 1a0f20f10..05c77138b 100644 --- a/gstreamer-webrtc/Cargo.toml +++ b/gstreamer-webrtc/Cargo.toml @@ -33,4 +33,6 @@ v1_22 = ["gst/v1_22", "gst-sdp/v1_22", "ffi/v1_22", "v1_20"] v1_24 = ["gst/v1_24", "gst-sdp/v1_24", "ffi/v1_24", "v1_22"] [package.metadata.docs.rs] +all-features = "true" +rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer-webrtc/sys/Cargo.toml b/gstreamer-webrtc/sys/Cargo.toml index 081a5d399..5ad630fc9 100644 --- a/gstreamer-webrtc/sys/Cargo.toml +++ b/gstreamer-webrtc/sys/Cargo.toml @@ -47,7 +47,7 @@ edition = "2021" rust-version = "1.70" [package.metadata.docs.rs] -features = [] +all-features = "true" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer/Cargo.toml b/gstreamer/Cargo.toml index a244daf0f..a8070162e 100644 --- a/gstreamer/Cargo.toml +++ b/gstreamer/Cargo.toml @@ -49,4 +49,6 @@ v1_24 = ["ffi/v1_24", "v1_22"] serde = ["num-rational/serde", "dep:serde", "serde_bytes"] [package.metadata.docs.rs] +all-features = "true" +rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gstreamer/sys/Cargo.toml b/gstreamer/sys/Cargo.toml index a31e874bb..0f9c7e8e5 100644 --- a/gstreamer/sys/Cargo.toml +++ b/gstreamer/sys/Cargo.toml @@ -44,7 +44,7 @@ edition = "2021" rust-version = "1.70" [package.metadata.docs.rs] -features = [] +all-features = "true" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]