forked from mirrors/gstreamer-rs
Improve features selection in Cargo.toml
All dependencies now also are compiled with the same version feature as the crate itself, allowing for more caching of build results by cargo.
This commit is contained in:
parent
f8cebe8aa9
commit
da9db6b80d
16 changed files with 113 additions and 106 deletions
|
@ -18,14 +18,14 @@ shell-words = "0.1.0"
|
|||
tempdir = "0.3"
|
||||
|
||||
[features]
|
||||
v1_2 = []
|
||||
v1_4 = ["v1_2"]
|
||||
v1_6 = ["v1_4"]
|
||||
v1_8 = ["v1_6"]
|
||||
v1_10 = ["v1_8"]
|
||||
v1_12 = ["v1_10"]
|
||||
v1_14 = ["v1_12"]
|
||||
v1_16 = ["v1_14"]
|
||||
v1_2 = ["gstreamer-sys/v1_2", "gstreamer-base-sys/v1_2"]
|
||||
v1_4 = ["v1_2", "gstreamer-sys/v1_4", "gstreamer-base-sys/v1_4"]
|
||||
v1_6 = ["v1_4", "gstreamer-sys/v1_6", "gstreamer-base-sys/v1_6"]
|
||||
v1_8 = ["v1_6", "gstreamer-sys/v1_8", "gstreamer-base-sys/v1_8"]
|
||||
v1_10 = ["v1_8", "gstreamer-sys/v1_10", "gstreamer-base-sys/v1_10"]
|
||||
v1_12 = ["v1_10", "gstreamer-sys/v1_12", "gstreamer-base-sys/v1_12"]
|
||||
v1_14 = ["v1_12", "gstreamer-sys/v1_14", "gstreamer-base-sys/v1_14"]
|
||||
v1_16 = ["v1_14", "gstreamer-sys/v1_16", "gstreamer-base-sys/v1_16"]
|
||||
dox = []
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -21,14 +21,14 @@ shell-words = "0.1.0"
|
|||
tempdir = "0.3"
|
||||
|
||||
[features]
|
||||
v1_2 = []
|
||||
v1_4 = ["v1_2"]
|
||||
v1_6 = ["v1_4"]
|
||||
v1_8 = ["v1_6"]
|
||||
v1_10 = ["v1_8"]
|
||||
v1_12 = ["v1_10"]
|
||||
v1_14 = ["v1_12"]
|
||||
v1_16 = ["v1_14"]
|
||||
v1_2 = ["gstreamer-sys/v1_2", "gstreamer-base-sys/v1_2"]
|
||||
v1_4 = ["v1_2", "gstreamer-sys/v1_4", "gstreamer-base-sys/v1_4"]
|
||||
v1_6 = ["v1_4", "gstreamer-sys/v1_6", "gstreamer-base-sys/v1_6"]
|
||||
v1_8 = ["v1_6", "gstreamer-sys/v1_8", "gstreamer-base-sys/v1_8"]
|
||||
v1_10 = ["v1_8", "gstreamer-sys/v1_10", "gstreamer-base-sys/v1_10"]
|
||||
v1_12 = ["v1_10", "gstreamer-sys/v1_12", "gstreamer-base-sys/v1_12"]
|
||||
v1_14 = ["v1_12", "gstreamer-sys/v1_14", "gstreamer-base-sys/v1_14"]
|
||||
v1_16 = ["v1_14", "gstreamer-sys/v1_16", "gstreamer-base-sys/v1_16"]
|
||||
dox = []
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -19,17 +19,17 @@ tempdir = "0.3"
|
|||
|
||||
[features]
|
||||
v1_0_1 = []
|
||||
v1_2 = ["v1_0_1"]
|
||||
v1_4 = ["v1_2"]
|
||||
v1_6 = ["v1_4"]
|
||||
v1_8 = ["v1_6"]
|
||||
v1_10 = ["v1_8"]
|
||||
v1_12 = ["v1_10"]
|
||||
v1_2 = ["v1_0_1", "gstreamer-sys/v1_2"]
|
||||
v1_4 = ["v1_2", "gstreamer-sys/v1_4"]
|
||||
v1_6 = ["v1_4", "gstreamer-sys/v1_6"]
|
||||
v1_8 = ["v1_6", "gstreamer-sys/v1_8"]
|
||||
v1_10 = ["v1_8", "gstreamer-sys/v1_10"]
|
||||
v1_12 = ["v1_10", "gstreamer-sys/v1_12"]
|
||||
v1_12_1 = ["v1_12"]
|
||||
v1_14 = ["v1_12_1"]
|
||||
v1_14 = ["v1_12_1", "gstreamer-sys/v1_14"]
|
||||
v1_14_1 = ["v1_14"]
|
||||
v1_14_3 = ["v1_14_1"]
|
||||
v1_16 = ["v1_14_3"]
|
||||
v1_16 = ["v1_14_3", "gstreamer-sys/v1_16"]
|
||||
dox = []
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -19,14 +19,14 @@ tempdir = "0.3"
|
|||
|
||||
[features]
|
||||
dox = []
|
||||
v1_2 = []
|
||||
v1_4 = ["v1_2"]
|
||||
v1_6 = ["v1_4"]
|
||||
v1_8 = ["v1_6"]
|
||||
v1_10 = ["v1_8"]
|
||||
v1_12 = ["v1_10"]
|
||||
v1_14 = ["v1_12"]
|
||||
v1_16 = ["v1_14"]
|
||||
v1_2 = ["gstreamer-sys/v1_2"]
|
||||
v1_4 = ["v1_2", "gstreamer-sys/v1_4"]
|
||||
v1_6 = ["v1_4", "gstreamer-sys/v1_6"]
|
||||
v1_8 = ["v1_6", "gstreamer-sys/v1_8"]
|
||||
v1_10 = ["v1_8", "gstreamer-sys/v1_10"]
|
||||
v1_12 = ["v1_10", "gstreamer-sys/v1_12"]
|
||||
v1_14 = ["v1_12", "gstreamer-sys/v1_14"]
|
||||
v1_16 = ["v1_14", "gstreamer-sys/v1_16"]
|
||||
|
||||
[lib]
|
||||
name = "gstreamer_check_sys"
|
||||
|
|
|
@ -28,12 +28,12 @@ tempdir = "0.3"
|
|||
|
||||
[features]
|
||||
dox = []
|
||||
v1_6 = []
|
||||
v1_8 = ["v1_6"]
|
||||
v1_10 = ["v1_8"]
|
||||
v1_12 = ["v1_10"]
|
||||
v1_14 = ["v1_12"]
|
||||
v1_16 = ["v1_14"]
|
||||
v1_6 = ["gstreamer-sys/v1_6", "gstreamer-base-sys/v1_6", "gstreamer-pbutils-sys/v1_6"]
|
||||
v1_8 = ["v1_6", "gstreamer-sys/v1_8", "gstreamer-base-sys/v1_8", "gstreamer-pbutils-sys/v1_8"]
|
||||
v1_10 = ["v1_8", "gstreamer-sys/v1_10", "gstreamer-base-sys/v1_10", "gstreamer-pbutils-sys/v1_10"]
|
||||
v1_12 = ["v1_10", "gstreamer-sys/v1_12", "gstreamer-base-sys/v1_12", "gstreamer-pbutils-sys/v1_12"]
|
||||
v1_14 = ["v1_12", "gstreamer-sys/v1_14", "gstreamer-base-sys/v1_14", "gstreamer-pbutils-sys/v1_14"]
|
||||
v1_16 = ["v1_14", "gstreamer-sys/v1_16", "gstreamer-base-sys/v1_16", "gstreamer-pbutils-sys/v1_16"]
|
||||
|
||||
[lib]
|
||||
name = "gstreamer_editing_services_sys"
|
||||
|
|
|
@ -12,12 +12,15 @@ git = "https://github.com/gtk-rs/sys"
|
|||
|
||||
[dependencies.gstreamer-base-sys]
|
||||
path = "../gstreamer-base-sys"
|
||||
features = ["v1_14"]
|
||||
|
||||
[dependencies.gstreamer-sys]
|
||||
path = "../gstreamer-sys"
|
||||
features = ["v1_14"]
|
||||
|
||||
[dependencies.gstreamer-video-sys]
|
||||
path = "../gstreamer-video-sys"
|
||||
features = ["v1_14"]
|
||||
|
||||
[dev-dependencies]
|
||||
shell-words = "0.1.0"
|
||||
|
@ -28,7 +31,7 @@ dox = []
|
|||
egl = []
|
||||
x11 = []
|
||||
wayland = []
|
||||
v1_16 = []
|
||||
v1_16 = ["gstreamer-sys/v1_16", "gstreamer-base-sys/v1_16", "gstreamer-video-sys/v1_16"]
|
||||
|
||||
[lib]
|
||||
name = "gstreamer_gl_sys"
|
||||
|
|
|
@ -21,14 +21,14 @@ shell-words = "0.1.0"
|
|||
tempdir = "0.3"
|
||||
|
||||
[features]
|
||||
v1_2 = []
|
||||
v1_4 = ["v1_2"]
|
||||
v1_6 = ["v1_4"]
|
||||
v1_8 = ["v1_6"]
|
||||
v1_10 = ["v1_8"]
|
||||
v1_12 = ["v1_10"]
|
||||
v1_14 = ["v1_12"]
|
||||
v1_16 = ["v1_14"]
|
||||
v1_2 = ["gstreamer-sys/v1_2", "gstreamer-base-sys/v1_2"]
|
||||
v1_4 = ["v1_2", "gstreamer-sys/v1_4", "gstreamer-base-sys/v1_4"]
|
||||
v1_6 = ["v1_4", "gstreamer-sys/v1_6", "gstreamer-base-sys/v1_6"]
|
||||
v1_8 = ["v1_6", "gstreamer-sys/v1_8", "gstreamer-base-sys/v1_8"]
|
||||
v1_10 = ["v1_8", "gstreamer-sys/v1_10", "gstreamer-base-sys/v1_10"]
|
||||
v1_12 = ["v1_10", "gstreamer-sys/v1_12", "gstreamer-base-sys/v1_12"]
|
||||
v1_14 = ["v1_12", "gstreamer-sys/v1_14", "gstreamer-base-sys/v1_14"]
|
||||
v1_16 = ["v1_14", "gstreamer-sys/v1_16", "gstreamer-base-sys/v1_16"]
|
||||
dox = []
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -21,14 +21,14 @@ shell-words = "0.1.0"
|
|||
tempdir = "0.3"
|
||||
|
||||
[features]
|
||||
v1_2 = []
|
||||
v1_4 = ["v1_2"]
|
||||
v1_6 = ["v1_4"]
|
||||
v1_8 = ["v1_6"]
|
||||
v1_10 = ["v1_8"]
|
||||
v1_12 = ["v1_10"]
|
||||
v1_14 = ["v1_12"]
|
||||
v1_16 = ["v1_14"]
|
||||
v1_2 = ["gstreamer-sys/v1_2"]
|
||||
v1_4 = ["v1_2", "gstreamer-sys/v1_4"]
|
||||
v1_6 = ["v1_4", "gstreamer-sys/v1_6"]
|
||||
v1_8 = ["v1_6", "gstreamer-sys/v1_8"]
|
||||
v1_10 = ["v1_8", "gstreamer-sys/v1_10"]
|
||||
v1_12 = ["v1_10", "gstreamer-sys/v1_12"]
|
||||
v1_14 = ["v1_12", "gstreamer-sys/v1_14"]
|
||||
v1_16 = ["v1_14", "gstreamer-sys/v1_16"]
|
||||
dox = []
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -24,14 +24,14 @@ shell-words = "0.1.0"
|
|||
tempdir = "0.3"
|
||||
|
||||
[features]
|
||||
v1_2 = []
|
||||
v1_4 = ["v1_2"]
|
||||
v1_6 = ["v1_4"]
|
||||
v1_8 = ["v1_6"]
|
||||
v1_10 = ["v1_8"]
|
||||
v1_12 = ["v1_10"]
|
||||
v1_14 = ["v1_12"]
|
||||
v1_16 = ["v1_14"]
|
||||
v1_2 = ["gstreamer-sys/v1_2", "gstreamer-audio-sys/v1_2", "gstreamer-video-sys/v1_2"]
|
||||
v1_4 = ["v1_2", "gstreamer-sys/v1_4", "gstreamer-audio-sys/v1_4", "gstreamer-video-sys/v1_4"]
|
||||
v1_6 = ["v1_4", "gstreamer-sys/v1_6", "gstreamer-audio-sys/v1_6", "gstreamer-video-sys/v1_6"]
|
||||
v1_8 = ["v1_6", "gstreamer-sys/v1_8", "gstreamer-audio-sys/v1_8", "gstreamer-video-sys/v1_8"]
|
||||
v1_10 = ["v1_8", "gstreamer-sys/v1_10", "gstreamer-audio-sys/v1_10", "gstreamer-video-sys/v1_10"]
|
||||
v1_12 = ["v1_10", "gstreamer-sys/v1_12", "gstreamer-audio-sys/v1_12", "gstreamer-video-sys/v1_12"]
|
||||
v1_14 = ["v1_12", "gstreamer-sys/v1_14", "gstreamer-audio-sys/v1_14", "gstreamer-video-sys/v1_14"]
|
||||
v1_16 = ["v1_14", "gstreamer-sys/v1_16", "gstreamer-audio-sys/v1_16", "gstreamer-video-sys/v1_16"]
|
||||
dox = []
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -12,18 +12,19 @@ git = "https://github.com/gtk-rs/sys"
|
|||
|
||||
[dependencies.gstreamer-sys]
|
||||
path = "../gstreamer-sys"
|
||||
features = ["v1_12"]
|
||||
|
||||
[dependencies.gstreamer-video-sys]
|
||||
path = "../gstreamer-video-sys"
|
||||
features = ["v1_12"]
|
||||
|
||||
[dev-dependencies]
|
||||
shell-words = "0.1.0"
|
||||
tempdir = "0.3"
|
||||
|
||||
[features]
|
||||
v1_12 = []
|
||||
v1_14 = ["v1_12"]
|
||||
v1_16 = ["v1_14"]
|
||||
v1_14 = ["gstreamer-sys/v1_14", "gstreamer-video-sys/v1_14"]
|
||||
v1_16 = ["v1_14", "gstreamer-sys/v1_16", "gstreamer-video-sys/v1_16"]
|
||||
dox = []
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -31,13 +31,14 @@ tempdir = "0.3"
|
|||
|
||||
[features]
|
||||
dox = []
|
||||
v1_4 = []
|
||||
v1_6 = ["v1_4"]
|
||||
v1_8 = ["v1_6"]
|
||||
v1_10 = ["v1_8"]
|
||||
v1_12 = ["v1_10"]
|
||||
v1_14 = ["v1_12"]
|
||||
v1_16 = ["v1_14"]
|
||||
v1_2 = ["gstreamer-sys/v1_2", "gstreamer-net-sys/v1_2", "gstreamer-rtsp-sys/v1_2", "gstreamer-sdp-sys/v1_2"]
|
||||
v1_4 = ["v1_2", "gstreamer-sys/v1_4", "gstreamer-net-sys/v1_4", "gstreamer-rtsp-sys/v1_4", "gstreamer-sdp-sys/v1_4"]
|
||||
v1_6 = ["v1_4", "gstreamer-sys/v1_6", "gstreamer-net-sys/v1_6", "gstreamer-rtsp-sys/v1_6", "gstreamer-sdp-sys/v1_6"]
|
||||
v1_8 = ["v1_6", "gstreamer-sys/v1_8", "gstreamer-net-sys/v1_8", "gstreamer-rtsp-sys/v1_8", "gstreamer-sdp-sys/v1_8"]
|
||||
v1_10 = ["v1_8", "gstreamer-sys/v1_10", "gstreamer-net-sys/v1_10", "gstreamer-rtsp-sys/v1_10", "gstreamer-sdp-sys/v1_10"]
|
||||
v1_12 = ["v1_10", "gstreamer-sys/v1_12", "gstreamer-net-sys/v1_12", "gstreamer-rtsp-sys/v1_12", "gstreamer-sdp-sys/v1_12"]
|
||||
v1_14 = ["v1_12", "gstreamer-sys/v1_14", "gstreamer-net-sys/v1_14", "gstreamer-rtsp-sys/v1_14", "gstreamer-sdp-sys/v1_14"]
|
||||
v1_16 = ["v1_14", "gstreamer-sys/v1_16", "gstreamer-net-sys/v1_16", "gstreamer-rtsp-sys/v1_16", "gstreamer-sdp-sys/v1_16"]
|
||||
|
||||
[lib]
|
||||
name = "gstreamer_rtsp_server_sys"
|
||||
|
|
|
@ -25,15 +25,15 @@ tempdir = "0.3"
|
|||
|
||||
[features]
|
||||
dox = []
|
||||
v1_2 = []
|
||||
v1_2 = ["gstreamer-sys/v1_2", "gstreamer-sdp-sys/v1_2"]
|
||||
v1_2_1 = ["v1_2"]
|
||||
v1_4 = ["v1_2_1"]
|
||||
v1_6 = ["v1_4"]
|
||||
v1_8 = ["v1_6"]
|
||||
v1_10 = ["v1_8"]
|
||||
v1_12 = ["v1_10"]
|
||||
v1_14 = ["v1_12"]
|
||||
v1_16 = ["v1_14"]
|
||||
v1_4 = ["v1_2_1", "gstreamer-sys/v1_4", "gstreamer-sdp-sys/v1_4"]
|
||||
v1_6 = ["v1_4", "gstreamer-sys/v1_6", "gstreamer-sdp-sys/v1_6"]
|
||||
v1_8 = ["v1_6", "gstreamer-sys/v1_8", "gstreamer-sdp-sys/v1_8"]
|
||||
v1_10 = ["v1_8", "gstreamer-sys/v1_10", "gstreamer-sdp-sys/v1_10"]
|
||||
v1_12 = ["v1_10", "gstreamer-sys/v1_12", "gstreamer-sdp-sys/v1_12"]
|
||||
v1_14 = ["v1_12", "gstreamer-sys/v1_14", "gstreamer-sdp-sys/v1_14"]
|
||||
v1_16 = ["v1_14", "gstreamer-sys/v1_16", "gstreamer-sdp-sys/v1_16"]
|
||||
|
||||
[lib]
|
||||
name = "gstreamer_rtsp_sys"
|
||||
|
|
|
@ -19,15 +19,15 @@ tempdir = "0.3"
|
|||
|
||||
[features]
|
||||
dox = []
|
||||
v1_2 = []
|
||||
v1_4 = ["v1_2"]
|
||||
v1_6 = ["v1_4"]
|
||||
v1_8 = ["v1_4"]
|
||||
v1_2 = ["gstreamer-sys/v1_2"]
|
||||
v1_4 = ["v1_2", "gstreamer-sys/v1_4"]
|
||||
v1_6 = ["v1_4", "gstreamer-sys/v1_6"]
|
||||
v1_8 = ["v1_4", "gstreamer-sys/v1_8"]
|
||||
v1_8_1 = ["v1_8"]
|
||||
v1_10 = ["v1_8_1"]
|
||||
v1_12 = ["v1_10"]
|
||||
v1_14 = ["v1_12"]
|
||||
v1_16 = ["v1_14"]
|
||||
v1_10 = ["v1_8_1", "gstreamer-sys/v1_10"]
|
||||
v1_12 = ["v1_10", "gstreamer-sys/v1_12"]
|
||||
v1_14 = ["v1_12", "gstreamer-sys/v1_14"]
|
||||
v1_16 = ["v1_14", "gstreamer-sys/v1_16"]
|
||||
|
||||
[lib]
|
||||
name = "gstreamer_sdp_sys"
|
||||
|
|
|
@ -21,14 +21,14 @@ shell-words = "0.1.0"
|
|||
tempdir = "0.3"
|
||||
|
||||
[features]
|
||||
v1_2 = []
|
||||
v1_4 = ["v1_2"]
|
||||
v1_6 = ["v1_4"]
|
||||
v1_8 = ["v1_6"]
|
||||
v1_10 = ["v1_8"]
|
||||
v1_12 = ["v1_10"]
|
||||
v1_14 = ["v1_12"]
|
||||
v1_16 = ["v1_14"]
|
||||
v1_2 = ["gstreamer-sys/v1_2", "gstreamer-base-sys/v1_2"]
|
||||
v1_4 = ["v1_2", "gstreamer-sys/v1_4", "gstreamer-base-sys/v1_4"]
|
||||
v1_6 = ["v1_4", "gstreamer-sys/v1_6", "gstreamer-base-sys/v1_6"]
|
||||
v1_8 = ["v1_6", "gstreamer-sys/v1_8", "gstreamer-base-sys/v1_8"]
|
||||
v1_10 = ["v1_8", "gstreamer-sys/v1_10", "gstreamer-base-sys/v1_10"]
|
||||
v1_12 = ["v1_10", "gstreamer-sys/v1_12", "gstreamer-base-sys/v1_12"]
|
||||
v1_14 = ["v1_12", "gstreamer-sys/v1_14", "gstreamer-base-sys/v1_14"]
|
||||
v1_16 = ["v1_14", "gstreamer-sys/v1_16", "gstreamer-base-sys/v1_16"]
|
||||
dox = []
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -22,15 +22,15 @@ tempdir = "0.3"
|
|||
|
||||
[features]
|
||||
v1_0_3 = []
|
||||
v1_2 = ["v1_0_3"]
|
||||
v1_2 = ["v1_0_3", "gstreamer-sys/v1_2", "gstreamer-base-sys/v1_2"]
|
||||
v1_2_2 = ["v1_2"]
|
||||
v1_4 = ["v1_2_2"]
|
||||
v1_6 = ["v1_4"]
|
||||
v1_8 = ["v1_6"]
|
||||
v1_10 = ["v1_8"]
|
||||
v1_12 = ["v1_10"]
|
||||
v1_14 = ["v1_12"]
|
||||
v1_16 = ["v1_14"]
|
||||
v1_4 = ["v1_2_2", "gstreamer-sys/v1_4", "gstreamer-base-sys/v1_4"]
|
||||
v1_6 = ["v1_4", "gstreamer-sys/v1_6", "gstreamer-base-sys/v1_6"]
|
||||
v1_8 = ["v1_6", "gstreamer-sys/v1_8", "gstreamer-base-sys/v1_8"]
|
||||
v1_10 = ["v1_8", "gstreamer-sys/v1_10", "gstreamer-base-sys/v1_10"]
|
||||
v1_12 = ["v1_10", "gstreamer-sys/v1_12", "gstreamer-base-sys/v1_12"]
|
||||
v1_14 = ["v1_12", "gstreamer-sys/v1_14", "gstreamer-base-sys/v1_14"]
|
||||
v1_16 = ["v1_14", "gstreamer-sys/v1_16", "gstreamer-base-sys/v1_16"]
|
||||
dox = []
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -12,9 +12,11 @@ git = "https://github.com/gtk-rs/sys"
|
|||
|
||||
[dependencies.gstreamer-sdp-sys]
|
||||
path = "../gstreamer-sdp-sys"
|
||||
features = ["v1_14"]
|
||||
|
||||
[dependencies.gstreamer-sys]
|
||||
path = "../gstreamer-sys"
|
||||
features = ["v1_14"]
|
||||
|
||||
[dev-dependencies]
|
||||
shell-words = "0.1.0"
|
||||
|
@ -22,7 +24,7 @@ tempdir = "0.3"
|
|||
|
||||
[features]
|
||||
dox = []
|
||||
v1_16 = []
|
||||
v1_16 = ["gstreamer-sys/v1_16", "gstreamer-sdp-sys/v1_16"]
|
||||
|
||||
[lib]
|
||||
name = "gstreamer_webrtc_sys"
|
||||
|
|
Loading…
Reference in a new issue