From 2d87561193b147efa3b70ee5daee3a5344b28062 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Fri, 27 Nov 2020 14:37:40 +0100 Subject: [PATCH] Revert "Remove unnecessary dox feature in cargo files" This reverts commit 128b3b251e9802ef1992e9b9b8733f5608ecd6da. --- gstreamer-app/Cargo.toml | 3 ++- gstreamer-audio/Cargo.toml | 3 ++- gstreamer-base/Cargo.toml | 3 ++- gstreamer-check/Cargo.toml | 3 ++- gstreamer-check/sys/Cargo.toml | 1 + gstreamer-controller/Cargo.toml | 3 ++- gstreamer-editing-services/Cargo.toml | 3 ++- gstreamer-editing-services/sys/Cargo.toml | 1 + gstreamer-gl/Cargo.toml | 3 ++- gstreamer-gl/sys/Cargo.toml | 1 + gstreamer-net/Cargo.toml | 3 ++- gstreamer-pbutils/Cargo.toml | 3 ++- gstreamer-pbutils/sys/Cargo.toml | 1 + gstreamer-player/Cargo.toml | 3 ++- gstreamer-rtp/Cargo.toml | 3 ++- gstreamer-rtsp-server/Cargo.toml | 3 ++- gstreamer-rtsp-server/sys/Cargo.toml | 1 + gstreamer-rtsp/Cargo.toml | 3 ++- gstreamer-rtsp/sys/Cargo.toml | 1 + gstreamer-sdp/Cargo.toml | 3 ++- gstreamer-video/Cargo.toml | 3 ++- gstreamer-webrtc/Cargo.toml | 3 ++- gstreamer-webrtc/sys/Cargo.toml | 1 + gstreamer/Cargo.toml | 3 ++- gstreamer/sys/Cargo.toml | 1 + 25 files changed, 42 insertions(+), 17 deletions(-) diff --git a/gstreamer-app/Cargo.toml b/gstreamer-app/Cargo.toml index 013dc9c47..ad373d3c7 100644 --- a/gstreamer-app/Cargo.toml +++ b/gstreamer-app/Cargo.toml @@ -40,6 +40,7 @@ v1_16 = ["gst/v1_16", "gst-base/v1_16", "ffi/v1_16", "v1_14"] v1_18 = ["gst/v1_18", "gst-base/v1_18", "ffi/v1_18", "v1_16"] embed-lgpl-docs = ["gstreamer-rs-lgpl-docs"] purge-lgpl-docs = ["gstreamer-rs-lgpl-docs"] +dox = ["v1_18", "ffi/dox", "glib/dox", "gst/dox", "gst-base/dox"] [package.metadata.docs.rs] -features = ["embed-lgpl-docs"] +features = ["dox", "embed-lgpl-docs"] diff --git a/gstreamer-audio/Cargo.toml b/gstreamer-audio/Cargo.toml index 78b1a28d9..2a9f164ce 100644 --- a/gstreamer-audio/Cargo.toml +++ b/gstreamer-audio/Cargo.toml @@ -38,6 +38,7 @@ v1_16 = ["gst/v1_16", "gst-base/v1_16", "ffi/v1_16", "v1_14"] v1_18 = ["gst/v1_18", "gst-base/v1_18", "ffi/v1_18", "v1_16"] embed-lgpl-docs = ["gstreamer-rs-lgpl-docs"] purge-lgpl-docs = ["gstreamer-rs-lgpl-docs"] +dox = ["v1_18", "ffi/dox", "glib/dox", "gst/dox", "gst-base/dox"] [package.metadata.docs.rs] -features = ["embed-lgpl-docs"] +features = ["dox", "embed-lgpl-docs"] diff --git a/gstreamer-base/Cargo.toml b/gstreamer-base/Cargo.toml index e42d74b31..5df355334 100644 --- a/gstreamer-base/Cargo.toml +++ b/gstreamer-base/Cargo.toml @@ -33,6 +33,7 @@ v1_16 = ["gst/v1_16", "ffi/v1_16", "v1_14_1"] v1_18 = ["gst/v1_18", "ffi/v1_18", "v1_16"] embed-lgpl-docs = ["gstreamer-rs-lgpl-docs"] purge-lgpl-docs = ["gstreamer-rs-lgpl-docs"] +dox = ["v1_18", "ffi/dox", "glib/dox", "gst/dox"] [package.metadata.docs.rs] -features = ["embed-lgpl-docs"] +features = ["dox", "embed-lgpl-docs"] diff --git a/gstreamer-check/Cargo.toml b/gstreamer-check/Cargo.toml index 8c51edb6d..5cd6a5b36 100644 --- a/gstreamer-check/Cargo.toml +++ b/gstreamer-check/Cargo.toml @@ -31,6 +31,7 @@ v1_16 = ["gst/v1_16", "ffi/v1_16", "v1_14"] v1_18 = ["gst/v1_18", "ffi/v1_18", "v1_16"] embed-lgpl-docs = ["gstreamer-rs-lgpl-docs"] purge-lgpl-docs = ["gstreamer-rs-lgpl-docs"] +dox = ["v1_18", "ffi/dox", "glib/dox", "gst/dox"] [package.metadata.docs.rs] -features = ["embed-lgpl-docs"] +features = ["dox", "embed-lgpl-docs"] diff --git a/gstreamer-check/sys/Cargo.toml b/gstreamer-check/sys/Cargo.toml index 38dd874cd..a1c3af933 100644 --- a/gstreamer-check/sys/Cargo.toml +++ b/gstreamer-check/sys/Cargo.toml @@ -18,6 +18,7 @@ shell-words = "1.0.0" tempfile = "3" [features] +dox = [] v1_2 = [] v1_4 = ["v1_2"] v1_6 = ["v1_4"] diff --git a/gstreamer-controller/Cargo.toml b/gstreamer-controller/Cargo.toml index 4779af5a4..efefad530 100644 --- a/gstreamer-controller/Cargo.toml +++ b/gstreamer-controller/Cargo.toml @@ -33,6 +33,7 @@ v1_16 = ["gst/v1_16", "ffi/v1_16", "v1_14"] v1_18 = ["gst/v1_18", "ffi/v1_18", "v1_16"] embed-lgpl-docs = ["rustdoc-stripper"] purge-lgpl-docs = ["rustdoc-stripper"] +dox = ["v1_18", "ffi/dox", "glib/dox", "gst/dox"] [package.metadata.docs.rs] -features = ["embed-lgpl-docs"] +dox = ["v1_18", "ffi/dox", "glib/dox", "gst/dox"] diff --git a/gstreamer-editing-services/Cargo.toml b/gstreamer-editing-services/Cargo.toml index 335c7496c..6154b4982 100644 --- a/gstreamer-editing-services/Cargo.toml +++ b/gstreamer-editing-services/Cargo.toml @@ -34,6 +34,7 @@ v1_16 = ["gst/v1_16", "gst-base/v1_16", "gst-pbutils/v1_16", "ffi/v1_16", "v1_14 v1_18 = ["gst/v1_18", "gst-base/v1_18", "gst-pbutils/v1_18", "ffi/v1_18", "v1_16"] embed-lgpl-docs = ["gstreamer-rs-lgpl-docs"] purge-lgpl-docs = ["gstreamer-rs-lgpl-docs"] +dox = ["v1_18", "ffi/dox", "glib/dox", "gio/dox", "gst/dox", "gst-base/dox", "gst-pbutils/dox"] [package.metadata.docs.rs] -features = ["embed-lgpl-docs"] +features = ["dox", "embed-lgpl-docs"] diff --git a/gstreamer-editing-services/sys/Cargo.toml b/gstreamer-editing-services/sys/Cargo.toml index f61b50311..1e72dad1b 100644 --- a/gstreamer-editing-services/sys/Cargo.toml +++ b/gstreamer-editing-services/sys/Cargo.toml @@ -24,6 +24,7 @@ shell-words = "1.0.0" tempfile = "3" [features] +dox = [] v1_6 = ["v1_4"] v1_8 = ["v1_6"] v1_10 = ["v1_8"] diff --git a/gstreamer-gl/Cargo.toml b/gstreamer-gl/Cargo.toml index ea0304100..77b33e0b4 100644 --- a/gstreamer-gl/Cargo.toml +++ b/gstreamer-gl/Cargo.toml @@ -30,6 +30,7 @@ gstreamer-rs-lgpl-docs = { path = "../docs", optional = true } [features] default = [] +dox = ["v1_18", "ffi/dox", "glib/dox", "gst/dox", "gst-base/dox", "gst-video/dox"] egl = ["ffi/egl"] x11 = ["ffi/x11"] wayland = ["ffi/wayland"] @@ -39,4 +40,4 @@ v1_16 = ["gst/v1_16", "gst-base/v1_16", "gst-video/v1_16", "ffi/v1_16"] v1_18 = ["gst/v1_18", "gst-base/v1_18", "gst-video/v1_18", "ffi/v1_18", "v1_16"] [package.metadata.docs.rs] -features = ["embed-lgpl-docs"] +features = ["dox", "embed-lgpl-docs"] diff --git a/gstreamer-gl/sys/Cargo.toml b/gstreamer-gl/sys/Cargo.toml index 6d91e44e0..ea3773496 100644 --- a/gstreamer-gl/sys/Cargo.toml +++ b/gstreamer-gl/sys/Cargo.toml @@ -27,6 +27,7 @@ shell-words = "1.0.0" tempfile = "3" [features] +dox = [] egl = [] x11 = [] wayland = [] diff --git a/gstreamer-net/Cargo.toml b/gstreamer-net/Cargo.toml index a26cb3c19..060cf88d9 100644 --- a/gstreamer-net/Cargo.toml +++ b/gstreamer-net/Cargo.toml @@ -31,6 +31,7 @@ v1_16 = ["gst/v1_16", "ffi/v1_16", "v1_14"] v1_18 = ["gst/v1_18", "ffi/v1_18", "v1_16"] embed-lgpl-docs = ["gstreamer-rs-lgpl-docs"] purge-lgpl-docs = ["gstreamer-rs-lgpl-docs"] +dox = ["v1_18", "ffi/dox", "glib/dox", "gio/dox", "gst/dox"] [package.metadata.docs.rs] -features = ["embed-lgpl-docs"] +features = ["dox", "embed-lgpl-docs"] diff --git a/gstreamer-pbutils/Cargo.toml b/gstreamer-pbutils/Cargo.toml index 7d6d9f1c5..9b66f6049 100644 --- a/gstreamer-pbutils/Cargo.toml +++ b/gstreamer-pbutils/Cargo.toml @@ -33,6 +33,7 @@ v1_16 = ["gst/v1_16", "ffi/v1_16", "v1_14"] v1_18 = ["gst/v1_18", "ffi/v1_18", "v1_16"] embed-lgpl-docs = ["gstreamer-rs-lgpl-docs"] purge-lgpl-docs = ["gstreamer-rs-lgpl-docs"] +dox = ["v1_18", "ffi/dox", "glib/dox", "gst/dox"] [package.metadata.docs.rs] -features = ["embed-lgpl-docs"] +features = ["dox", "embed-lgpl-docs"] diff --git a/gstreamer-pbutils/sys/Cargo.toml b/gstreamer-pbutils/sys/Cargo.toml index f6e91fa11..fcd18e0c7 100644 --- a/gstreamer-pbutils/sys/Cargo.toml +++ b/gstreamer-pbutils/sys/Cargo.toml @@ -33,6 +33,7 @@ v1_12 = ["v1_10"] v1_14 = ["v1_12_1"] v1_16 = ["v1_14"] v1_18 = ["v1_16"] +dox = [] v1_12_1 = ["v1_12"] dox = [] diff --git a/gstreamer-player/Cargo.toml b/gstreamer-player/Cargo.toml index 40967b29c..a7fa64fb3 100644 --- a/gstreamer-player/Cargo.toml +++ b/gstreamer-player/Cargo.toml @@ -31,6 +31,7 @@ v1_16 = ["gst/v1_16", "gst-video/v1_16", "ffi/v1_16", "v1_14"] v1_18 = ["gst/v1_18", "gst-video/v1_18", "ffi/v1_18", "v1_16"] embed-lgpl-docs = ["gstreamer-rs-lgpl-docs"] purge-lgpl-docs = ["gstreamer-rs-lgpl-docs"] +dox = ["v1_18", "ffi/dox", "glib/dox", "gst/dox", "gst-video/dox"] [package.metadata.docs.rs] -features = ["embed-lgpl-docs"] +features = ["dox", "embed-lgpl-docs"] diff --git a/gstreamer-rtp/Cargo.toml b/gstreamer-rtp/Cargo.toml index 7567e8c31..7c6635212 100644 --- a/gstreamer-rtp/Cargo.toml +++ b/gstreamer-rtp/Cargo.toml @@ -32,6 +32,7 @@ v1_16 = ["gst/v1_16", "ffi/v1_16", "v1_14"] v1_18 = ["gst/v1_18", "ffi/v1_18", "v1_16"] embed-lgpl-docs = ["gstreamer-rs-lgpl-docs"] purge-lgpl-docs = ["gstreamer-rs-lgpl-docs"] +dox = ["v1_18", "ffi/dox", "glib/dox", "gst/dox"] [package.metadata.docs.rs] -features = ["embed-lgpl-docs"] +dox = ["v1_18", "ffi/dox", "glib/dox", "gst/dox"] diff --git a/gstreamer-rtsp-server/Cargo.toml b/gstreamer-rtsp-server/Cargo.toml index 00d53436d..7dda24071 100644 --- a/gstreamer-rtsp-server/Cargo.toml +++ b/gstreamer-rtsp-server/Cargo.toml @@ -37,6 +37,7 @@ v1_16 = ["gst/v1_16", "gst-sdp/v1_16", "gst-rtsp/v1_16", "gst-net/v1_16", "ffi/v v1_18 = ["gst/v1_18", "gst-sdp/v1_18", "gst-rtsp/v1_18", "gst-net/v1_18", "ffi/v1_18", "v1_16"] embed-lgpl-docs = ["gstreamer-rs-lgpl-docs"] purge-lgpl-docs = ["gstreamer-rs-lgpl-docs"] +dox = ["v1_18", "ffi/dox", "glib/dox", "gio/dox", "gst/dox", "gst-sdp/dox", "gst-rtsp/dox", "gst-net/dox"] [package.metadata.docs.rs] -features = ["embed-lgpl-docs"] +features = ["dox", "embed-lgpl-docs"] diff --git a/gstreamer-rtsp-server/sys/Cargo.toml b/gstreamer-rtsp-server/sys/Cargo.toml index 9e061d820..bdb1e845b 100644 --- a/gstreamer-rtsp-server/sys/Cargo.toml +++ b/gstreamer-rtsp-server/sys/Cargo.toml @@ -30,6 +30,7 @@ shell-words = "1.0.0" tempfile = "3" [features] +dox = [] v1_2 = [] v1_4 = ["v1_2"] v1_6 = ["v1_4"] diff --git a/gstreamer-rtsp/Cargo.toml b/gstreamer-rtsp/Cargo.toml index 28d34445b..0c4d76ed0 100644 --- a/gstreamer-rtsp/Cargo.toml +++ b/gstreamer-rtsp/Cargo.toml @@ -33,6 +33,7 @@ v1_16 = ["gst/v1_16", "gst-sdp/v1_16", "ffi/v1_16", "v1_14"] v1_18 = ["gst/v1_18", "gst-sdp/v1_18", "ffi/v1_18", "v1_16"] embed-lgpl-docs = ["gstreamer-rs-lgpl-docs"] purge-lgpl-docs = ["gstreamer-rs-lgpl-docs"] +dox = ["v1_18", "ffi/dox", "glib/dox", "gst/dox", "gst-sdp/dox"] [package.metadata.docs.rs] -features = ["embed-lgpl-docs"] +features = ["dox", "embed-lgpl-docs"] diff --git a/gstreamer-rtsp/sys/Cargo.toml b/gstreamer-rtsp/sys/Cargo.toml index 61e664629..4c3036ff9 100644 --- a/gstreamer-rtsp/sys/Cargo.toml +++ b/gstreamer-rtsp/sys/Cargo.toml @@ -24,6 +24,7 @@ shell-words = "1.0.0" tempfile = "3" [features] +dox = [] v1_2 = [] v1_2_1 = ["v1_2"] v1_4 = ["v1_2"] diff --git a/gstreamer-sdp/Cargo.toml b/gstreamer-sdp/Cargo.toml index a84715a0c..c0efabbf1 100644 --- a/gstreamer-sdp/Cargo.toml +++ b/gstreamer-sdp/Cargo.toml @@ -31,6 +31,7 @@ v1_16 = ["gst/v1_16", "ffi/v1_16", "v1_14"] v1_18 = ["gst/v1_18", "ffi/v1_18", "v1_16"] embed-lgpl-docs = ["gstreamer-rs-lgpl-docs"] purge-lgpl-docs = ["gstreamer-rs-lgpl-docs"] +dox = ["v1_18", "ffi/dox", "glib/dox", "gst/dox"] [package.metadata.docs.rs] -features = ["embed-lgpl-docs"] +features = ["dox", "embed-lgpl-docs"] diff --git a/gstreamer-video/Cargo.toml b/gstreamer-video/Cargo.toml index 1b6ee4749..ac737ca5f 100644 --- a/gstreamer-video/Cargo.toml +++ b/gstreamer-video/Cargo.toml @@ -40,6 +40,7 @@ v1_16 = ["gst/v1_16", "gst-base/v1_16", "ffi/v1_16", "v1_14"] v1_18 = ["gst/v1_18", "gst-base/v1_18", "ffi/v1_18", "v1_16"] embed-lgpl-docs = ["gstreamer-rs-lgpl-docs"] purge-lgpl-docs = ["gstreamer-rs-lgpl-docs"] +dox = ["v1_18", "ffi/dox", "glib/dox", "gst/dox", "gst-base/dox"] [package.metadata.docs.rs] -features = ["embed-lgpl-docs"] +features = ["dox", "embed-lgpl-docs"] diff --git a/gstreamer-webrtc/Cargo.toml b/gstreamer-webrtc/Cargo.toml index fcf59cc32..d87d14ee4 100644 --- a/gstreamer-webrtc/Cargo.toml +++ b/gstreamer-webrtc/Cargo.toml @@ -27,8 +27,9 @@ gstreamer-rs-lgpl-docs = { path = "../docs", optional = true } default = [] embed-lgpl-docs = ["gstreamer-rs-lgpl-docs"] purge-lgpl-docs = ["gstreamer-rs-lgpl-docs"] +dox = ["v1_18", "ffi/dox", "glib/dox", "gst/dox", "gst-sdp/dox"] v1_16 = ["gst/v1_16", "gst-sdp/v1_16", "ffi/v1_16"] v1_18 = ["gst/v1_18", "gst-sdp/v1_18", "ffi/v1_18", "v1_16"] [package.metadata.docs.rs] -features = ["embed-lgpl-docs"] +features = ["dox", "embed-lgpl-docs"] diff --git a/gstreamer-webrtc/sys/Cargo.toml b/gstreamer-webrtc/sys/Cargo.toml index 41676a85d..f979d0578 100644 --- a/gstreamer-webrtc/sys/Cargo.toml +++ b/gstreamer-webrtc/sys/Cargo.toml @@ -23,6 +23,7 @@ shell-words = "1.0.0" tempfile = "3" [features] +dox = [] v1_16 = ["v1_14_1"] v1_18 = ["v1_16"] v1_14_1 = [] diff --git a/gstreamer/Cargo.toml b/gstreamer/Cargo.toml index 6b867cb10..93258ec46 100644 --- a/gstreamer/Cargo.toml +++ b/gstreamer/Cargo.toml @@ -49,7 +49,8 @@ v1_16 = ["ffi/v1_16", "v1_14"] v1_18 = ["ffi/v1_18", "v1_16"] embed-lgpl-docs = ["gstreamer-rs-lgpl-docs"] purge-lgpl-docs = ["gstreamer-rs-lgpl-docs"] +dox = ["v1_18", "ffi/dox", "glib/dox", "ser_de"] ser_de = ["num-rational/serde", "serde", "serde_bytes", "serde_derive"] [package.metadata.docs.rs] -features = ["embed-lgpl-docs"] +features = ["dox", "embed-lgpl-docs"] diff --git a/gstreamer/sys/Cargo.toml b/gstreamer/sys/Cargo.toml index ce9be950c..a7ea9bd38 100644 --- a/gstreamer/sys/Cargo.toml +++ b/gstreamer/sys/Cargo.toml @@ -26,6 +26,7 @@ v1_12 = ["v1_10"] v1_14 = ["v1_12_1"] v1_16 = ["v1_14"] v1_18 = ["v1_16"] +dox = [] v1_12_1 = ["v1_12"] dox = []