Commit da9db6b8 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

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.
parent f8cebe8a
Pipeline #68262 passed with stages
in 12 minutes and 2 seconds
...@@ -18,14 +18,14 @@ shell-words = "0.1.0" ...@@ -18,14 +18,14 @@ shell-words = "0.1.0"
tempdir = "0.3" tempdir = "0.3"
[features] [features]
v1_2 = [] v1_2 = ["gstreamer-sys/v1_2", "gstreamer-base-sys/v1_2"]
v1_4 = ["v1_2"] v1_4 = ["v1_2", "gstreamer-sys/v1_4", "gstreamer-base-sys/v1_4"]
v1_6 = ["v1_4"] v1_6 = ["v1_4", "gstreamer-sys/v1_6", "gstreamer-base-sys/v1_6"]
v1_8 = ["v1_6"] v1_8 = ["v1_6", "gstreamer-sys/v1_8", "gstreamer-base-sys/v1_8"]
v1_10 = ["v1_8"] v1_10 = ["v1_8", "gstreamer-sys/v1_10", "gstreamer-base-sys/v1_10"]
v1_12 = ["v1_10"] v1_12 = ["v1_10", "gstreamer-sys/v1_12", "gstreamer-base-sys/v1_12"]
v1_14 = ["v1_12"] v1_14 = ["v1_12", "gstreamer-sys/v1_14", "gstreamer-base-sys/v1_14"]
v1_16 = ["v1_14"] v1_16 = ["v1_14", "gstreamer-sys/v1_16", "gstreamer-base-sys/v1_16"]
dox = [] dox = []
[lib] [lib]
......
...@@ -21,14 +21,14 @@ shell-words = "0.1.0" ...@@ -21,14 +21,14 @@ shell-words = "0.1.0"
tempdir = "0.3" tempdir = "0.3"
[features] [features]
v1_2 = [] v1_2 = ["gstreamer-sys/v1_2", "gstreamer-base-sys/v1_2"]
v1_4 = ["v1_2"] v1_4 = ["v1_2", "gstreamer-sys/v1_4", "gstreamer-base-sys/v1_4"]
v1_6 = ["v1_4"] v1_6 = ["v1_4", "gstreamer-sys/v1_6", "gstreamer-base-sys/v1_6"]
v1_8 = ["v1_6"] v1_8 = ["v1_6", "gstreamer-sys/v1_8", "gstreamer-base-sys/v1_8"]
v1_10 = ["v1_8"] v1_10 = ["v1_8", "gstreamer-sys/v1_10", "gstreamer-base-sys/v1_10"]
v1_12 = ["v1_10"] v1_12 = ["v1_10", "gstreamer-sys/v1_12", "gstreamer-base-sys/v1_12"]
v1_14 = ["v1_12"] v1_14 = ["v1_12", "gstreamer-sys/v1_14", "gstreamer-base-sys/v1_14"]
v1_16 = ["v1_14"] v1_16 = ["v1_14", "gstreamer-sys/v1_16", "gstreamer-base-sys/v1_16"]
dox = [] dox = []
[lib] [lib]
......
...@@ -19,17 +19,17 @@ tempdir = "0.3" ...@@ -19,17 +19,17 @@ tempdir = "0.3"
[features] [features]
v1_0_1 = [] v1_0_1 = []
v1_2 = ["v1_0_1"] v1_2 = ["v1_0_1", "gstreamer-sys/v1_2"]
v1_4 = ["v1_2"] v1_4 = ["v1_2", "gstreamer-sys/v1_4"]
v1_6 = ["v1_4"] v1_6 = ["v1_4", "gstreamer-sys/v1_6"]
v1_8 = ["v1_6"] v1_8 = ["v1_6", "gstreamer-sys/v1_8"]
v1_10 = ["v1_8"] v1_10 = ["v1_8", "gstreamer-sys/v1_10"]
v1_12 = ["v1_10"] v1_12 = ["v1_10", "gstreamer-sys/v1_12"]
v1_12_1 = ["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_1 = ["v1_14"]
v1_14_3 = ["v1_14_1"] v1_14_3 = ["v1_14_1"]
v1_16 = ["v1_14_3"] v1_16 = ["v1_14_3", "gstreamer-sys/v1_16"]
dox = [] dox = []
[lib] [lib]
......
...@@ -19,14 +19,14 @@ tempdir = "0.3" ...@@ -19,14 +19,14 @@ tempdir = "0.3"
[features] [features]
dox = [] dox = []
v1_2 = [] v1_2 = ["gstreamer-sys/v1_2"]
v1_4 = ["v1_2"] v1_4 = ["v1_2", "gstreamer-sys/v1_4"]
v1_6 = ["v1_4"] v1_6 = ["v1_4", "gstreamer-sys/v1_6"]
v1_8 = ["v1_6"] v1_8 = ["v1_6", "gstreamer-sys/v1_8"]
v1_10 = ["v1_8"] v1_10 = ["v1_8", "gstreamer-sys/v1_10"]
v1_12 = ["v1_10"] v1_12 = ["v1_10", "gstreamer-sys/v1_12"]
v1_14 = ["v1_12"] v1_14 = ["v1_12", "gstreamer-sys/v1_14"]
v1_16 = ["v1_14"] v1_16 = ["v1_14", "gstreamer-sys/v1_16"]
[lib] [lib]
name = "gstreamer_check_sys" name = "gstreamer_check_sys"
......
...@@ -28,12 +28,12 @@ tempdir = "0.3" ...@@ -28,12 +28,12 @@ tempdir = "0.3"
[features] [features]
dox = [] dox = []
v1_6 = [] v1_6 = ["gstreamer-sys/v1_6", "gstreamer-base-sys/v1_6", "gstreamer-pbutils-sys/v1_6"]
v1_8 = ["v1_6"] v1_8 = ["v1_6", "gstreamer-sys/v1_8", "gstreamer-base-sys/v1_8", "gstreamer-pbutils-sys/v1_8"]
v1_10 = ["v1_8"] v1_10 = ["v1_8", "gstreamer-sys/v1_10", "gstreamer-base-sys/v1_10", "gstreamer-pbutils-sys/v1_10"]
v1_12 = ["v1_10"] v1_12 = ["v1_10", "gstreamer-sys/v1_12", "gstreamer-base-sys/v1_12", "gstreamer-pbutils-sys/v1_12"]
v1_14 = ["v1_12"] v1_14 = ["v1_12", "gstreamer-sys/v1_14", "gstreamer-base-sys/v1_14", "gstreamer-pbutils-sys/v1_14"]
v1_16 = ["v1_14"] v1_16 = ["v1_14", "gstreamer-sys/v1_16", "gstreamer-base-sys/v1_16", "gstreamer-pbutils-sys/v1_16"]
[lib] [lib]
name = "gstreamer_editing_services_sys" name = "gstreamer_editing_services_sys"
......
...@@ -12,12 +12,15 @@ git = "https://github.com/gtk-rs/sys" ...@@ -12,12 +12,15 @@ git = "https://github.com/gtk-rs/sys"
[dependencies.gstreamer-base-sys] [dependencies.gstreamer-base-sys]
path = "../gstreamer-base-sys" path = "../gstreamer-base-sys"
features = ["v1_14"]
[dependencies.gstreamer-sys] [dependencies.gstreamer-sys]
path = "../gstreamer-sys" path = "../gstreamer-sys"
features = ["v1_14"]
[dependencies.gstreamer-video-sys] [dependencies.gstreamer-video-sys]
path = "../gstreamer-video-sys" path = "../gstreamer-video-sys"
features = ["v1_14"]
[dev-dependencies] [dev-dependencies]
shell-words = "0.1.0" shell-words = "0.1.0"
...@@ -28,7 +31,7 @@ dox = [] ...@@ -28,7 +31,7 @@ dox = []
egl = [] egl = []
x11 = [] x11 = []
wayland = [] wayland = []
v1_16 = [] v1_16 = ["gstreamer-sys/v1_16", "gstreamer-base-sys/v1_16", "gstreamer-video-sys/v1_16"]
[lib] [lib]
name = "gstreamer_gl_sys" name = "gstreamer_gl_sys"
......
...@@ -21,14 +21,14 @@ shell-words = "0.1.0" ...@@ -21,14 +21,14 @@ shell-words = "0.1.0"
tempdir = "0.3" tempdir = "0.3"
[features] [features]
v1_2 = [] v1_2 = ["gstreamer-sys/v1_2", "gstreamer-base-sys/v1_2"]
v1_4 = ["v1_2"] v1_4 = ["v1_2", "gstreamer-sys/v1_4", "gstreamer-base-sys/v1_4"]
v1_6 = ["v1_4"] v1_6 = ["v1_4", "gstreamer-sys/v1_6", "gstreamer-base-sys/v1_6"]
v1_8 = ["v1_6"] v1_8 = ["v1_6", "gstreamer-sys/v1_8", "gstreamer-base-sys/v1_8"]
v1_10 = ["v1_8"] v1_10 = ["v1_8", "gstreamer-sys/v1_10", "gstreamer-base-sys/v1_10"]
v1_12 = ["v1_10"] v1_12 = ["v1_10", "gstreamer-sys/v1_12", "gstreamer-base-sys/v1_12"]
v1_14 = ["v1_12"] v1_14 = ["v1_12", "gstreamer-sys/v1_14", "gstreamer-base-sys/v1_14"]
v1_16 = ["v1_14"] v1_16 = ["v1_14", "gstreamer-sys/v1_16", "gstreamer-base-sys/v1_16"]
dox = [] dox = []
[lib] [lib]
......
...@@ -21,14 +21,14 @@ shell-words = "0.1.0" ...@@ -21,14 +21,14 @@ shell-words = "0.1.0"
tempdir = "0.3" tempdir = "0.3"
[features] [features]
v1_2 = [] v1_2 = ["gstreamer-sys/v1_2"]
v1_4 = ["v1_2"] v1_4 = ["v1_2", "gstreamer-sys/v1_4"]
v1_6 = ["v1_4"] v1_6 = ["v1_4", "gstreamer-sys/v1_6"]
v1_8 = ["v1_6"] v1_8 = ["v1_6", "gstreamer-sys/v1_8"]
v1_10 = ["v1_8"] v1_10 = ["v1_8", "gstreamer-sys/v1_10"]
v1_12 = ["v1_10"] v1_12 = ["v1_10", "gstreamer-sys/v1_12"]
v1_14 = ["v1_12"] v1_14 = ["v1_12", "gstreamer-sys/v1_14"]
v1_16 = ["v1_14"] v1_16 = ["v1_14", "gstreamer-sys/v1_16"]
dox = [] dox = []
[lib] [lib]
......
...@@ -24,14 +24,14 @@ shell-words = "0.1.0" ...@@ -24,14 +24,14 @@ shell-words = "0.1.0"
tempdir = "0.3" tempdir = "0.3"
[features] [features]
v1_2 = [] v1_2 = ["gstreamer-sys/v1_2", "gstreamer-audio-sys/v1_2", "gstreamer-video-sys/v1_2"]
v1_4 = ["v1_2"] v1_4 = ["v1_2", "gstreamer-sys/v1_4", "gstreamer-audio-sys/v1_4", "gstreamer-video-sys/v1_4"]
v1_6 = ["v1_4"] v1_6 = ["v1_4", "gstreamer-sys/v1_6", "gstreamer-audio-sys/v1_6", "gstreamer-video-sys/v1_6"]
v1_8 = ["v1_6"] v1_8 = ["v1_6", "gstreamer-sys/v1_8", "gstreamer-audio-sys/v1_8", "gstreamer-video-sys/v1_8"]
v1_10 = ["v1_8"] v1_10 = ["v1_8", "gstreamer-sys/v1_10", "gstreamer-audio-sys/v1_10", "gstreamer-video-sys/v1_10"]
v1_12 = ["v1_10"] v1_12 = ["v1_10", "gstreamer-sys/v1_12", "gstreamer-audio-sys/v1_12", "gstreamer-video-sys/v1_12"]
v1_14 = ["v1_12"] v1_14 = ["v1_12", "gstreamer-sys/v1_14", "gstreamer-audio-sys/v1_14", "gstreamer-video-sys/v1_14"]
v1_16 = ["v1_14"] v1_16 = ["v1_14", "gstreamer-sys/v1_16", "gstreamer-audio-sys/v1_16", "gstreamer-video-sys/v1_16"]
dox = [] dox = []
[lib] [lib]
......
...@@ -12,18 +12,19 @@ git = "https://github.com/gtk-rs/sys" ...@@ -12,18 +12,19 @@ git = "https://github.com/gtk-rs/sys"
[dependencies.gstreamer-sys] [dependencies.gstreamer-sys]
path = "../gstreamer-sys" path = "../gstreamer-sys"
features = ["v1_12"]
[dependencies.gstreamer-video-sys] [dependencies.gstreamer-video-sys]
path = "../gstreamer-video-sys" path = "../gstreamer-video-sys"
features = ["v1_12"]
[dev-dependencies] [dev-dependencies]
shell-words = "0.1.0" shell-words = "0.1.0"
tempdir = "0.3" tempdir = "0.3"
[features] [features]
v1_12 = [] v1_14 = ["gstreamer-sys/v1_14", "gstreamer-video-sys/v1_14"]
v1_14 = ["v1_12"] v1_16 = ["v1_14", "gstreamer-sys/v1_16", "gstreamer-video-sys/v1_16"]
v1_16 = ["v1_14"]
dox = [] dox = []
[lib] [lib]
......
...@@ -31,13 +31,14 @@ tempdir = "0.3" ...@@ -31,13 +31,14 @@ tempdir = "0.3"
[features] [features]
dox = [] dox = []
v1_4 = [] v1_2 = ["gstreamer-sys/v1_2", "gstreamer-net-sys/v1_2", "gstreamer-rtsp-sys/v1_2", "gstreamer-sdp-sys/v1_2"]
v1_6 = ["v1_4"] v1_4 = ["v1_2", "gstreamer-sys/v1_4", "gstreamer-net-sys/v1_4", "gstreamer-rtsp-sys/v1_4", "gstreamer-sdp-sys/v1_4"]
v1_8 = ["v1_6"] v1_6 = ["v1_4", "gstreamer-sys/v1_6", "gstreamer-net-sys/v1_6", "gstreamer-rtsp-sys/v1_6", "gstreamer-sdp-sys/v1_6"]
v1_10 = ["v1_8"] v1_8 = ["v1_6", "gstreamer-sys/v1_8", "gstreamer-net-sys/v1_8", "gstreamer-rtsp-sys/v1_8", "gstreamer-sdp-sys/v1_8"]
v1_12 = ["v1_10"] v1_10 = ["v1_8", "gstreamer-sys/v1_10", "gstreamer-net-sys/v1_10", "gstreamer-rtsp-sys/v1_10", "gstreamer-sdp-sys/v1_10"]
v1_14 = ["v1_12"] v1_12 = ["v1_10", "gstreamer-sys/v1_12", "gstreamer-net-sys/v1_12", "gstreamer-rtsp-sys/v1_12", "gstreamer-sdp-sys/v1_12"]
v1_16 = ["v1_14"] 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] [lib]
name = "gstreamer_rtsp_server_sys" name = "gstreamer_rtsp_server_sys"
......
...@@ -25,15 +25,15 @@ tempdir = "0.3" ...@@ -25,15 +25,15 @@ tempdir = "0.3"
[features] [features]
dox = [] dox = []
v1_2 = [] v1_2 = ["gstreamer-sys/v1_2", "gstreamer-sdp-sys/v1_2"]
v1_2_1 = ["v1_2"] v1_2_1 = ["v1_2"]
v1_4 = ["v1_2_1"] v1_4 = ["v1_2_1", "gstreamer-sys/v1_4", "gstreamer-sdp-sys/v1_4"]
v1_6 = ["v1_4"] v1_6 = ["v1_4", "gstreamer-sys/v1_6", "gstreamer-sdp-sys/v1_6"]
v1_8 = ["v1_6"] v1_8 = ["v1_6", "gstreamer-sys/v1_8", "gstreamer-sdp-sys/v1_8"]
v1_10 = ["v1_8"] v1_10 = ["v1_8", "gstreamer-sys/v1_10", "gstreamer-sdp-sys/v1_10"]
v1_12 = ["v1_10"] v1_12 = ["v1_10", "gstreamer-sys/v1_12", "gstreamer-sdp-sys/v1_12"]
v1_14 = ["v1_12"] v1_14 = ["v1_12", "gstreamer-sys/v1_14", "gstreamer-sdp-sys/v1_14"]
v1_16 = ["v1_14"] v1_16 = ["v1_14", "gstreamer-sys/v1_16", "gstreamer-sdp-sys/v1_16"]
[lib] [lib]
name = "gstreamer_rtsp_sys" name = "gstreamer_rtsp_sys"
......
...@@ -19,15 +19,15 @@ tempdir = "0.3" ...@@ -19,15 +19,15 @@ tempdir = "0.3"
[features] [features]
dox = [] dox = []
v1_2 = [] v1_2 = ["gstreamer-sys/v1_2"]
v1_4 = ["v1_2"] v1_4 = ["v1_2", "gstreamer-sys/v1_4"]
v1_6 = ["v1_4"] v1_6 = ["v1_4", "gstreamer-sys/v1_6"]
v1_8 = ["v1_4"] v1_8 = ["v1_4", "gstreamer-sys/v1_8"]
v1_8_1 = ["v1_8"] v1_8_1 = ["v1_8"]
v1_10 = ["v1_8_1"] v1_10 = ["v1_8_1", "gstreamer-sys/v1_10"]
v1_12 = ["v1_10"] v1_12 = ["v1_10", "gstreamer-sys/v1_12"]
v1_14 = ["v1_12"] v1_14 = ["v1_12", "gstreamer-sys/v1_14"]
v1_16 = ["v1_14"] v1_16 = ["v1_14", "gstreamer-sys/v1_16"]
[lib] [lib]
name = "gstreamer_sdp_sys" name = "gstreamer_sdp_sys"
......
...@@ -21,14 +21,14 @@ shell-words = "0.1.0" ...@@ -21,14 +21,14 @@ shell-words = "0.1.0"
tempdir = "0.3" tempdir = "0.3"
[features] [features]
v1_2 = [] v1_2 = ["gstreamer-sys/v1_2", "gstreamer-base-sys/v1_2"]
v1_4 = ["v1_2"] v1_4 = ["v1_2", "gstreamer-sys/v1_4", "gstreamer-base-sys/v1_4"]
v1_6 = ["v1_4"] v1_6 = ["v1_4", "gstreamer-sys/v1_6", "gstreamer-base-sys/v1_6"]
v1_8 = ["v1_6"] v1_8 = ["v1_6", "gstreamer-sys/v1_8", "gstreamer-base-sys/v1_8"]
v1_10 = ["v1_8"] v1_10 = ["v1_8", "gstreamer-sys/v1_10", "gstreamer-base-sys/v1_10"]
v1_12 = ["v1_10"] v1_12 = ["v1_10", "gstreamer-sys/v1_12", "gstreamer-base-sys/v1_12"]
v1_14 = ["v1_12"] v1_14 = ["v1_12", "gstreamer-sys/v1_14", "gstreamer-base-sys/v1_14"]
v1_16 = ["v1_14"] v1_16 = ["v1_14", "gstreamer-sys/v1_16", "gstreamer-base-sys/v1_16"]
dox = [] dox = []
[lib] [lib]
......
...@@ -22,15 +22,15 @@ tempdir = "0.3" ...@@ -22,15 +22,15 @@ tempdir = "0.3"
[features] [features]
v1_0_3 = [] 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_2_2 = ["v1_2"]
v1_4 = ["v1_2_2"] v1_4 = ["v1_2_2", "gstreamer-sys/v1_4", "gstreamer-base-sys/v1_4"]
v1_6 = ["v1_4"] v1_6 = ["v1_4", "gstreamer-sys/v1_6", "gstreamer-base-sys/v1_6"]
v1_8 = ["v1_6"] v1_8 = ["v1_6", "gstreamer-sys/v1_8", "gstreamer-base-sys/v1_8"]
v1_10 = ["v1_8"] v1_10 = ["v1_8", "gstreamer-sys/v1_10", "gstreamer-base-sys/v1_10"]
v1_12 = ["v1_10"] v1_12 = ["v1_10", "gstreamer-sys/v1_12", "gstreamer-base-sys/v1_12"]
v1_14 = ["v1_12"] v1_14 = ["v1_12", "gstreamer-sys/v1_14", "gstreamer-base-sys/v1_14"]
v1_16 = ["v1_14"] v1_16 = ["v1_14", "gstreamer-sys/v1_16", "gstreamer-base-sys/v1_16"]
dox = [] dox = []
[lib] [lib]
......
...@@ -12,9 +12,11 @@ git = "https://github.com/gtk-rs/sys" ...@@ -12,9 +12,11 @@ git = "https://github.com/gtk-rs/sys"
[dependencies.gstreamer-sdp-sys] [dependencies.gstreamer-sdp-sys]
path = "../gstreamer-sdp-sys" path = "../gstreamer-sdp-sys"
features = ["v1_14"]
[dependencies.gstreamer-sys] [dependencies.gstreamer-sys]
path = "../gstreamer-sys" path = "../gstreamer-sys"
features = ["v1_14"]
[dev-dependencies] [dev-dependencies]
shell-words = "0.1.0" shell-words = "0.1.0"
...@@ -22,7 +24,7 @@ tempdir = "0.3" ...@@ -22,7 +24,7 @@ tempdir = "0.3"
[features] [features]
dox = [] dox = []
v1_16 = [] v1_16 = ["gstreamer-sys/v1_16", "gstreamer-sdp-sys/v1_16"]
[lib] [lib]
name = "gstreamer_webrtc_sys" name = "gstreamer_webrtc_sys"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment