forked from mirrors/gstreamer-rs
Fix usage of dox feature
This commit is contained in:
parent
d80227e566
commit
9a9ce252a4
26 changed files with 33 additions and 31 deletions
|
@ -30,7 +30,7 @@ v1_16 = ["gst/v1_16", "ffi/v1_16"]
|
|||
v1_18 = ["gst/v1_18", "ffi/v1_18", "v1_16"]
|
||||
v1_20 = ["gst/v1_20", "ffi/v1_20", "v1_18"]
|
||||
v1_22 = ["gst/v1_22", "ffi/v1_22", "v1_20"]
|
||||
dox = ["v1_22", "ffi/dox", "glib/dox", "gst/dox"]
|
||||
dox = ["ffi/dox", "glib/dox", "gst/dox"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
features = ["dox"]
|
||||
|
|
|
@ -35,7 +35,7 @@ v1_16 = ["gst/v1_16", "gst-base/v1_16", "ffi/v1_16"]
|
|||
v1_18 = ["gst/v1_18", "gst-base/v1_18", "ffi/v1_18", "v1_16"]
|
||||
v1_20 = ["gst/v1_20", "gst-base/v1_20", "ffi/v1_20", "v1_18"]
|
||||
v1_22 = ["gst/v1_22", "gst-base/v1_22", "ffi/v1_22", "v1_20"]
|
||||
dox = ["v1_22", "ffi/dox", "glib/dox", "gst/dox", "gst-base/dox"]
|
||||
dox = ["ffi/dox", "glib/dox", "gst/dox", "gst-base/dox"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
features = ["dox"]
|
||||
|
|
|
@ -35,7 +35,7 @@ v1_16 = ["gst/v1_16", "gst-base/v1_16", "ffi/v1_16"]
|
|||
v1_18 = ["gst/v1_18", "gst-base/v1_18", "ffi/v1_18", "v1_16"]
|
||||
v1_20 = ["gst/v1_20", "gst-base/v1_20", "ffi/v1_20", "v1_18"]
|
||||
v1_22 = ["gst/v1_22", "gst-base/v1_22", "ffi/v1_22", "v1_20"]
|
||||
dox = ["v1_22", "ffi/dox", "glib/dox", "gst/dox", "gst-base/dox", "serde"]
|
||||
dox = ["ffi/dox", "glib/dox", "gst/dox", "gst-base/dox", "serde"]
|
||||
serde = ["dep:serde", "gst/serde"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
|
|
|
@ -32,7 +32,7 @@ v1_16 = ["gst/v1_16", "ffi/v1_16", "v1_14_1"]
|
|||
v1_18 = ["gst/v1_18", "ffi/v1_18", "v1_16"]
|
||||
v1_20 = ["gst/v1_20", "ffi/v1_20", "v1_18"]
|
||||
v1_22 = ["gst/v1_22", "ffi/v1_22", "v1_20"]
|
||||
dox = ["v1_22", "ffi/dox", "glib/dox", "gst/dox"]
|
||||
dox = ["ffi/dox", "glib/dox", "gst/dox"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
features = ["dox"]
|
||||
|
|
|
@ -28,7 +28,7 @@ v1_16 = ["gst/v1_16", "ffi/v1_16"]
|
|||
v1_18 = ["gst/v1_18", "ffi/v1_18", "v1_16"]
|
||||
v1_20 = ["gst/v1_20", "ffi/v1_20", "v1_18"]
|
||||
v1_22 = ["gst/v1_22", "ffi/v1_22", "v1_20"]
|
||||
dox = ["v1_22", "ffi/dox", "glib/dox", "gst/dox"]
|
||||
dox = ["ffi/dox", "glib/dox", "gst/dox"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
features = ["dox"]
|
||||
|
|
|
@ -29,7 +29,7 @@ v1_16 = ["gst/v1_16", "ffi/v1_16"]
|
|||
v1_18 = ["gst/v1_18", "ffi/v1_18", "v1_16"]
|
||||
v1_20 = ["gst/v1_20", "ffi/v1_20", "v1_18"]
|
||||
v1_22 = ["gst/v1_22", "ffi/v1_22", "v1_20"]
|
||||
dox = ["v1_22", "ffi/dox", "glib/dox", "gst/dox"]
|
||||
dox = ["ffi/dox", "glib/dox", "gst/dox"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
features = ["dox"]
|
||||
|
|
|
@ -33,7 +33,7 @@ v1_16 = ["gst/v1_16", "gst-base/v1_16", "gst-pbutils/v1_16", "ffi/v1_16"]
|
|||
v1_18 = ["gst/v1_18", "gst-base/v1_18", "gst-pbutils/v1_18", "ffi/v1_18", "v1_16"]
|
||||
v1_20 = ["gst/v1_20", "gst-base/v1_20", "gst-pbutils/v1_20", "ffi/v1_20", "v1_18"]
|
||||
v1_22 = ["gst/v1_22", "gst-base/v1_22", "gst-pbutils/v1_22", "ffi/v1_22", "v1_20"]
|
||||
dox = ["v1_22", "ffi/dox", "glib/dox", "gio/dox", "gst/dox", "gst-base/dox", "gst-pbutils/dox", "serde"]
|
||||
dox = ["ffi/dox", "glib/dox", "gio/dox", "gst/dox", "gst-base/dox", "gst-pbutils/dox", "serde"]
|
||||
serde = ["dep:serde", "gst/serde", "gst-pbutils/serde"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
|
|
|
@ -38,7 +38,7 @@ 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"]
|
||||
v1_20 = ["gst/v1_20", "gst-base/v1_20", "gst-video/v1_20", "ffi/v1_20", "v1_18"]
|
||||
v1_22 = ["gst/v1_22", "gst-base/v1_22", "gst-video/v1_22", "ffi/v1_22", "v1_20"]
|
||||
dox = ["v1_22", "ffi/dox", "glib/dox", "gst/dox", "gst-base/dox", "gst-video/dox", "serde"]
|
||||
dox = ["ffi/dox", "glib/dox", "gst/dox", "gst-base/dox", "gst-video/dox", "serde"]
|
||||
serde = ["dep:serde", "gst/serde", "gst-video/serde"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
|
|
|
@ -29,7 +29,7 @@ gir-format-check = "0.1"
|
|||
|
||||
[features]
|
||||
default = []
|
||||
dox = ["v1_22", "ffi/dox", "glib/dox", "gst/dox", "gst-gl/dox"]
|
||||
dox = ["ffi/dox", "glib/dox", "gst/dox", "gst-gl/dox"]
|
||||
v1_16 = ["gst/v1_16", "gst-gl/v1_16", "ffi/v1_16"]
|
||||
v1_18 = ["gst/v1_18", "gst-gl/v1_18", "ffi/v1_18", "v1_16"]
|
||||
v1_20 = ["gst/v1_20", "gst-gl/v1_20", "ffi/v1_20", "v1_18"]
|
||||
|
|
|
@ -29,7 +29,7 @@ gir-format-check = "0.1"
|
|||
|
||||
[features]
|
||||
default = []
|
||||
dox = ["v1_22", "ffi/dox", "glib/dox", "gst/dox", "gst-gl/dox"]
|
||||
dox = ["ffi/dox", "glib/dox", "gst/dox", "gst-gl/dox"]
|
||||
v1_16 = ["gst/v1_16", "gst-gl/v1_16", "ffi/v1_16"]
|
||||
v1_18 = ["gst/v1_18", "gst-gl/v1_18", "ffi/v1_18", "v1_16"]
|
||||
v1_20 = ["gst/v1_20", "gst-gl/v1_20", "ffi/v1_20", "v1_18"]
|
||||
|
|
|
@ -29,7 +29,7 @@ gir-format-check = "0.1"
|
|||
|
||||
[features]
|
||||
default = []
|
||||
dox = ["v1_22", "ffi/dox", "glib/dox", "gst/dox", "gst-gl/dox"]
|
||||
dox = ["ffi/dox", "glib/dox", "gst/dox", "gst-gl/dox"]
|
||||
v1_16 = ["gst/v1_16", "gst-gl/v1_16", "ffi/v1_16"]
|
||||
v1_18 = ["gst/v1_18", "gst-gl/v1_18", "ffi/v1_18", "v1_16"]
|
||||
v1_20 = ["gst/v1_20", "gst-gl/v1_20", "ffi/v1_20", "v1_18"]
|
||||
|
|
|
@ -28,7 +28,7 @@ v1_16 = ["gst/v1_16", "ffi/v1_16"]
|
|||
v1_18 = ["gst/v1_18", "ffi/v1_18", "v1_16"]
|
||||
v1_20 = ["gst/v1_20", "ffi/v1_20", "v1_18"]
|
||||
v1_22 = ["gst/v1_22", "ffi/v1_22", "v1_20"]
|
||||
dox = ["v1_22", "ffi/dox", "glib/dox", "gio/dox", "gst/dox"]
|
||||
dox = ["ffi/dox", "glib/dox", "gio/dox", "gst/dox"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
features = ["dox"]
|
||||
|
|
|
@ -30,11 +30,11 @@ serde_json = "1.0"
|
|||
|
||||
[features]
|
||||
default = []
|
||||
v1_16 = ["gst/v1_16", "ffi/v1_16"]
|
||||
v1_18 = ["gst/v1_18", "ffi/v1_18", "v1_16"]
|
||||
v1_20 = ["gst/v1_20", "ffi/v1_20", "v1_18"]
|
||||
v1_22 = ["gst/v1_22", "ffi/v1_22", "v1_20"]
|
||||
dox = ["v1_22", "ffi/dox", "glib/dox", "gst/dox", "serde"]
|
||||
v1_16 = ["gst/v1_16", "gst-audio/v1_16", "gst-video/v1_16", "ffi/v1_16"]
|
||||
v1_18 = ["gst/v1_18", "gst-audio/v1_18", "gst-video/v1_18", "ffi/v1_18", "v1_16"]
|
||||
v1_20 = ["gst/v1_20", "gst-audio/v1_20", "gst-video/v1_20", "ffi/v1_20", "v1_18"]
|
||||
v1_22 = ["gst/v1_22", "gst-audio/v1_22", "gst-video/v1_22", "ffi/v1_22", "v1_20"]
|
||||
dox = ["ffi/dox", "glib/dox", "gst/dox", "gst-audio/dox", "gst-video/dox", "serde"]
|
||||
serde = ["dep:serde", "gst/serde"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
|
|
|
@ -8,7 +8,7 @@ use crate::auto::EncodingContainerProfile;
|
|||
use crate::auto::EncodingProfile;
|
||||
use crate::auto::EncodingVideoProfile;
|
||||
|
||||
#[cfg(feature = "v1_20")]
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
use crate::ElementProperties;
|
||||
|
||||
pub trait EncodingProfileExtManual {
|
||||
|
|
|
@ -43,9 +43,9 @@ mod auto;
|
|||
pub use crate::auto::functions::*;
|
||||
pub use crate::auto::*;
|
||||
|
||||
#[cfg(feature = "v1_20")]
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
mod element_properties;
|
||||
#[cfg(feature = "v1_20")]
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
pub use crate::element_properties::{ElementProperties, ElementPropertiesMapItem};
|
||||
|
||||
#[cfg(feature = "serde")]
|
||||
|
|
|
@ -27,7 +27,7 @@ gir-format-check = "0.1"
|
|||
|
||||
[features]
|
||||
v1_22 = ["gst/v1_22", "gst-video/v1_22", "ffi/v1_22"]
|
||||
dox = ["v1_22", "ffi/dox", "glib/dox", "gst/dox", "gst-video/dox"]
|
||||
dox = ["ffi/dox", "glib/dox", "gst/dox", "gst-video/dox"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
features = ["dox"]
|
||||
|
|
|
@ -31,7 +31,7 @@ v1_16 = ["gst/v1_16", "gst-video/v1_16", "ffi/v1_16"]
|
|||
v1_18 = ["gst/v1_18", "gst-video/v1_18", "ffi/v1_18", "v1_16"]
|
||||
v1_20 = ["gst/v1_20", "gst-video/v1_20", "ffi/v1_20", "v1_18"]
|
||||
v1_22 = ["gst/v1_22", "gst-video/v1_22", "ffi/v1_22", "v1_20"]
|
||||
dox = ["v1_22", "ffi/dox", "glib/dox", "gst/dox", "gst-video/dox"]
|
||||
dox = ["ffi/dox", "glib/dox", "gst/dox", "gst-video/dox"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
features = ["dox"]
|
||||
|
|
|
@ -32,7 +32,7 @@ v1_16 = ["gst/v1_16", "ffi/v1_16"]
|
|||
v1_18 = ["gst/v1_18", "ffi/v1_18", "v1_16"]
|
||||
v1_20 = ["gst/v1_20", "ffi/v1_20", "v1_18"]
|
||||
v1_22 = ["gst/v1_22", "ffi/v1_22", "v1_20"]
|
||||
dox = ["v1_22", "ffi/dox", "glib/dox", "gst/dox", "serde"]
|
||||
dox = ["ffi/dox", "glib/dox", "gst/dox", "serde"]
|
||||
serde = ["dep:serde", "gst/serde"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
|
|
|
@ -36,7 +36,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"]
|
||||
v1_20 = ["gst/v1_20", "gst-sdp/v1_20", "gst-rtsp/v1_20", "gst-net/v1_20", "ffi/v1_20", "v1_18"]
|
||||
v1_22 = ["gst/v1_22", "gst-sdp/v1_22", "gst-rtsp/v1_22", "gst-net/v1_22", "ffi/v1_22", "v1_20"]
|
||||
dox = ["v1_22", "ffi/dox", "glib/dox", "gio/dox", "gst/dox", "gst-sdp/dox", "gst-rtsp/dox", "gst-net/dox", "serde"]
|
||||
dox = ["ffi/dox", "glib/dox", "gio/dox", "gst/dox", "gst-sdp/dox", "gst-rtsp/dox", "gst-net/dox", "serde"]
|
||||
serde = ["dep:serde", "gst/serde", "gst-rtsp/serde"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
|
|
|
@ -32,7 +32,7 @@ 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"]
|
||||
v1_20 = ["gst/v1_20", "gst-sdp/v1_20", "ffi/v1_20", "v1_18"]
|
||||
v1_22 = ["gst/v1_22", "gst-sdp/v1_22", "ffi/v1_22", "v1_20"]
|
||||
dox = ["v1_22", "ffi/dox", "glib/dox", "gst/dox", "gst-sdp/dox", "serde"]
|
||||
dox = ["ffi/dox", "glib/dox", "gst/dox", "gst-sdp/dox", "serde"]
|
||||
serde = ["dep:serde", "gst/serde"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
|
|
|
@ -27,7 +27,7 @@ v1_16 = ["gst/v1_16", "ffi/v1_16"]
|
|||
v1_18 = ["gst/v1_18", "ffi/v1_18", "v1_16"]
|
||||
v1_20 = ["gst/v1_20", "ffi/v1_20", "v1_18"]
|
||||
v1_22 = ["gst/v1_22", "ffi/v1_22", "v1_20"]
|
||||
dox = ["v1_22", "ffi/dox", "glib/dox", "gst/dox"]
|
||||
dox = ["ffi/dox", "glib/dox", "gst/dox"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
features = ["dox"]
|
||||
|
|
|
@ -9,5 +9,7 @@ external_libraries = [
|
|||
"GLib",
|
||||
"Gio",
|
||||
"GObject",
|
||||
"GStreamer",
|
||||
]
|
||||
|
||||
[external_libraries]
|
||||
gstreamer="Gst"
|
||||
|
|
|
@ -36,7 +36,7 @@ v1_16 = ["gst/v1_16", "gst-base/v1_16", "ffi/v1_16"]
|
|||
v1_18 = ["gst/v1_18", "gst-base/v1_18", "ffi/v1_18", "v1_16"]
|
||||
v1_20 = ["gst/v1_20", "gst-base/v1_20", "ffi/v1_20", "v1_18"]
|
||||
v1_22 = ["gst/v1_22", "gst-base/v1_22", "ffi/v1_22", "v1_20"]
|
||||
dox = ["v1_22", "ffi/dox", "glib/dox", "gst/dox", "gst-base/dox", "serde"]
|
||||
dox = ["ffi/dox", "glib/dox", "gst/dox", "gst-base/dox", "serde"]
|
||||
serde = ["dep:serde", "gst/serde"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
|
|
|
@ -78,7 +78,7 @@ impl<T: NavigationImpl> NavigationImplExt for T {
|
|||
}
|
||||
|
||||
unsafe impl<T: NavigationImpl> IsImplementable<T> for Navigation {
|
||||
#[cfg(not(feature = "v1_22"))]
|
||||
#[cfg(not(any(feature = "v1_22", feature = "dox")))]
|
||||
fn interface_init(iface: &mut glib::Interface<Self>) {
|
||||
let iface = iface.as_mut();
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ v1_16 = ["gst/v1_16", "gst-sdp/v1_16", "ffi/v1_16", "v1_14_1"]
|
|||
v1_18 = ["gst/v1_18", "gst-sdp/v1_18", "ffi/v1_18", "v1_16"]
|
||||
v1_20 = ["gst/v1_20", "gst-sdp/v1_20", "ffi/v1_20", "v1_18"]
|
||||
v1_22 = ["gst/v1_22", "gst-sdp/v1_22", "ffi/v1_22", "v1_20"]
|
||||
dox = ["v1_22", "ffi/dox", "glib/dox", "gst/dox", "gst-sdp/dox"]
|
||||
dox = ["ffi/dox", "glib/dox", "gst/dox", "gst-sdp/dox"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
features = ["dox"]
|
||||
|
|
|
@ -45,7 +45,7 @@ v1_16 = ["ffi/v1_16"]
|
|||
v1_18 = ["ffi/v1_18", "v1_16"]
|
||||
v1_20 = ["ffi/v1_20", "v1_18"]
|
||||
v1_22 = ["ffi/v1_22", "v1_20"]
|
||||
dox = ["v1_22", "ffi/dox", "glib/dox", "serde"]
|
||||
dox = ["ffi/dox", "glib/dox", "serde"]
|
||||
serde = ["num-rational/serde", "dep:serde", "serde_bytes"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
|
|
Loading…
Reference in a new issue