mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-28 12:31:10 +00:00
Fix build on docs.rs and document all features
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/478 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1302>
This commit is contained in:
parent
03417068dc
commit
e95e62d871
50 changed files with 81 additions and 28 deletions
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
Loading…
Reference in a new issue