Use workspace features for common deps

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1382>
This commit is contained in:
Bilal Elmoussaoui 2024-02-03 10:08:41 +01:00
parent 14ffbfbe83
commit 2dff5b8ae2
54 changed files with 246 additions and 215 deletions

View file

@ -109,3 +109,37 @@ repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
homepage = "https://gstreamer.freedesktop.org"
edition = "2021"
rust-version = "1.70"
[workspace.dependencies]
gio = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gio-sys = { git = "https://github.com/gtk-rs/gtk-rs-core" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
glib-sys = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gobject-sys = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gstreamer-audio-sys = { path = "./gstreamer-audio/sys"}
gstreamer-base-sys = { path = "./gstreamer-base/sys"}
gstreamer-gl-sys = { path = "./gstreamer-gl/sys"}
gstreamer-net-sys = { path = "./gstreamer-net/sys"}
gstreamer-pbutils-sys = { path = "./gstreamer-pbutils/sys"}
gstreamer-rtsp-sys = { path = "./gstreamer-rtsp/sys"}
gstreamer-sdp-sys = { path = "./gstreamer-sdp/sys"}
gstreamer-sys = { path = "./gstreamer/sys"}
gstreamer-video-sys = { path = "./gstreamer-video/sys"}
ges = { package = "gstreamer-editing-services", path = "./gstreamer-editing-services" }
gst = { package = "gstreamer", path = "./gstreamer" }
gst-allocators = { package = "gstreamer-allocators", path = "./gstreamer-allocators" }
gst-app = { package = "gstreamer-app", path = "./gstreamer-app" }
gst-audio = { package = "gstreamer-audio", path = "./gstreamer-audio" }
gst-base = { package = "gstreamer-base", path = "./gstreamer-base" }
gst-check = { package = "gstreamer-check", path = "./gstreamer-check" }
gst-gl = { package = "gstreamer-gl", path = "./gstreamer-gl" }
gst-gl-egl = { package = "gstreamer-gl-egl", path = "./gstreamer-gl/egl" }
gst-gl-x11 = { package = "gstreamer-gl-x11", path = "./gstreamer-gl/x11" }
gst-net = { package = "gstreamer-net", path = "./gstreamer-net" }
gst-pbutils = { package = "gstreamer-pbutils", path = "./gstreamer-pbutils" }
gst-play = { package = "gstreamer-play", path = "./gstreamer-play" }
gst-player = { package = "gstreamer-player", path = "./gstreamer-player" }
gst-rtsp = { package = "gstreamer-rtsp", path = "./gstreamer-rtsp" }
gst-rtsp-server = { package = "gstreamer-rtsp-server", path = "./gstreamer-rtsp-server" }
gst-sdp = { package = "gstreamer-sdp", path = "./gstreamer-sdp" }
gst-video = { package = "gstreamer-video", path = "./gstreamer-video" }

View file

@ -7,24 +7,24 @@ edition.workspace = true
rust-version.workspace = true
[dependencies]
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
gst-gl = { package = "gstreamer-gl", path = "../gstreamer-gl", optional = true }
gst-gl-egl = { package = "gstreamer-gl-egl", path = "../gstreamer-gl/egl", optional = true }
gst-gl-x11 = { package = "gstreamer-gl-x11", path = "../gstreamer-gl/x11", optional = true }
gst-app = { package = "gstreamer-app", path = "../gstreamer-app" }
gst-audio = { package = "gstreamer-audio", path = "../gstreamer-audio" }
gst-base = { package = "gstreamer-base", path = "../gstreamer-base" }
gst-video = { package = "gstreamer-video", path = "../gstreamer-video" }
gst-pbutils = { package = "gstreamer-pbutils", path = "../gstreamer-pbutils" }
gst-play = { package = "gstreamer-play", path = "../gstreamer-play", optional = true }
gst-player = { package = "gstreamer-player", path = "../gstreamer-player", optional = true }
ges = { package = "gstreamer-editing-services", path = "../gstreamer-editing-services", optional = true }
gst-sdp = { package = "gstreamer-sdp", path = "../gstreamer-sdp", optional = true }
gst-rtsp = { package = "gstreamer-rtsp", path = "../gstreamer-rtsp", optional = true }
gst-rtsp-server = { package = "gstreamer-rtsp-server", path = "../gstreamer-rtsp-server", optional = true }
gst-allocators = { package = "gstreamer-allocators", path = "../gstreamer-allocators", optional = true }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core", optional = true }
glib.workspace = true
gst.workspace = true
gst-gl = { workspace = true, optional = true }
gst-gl-egl = { workspace = true, optional = true }
gst-gl-x11 = { workspace = true, optional = true }
gst-app.workspace = true
gst-audio.workspace = true
gst-base.workspace = true
gst-video.workspace = true
gst-pbutils.workspace = true
gst-play = { workspace = true, optional = true }
gst-player = { workspace = true, optional = true }
ges = { workspace = true, optional = true }
gst-sdp = { workspace = true, optional = true }
gst-rtsp = { workspace = true, optional = true }
gst-rtsp-server = { workspace = true, optional = true }
gst-allocators = { workspace = true, optional = true }
gio = { workspace = true, optional = true }
anyhow = "1.0"
byte-slice-cast = "1"
cairo-rs = { git = "https://github.com/gtk-rs/gtk-rs-core", features=["use_glib"], optional = true }

View file

@ -16,8 +16,8 @@ rust-version.workspace = true
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-allocators-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
glib.workspace = true
gst.workspace = true
once_cell = "1"
[dev-dependencies]

View file

@ -5,13 +5,13 @@ system-deps = "6"
libc = "0.2"
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gobject-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gstreamer-sys]
path = "../../gstreamer/sys"
workspace = true
[dev-dependencies]
shell-words = "1.0.0"

View file

@ -18,9 +18,9 @@ futures-core = "0.3"
futures-sink = "0.3"
libc = "0.2"
ffi = { package = "gstreamer-app-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
gst-base = { package = "gstreamer-base", path = "../gstreamer-base" }
glib.workspace = true
gst.workspace = true
gst-base.workspace = true
[dev-dependencies]
futures-util = { version = "0.3", features = ["sink"] }

View file

@ -5,13 +5,13 @@ system-deps = "6"
libc = "0.2"
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
[dependencies.gstreamer-base-sys]
path = "../../gstreamer-base/sys"
workspace = true
[dependencies.gstreamer-sys]
path = "../../gstreamer/sys"
workspace = true
[dependencies.gstreamer-base-sys]
workspace = true
[dev-dependencies]
shell-words = "1.0.0"

View file

@ -17,9 +17,9 @@ rust-version.workspace = true
libc = "0.2"
cfg-if = "1.0"
ffi = { package = "gstreamer-audio-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
gst-base = { package = "gstreamer-base", path = "../gstreamer-base" }
glib.workspace = true
gst.workspace = true
gst-base.workspace = true
serde = { version = "1.0", optional = true }
smallvec = "1.0"
once_cell = "1"

View file

@ -5,16 +5,16 @@ system-deps = "6"
libc = "0.2"
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gobject-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
[dependencies.gstreamer-base-sys]
path = "../../gstreamer-base/sys"
workspace = true
[dependencies.gstreamer-sys]
path = "../../gstreamer/sys"
workspace = true
[dependencies.gstreamer-base-sys]
workspace = true
[dev-dependencies]
shell-words = "1.0.0"

View file

@ -17,8 +17,8 @@ rust-version.workspace = true
cfg-if = "1.0"
libc = "0.2"
ffi = { package = "gstreamer-base-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
glib.workspace = true
gst.workspace = true
atomic_refcell = "0.1"
[dev-dependencies]

View file

@ -5,13 +5,13 @@ system-deps = "6"
libc = "0.2"
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gobject-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gstreamer-sys]
path = "../../gstreamer/sys"
workspace = true
[dev-dependencies]
shell-words = "1.0.0"

View file

@ -15,8 +15,8 @@ rust-version.workspace = true
[dependencies]
ffi = { package = "gstreamer-check-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
glib.workspace = true
gst.workspace = true
[dev-dependencies]
gir-format-check = "0.1"

View file

@ -5,13 +5,13 @@ system-deps = "6"
libc = "0.2"
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gobject-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gstreamer-sys]
path = "../../gstreamer/sys"
workspace = true
[dev-dependencies]
shell-words = "1.0.0"

View file

@ -15,8 +15,8 @@ rust-version.workspace = true
[dependencies]
ffi = { package = "gstreamer-controller-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
glib.workspace = true
gst.workspace = true
[dev-dependencies]
gir-format-check = "0.1"

View file

@ -6,13 +6,13 @@ system-deps = "6"
libc = "0.2"
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gobject-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gstreamer-sys]
path = "../../gstreamer/sys"
workspace = true
[dev-dependencies]
shell-words = "1.0.0"

View file

@ -16,11 +16,11 @@ rust-version.workspace = true
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-editing-services-sys", path = "sys"}
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
gst-base = { package = "gstreamer-base", path = "../gstreamer-base" }
gst-pbutils = { package = "gstreamer-pbutils", path = "../gstreamer-pbutils" }
glib.workspace = true
gio.workspace = true
gst.workspace = true
gst-base.workspace = true
gst-pbutils.workspace = true
serde = { version = "1.0", optional = true }
[dev-dependencies]

View file

@ -4,20 +4,20 @@ system-deps = "6"
[dependencies]
libc = "0.2"
[dependencies.gio-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gobject-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gio-sys]
workspace = true
[dependencies.gstreamer-pbutils-sys]
path = "../../gstreamer-pbutils/sys"
workspace = true
[dependencies.gstreamer-sys]
path = "../../gstreamer/sys"
workspace = true
[dev-dependencies]
shell-words = "1.0.0"

View file

@ -19,10 +19,10 @@ rust-version.workspace = true
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-gl-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
gst-base = { package = "gstreamer-base", path = "../gstreamer-base" }
gst-video = { package = "gstreamer-video", path = "../gstreamer-video" }
glib.workspace = true
gst.workspace = true
gst-base.workspace = true
gst-video.workspace = true
serde = { version = "1.0", optional = true }
once_cell = "1"

View file

@ -18,10 +18,9 @@ rust-version.workspace = true
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-gl-egl-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../../gstreamer" }
gst-gl = { package = "gstreamer-gl", path = "../" }
glib.workspace = true
gst.workspace = true
gst-gl.workspace = true
[dev-dependencies]
gir-format-check = "0.1"

View file

@ -45,10 +45,10 @@ name = "gstreamer_gl_egl_sys"
libc = "0.2"
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gstreamer-gl-sys]
path = "../../sys"
workspace = true
[build-dependencies]
system-deps = "6"

View file

@ -5,19 +5,19 @@ system-deps = "6"
libc = "0.2"
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gobject-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
[dependencies.gstreamer-base-sys]
path = "../../gstreamer-base/sys"
workspace = true
[dependencies.gstreamer-sys]
path = "../../gstreamer/sys"
workspace = true
[dependencies.gstreamer-base-sys]
workspace = true
[dependencies.gstreamer-video-sys]
path = "../../gstreamer-video/sys"
workspace = true
[dev-dependencies]
shell-words = "1.0.0"

View file

@ -19,10 +19,9 @@ rust-version.workspace = true
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-gl-wayland-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../../gstreamer" }
gst-gl = { package = "gstreamer-gl", path = "../" }
glib.workspace = true
gst.workspace = true
gst-gl.workspace = true
[dev-dependencies]
gir-format-check = "0.1"

View file

@ -45,10 +45,10 @@ name = "gstreamer_gl_wayland_sys"
libc = "0.2"
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gstreamer-gl-sys]
path = "../../sys"
workspace = true
[build-dependencies]
system-deps = "6"

View file

@ -19,10 +19,9 @@ rust-version.workspace = true
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-gl-x11-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../../gstreamer" }
gst-gl = { package = "gstreamer-gl", path = "../" }
glib.workspace = true
gst.workspace = true
gst-gl.workspace = true
[dev-dependencies]
gir-format-check = "0.1"

View file

@ -45,10 +45,10 @@ name = "gstreamer_gl_x11_sys"
libc = "0.2"
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gstreamer-gl-sys]
path = "../../sys"
workspace = true
[build-dependencies]
system-deps = "6"

View file

@ -15,8 +15,8 @@ rust-version.workspace = true
[dependencies]
ffi = { package = "gstreamer-mpegts-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
glib.workspace = true
gst.workspace = true
[dev-dependencies]
gir-format-check = "0.1"

View file

@ -60,13 +60,13 @@ system-deps = "6"
libc = "0.2"
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
[dependencies.gstreamer-base-sys]
path = "../../gstreamer-base/sys"
workspace = true
[dependencies.gstreamer-sys]
path = "../../gstreamer/sys"
workspace = true
[dependencies.gstreamer-base-sys]
workspace = true
[dev-dependencies]
shell-words = "1.0.0"

View file

@ -15,9 +15,9 @@ rust-version.workspace = true
[dependencies]
ffi = { package = "gstreamer-net-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core" }
glib.workspace = true
gio.workspace = true
gst.workspace = true
[dev-dependencies]
gir-format-check = "0.1"

View file

@ -5,13 +5,13 @@ system-deps = "6"
libc = "0.2"
[dependencies.gio-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gstreamer-sys]
path = "../../gstreamer/sys"
workspace = true
[dev-dependencies]
shell-words = "1.0.0"

View file

@ -16,10 +16,10 @@ rust-version.workspace = true
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-pbutils-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
gst-video = { package = "gstreamer-video", path = "../gstreamer-video" }
gst-audio = { package = "gstreamer-audio", path = "../gstreamer-audio" }
glib.workspace = true
gst.workspace = true
gst-video.workspace = true
gst-audio.workspace = true
thiserror = "1.0"
serde = { version = "1.0", optional = true }

View file

@ -5,19 +5,19 @@ system-deps = "6"
libc = "0.2"
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gobject-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
[dependencies.gstreamer-audio-sys]
path = "../../gstreamer-audio/sys"
workspace = true
[dependencies.gstreamer-sys]
path = "../../gstreamer/sys"
workspace = true
[dependencies.gstreamer-audio-sys]
workspace = true
[dependencies.gstreamer-video-sys]
path = "../../gstreamer-video/sys"
workspace = true
[dev-dependencies]
shell-words = "1.0.0"

View file

@ -16,9 +16,9 @@ rust-version.workspace = true
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-play-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer", features = ["v1_20"] }
gst-video = { package = "gstreamer-video", path = "../gstreamer-video", features = ["v1_20"] }
glib.workspace = true
gst = { workspace = true, features = ["v1_20"] }
gst-video = { workspace = true, features = ["v1_20"] }
[dev-dependencies]
gir-format-check = "0.1"

View file

@ -5,16 +5,16 @@ system-deps = "6"
libc = "0.2"
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gobject-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gstreamer-sys]
path = "../../gstreamer/sys"
workspace = true
[dependencies.gstreamer-video-sys]
path = "../../gstreamer-video/sys"
workspace = true
[dev-dependencies]
shell-words = "1.0.0"

View file

@ -16,9 +16,9 @@ rust-version.workspace = true
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-player-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
gst-video = { package = "gstreamer-video", path = "../gstreamer-video" }
glib.workspace = true
gst.workspace = true
gst-video.workspace = true
[dev-dependencies]
gir-format-check = "0.1"

View file

@ -5,16 +5,16 @@ system-deps = "6"
libc = "0.2"
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gobject-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gstreamer-sys]
path = "../../gstreamer/sys"
workspace = true
[dependencies.gstreamer-video-sys]
path = "../../gstreamer-video/sys"
workspace = true
[dev-dependencies]
shell-words = "1.0.0"

View file

@ -16,8 +16,8 @@ rust-version.workspace = true
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-rtp-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
glib.workspace = true
gst.workspace = true
serde = { version = "1.0", optional = true }
[dev-dependencies]

View file

@ -5,13 +5,13 @@ system-deps = "6"
libc = "0.2"
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
[dependencies.gstreamer-base-sys]
path = "../../gstreamer-base/sys"
workspace = true
[dependencies.gstreamer-sys]
path = "../../gstreamer/sys"
workspace = true
[dependencies.gstreamer-base-sys]
workspace = true
[dev-dependencies]
shell-words = "1.0.0"

View file

@ -16,12 +16,12 @@ rust-version.workspace = true
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-rtsp-server-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
gst-sdp = { package = "gstreamer-sdp", path = "../gstreamer-sdp" }
gst-rtsp = { package = "gstreamer-rtsp", path = "../gstreamer-rtsp" }
gst-net = { package = "gstreamer-net", path = "../gstreamer-net" }
glib.workspace = true
gio.workspace = true
gst.workspace = true
gst-sdp.workspace = true
gst-rtsp.workspace = true
gst-net.workspace = true
serde = { version = "1.0", optional = true }
[dev-dependencies]

View file

@ -4,26 +4,26 @@ system-deps = "6"
[dependencies]
libc = "0.2"
[dependencies.gio-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gio-sys]
workspace = true
[dependencies.gobject-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
[dependencies.gstreamer-net-sys]
path = "../../gstreamer-net/sys"
[dependencies.gstreamer-rtsp-sys]
path = "../../gstreamer-rtsp/sys"
[dependencies.gstreamer-sdp-sys]
path = "../../gstreamer-sdp/sys"
workspace = true
[dependencies.gstreamer-sys]
path = "../../gstreamer/sys"
workspace = true
[dependencies.gstreamer-net-sys]
workspace = true
[dependencies.gstreamer-rtsp-sys]
workspace = true
[dependencies.gstreamer-sdp-sys]
workspace = true
[dev-dependencies]
shell-words = "1.0.0"

View file

@ -16,9 +16,9 @@ rust-version.workspace = true
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-rtsp-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
gst-sdp = { package = "gstreamer-sdp", path = "../gstreamer-sdp" }
glib.workspace = true
gst.workspace = true
gst-sdp.workspace = true
serde = { version = "1.0", optional = true }
[dev-dependencies]

View file

@ -5,19 +5,19 @@ system-deps = "6"
libc = "0.2"
[dependencies.gio-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gobject-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
[dependencies.gstreamer-sdp-sys]
path = "../../gstreamer-sdp/sys"
workspace = true
[dependencies.gstreamer-sys]
path = "../../gstreamer/sys"
workspace = true
[dependencies.gstreamer-sdp-sys]
workspace = true
[dev-dependencies]
shell-words = "1.0.0"

View file

@ -15,8 +15,8 @@ rust-version.workspace = true
[dependencies]
ffi = { package = "gstreamer-sdp-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
glib.workspace = true
gst.workspace = true
[dev-dependencies]
gir-format-check = "0.1"

View file

@ -5,10 +5,10 @@ system-deps = "6"
libc = "0.2"
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gstreamer-sys]
path = "../../gstreamer/sys"
workspace = true
[dev-dependencies]
shell-words = "1.0.0"

View file

@ -19,8 +19,8 @@ rust-version.workspace = true
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-tag-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
glib.workspace = true
gst.workspace = true
[features]
default = []

View file

@ -5,13 +5,13 @@ system-deps = "6"
libc = "0.2"
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gobject-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gstreamer-sys]
path = "../../gstreamer/sys"
workspace = true
[dev-dependencies]
shell-words = "1.0.0"

View file

@ -16,9 +16,9 @@ rust-version.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
gst = { package = "gstreamer", path = "../gstreamer", features = ["v1_20"] }
gst_app = { package = "gstreamer-app", path = "../gstreamer-app", features = ["v1_20"] }
gst_video = { package = "gstreamer-video", path = "../gstreamer-video", features = ["v1_20"] }
gst = { workspace = true, features = ["v1_20"] }
gst-app = { workspace = true, features = ["v1_20"] }
gst-video = { workspace = true, features = ["v1_20"] }
once_cell = "1"
thiserror = "1"

View file

@ -16,8 +16,8 @@ rust-version.workspace = true
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-validate-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer", features = ["v1_22"] }
glib.workspace = true
gst = { workspace = true, features = ["v1_22"] }
[dev-dependencies]
gir-format-check = "0.1"

View file

@ -48,16 +48,16 @@ system-deps = "6"
libc = "0.2"
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gobject-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gio-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gstreamer-sys]
path = "../../gstreamer/sys"
workspace = true
[dev-dependencies]
shell-words = "1.0.0"

View file

@ -18,9 +18,9 @@ rust-version.workspace = true
libc = "0.2"
cfg-if = "1.0"
ffi = { package = "gstreamer-video-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
gst-base = { package = "gstreamer-base", path = "../gstreamer-base" }
glib.workspace = true
gst.workspace = true
gst-base.workspace = true
futures-channel = "0.3"
serde = { version = "1.0", optional = true, features = ["derive"] }
thiserror = "1.0.49"
@ -28,7 +28,7 @@ once_cell = "1"
[dev-dependencies]
itertools = "0.12"
gst-check = { package = "gstreamer-check", path = "../gstreamer-check" }
gst-check.workspace = true
serde_json = "1.0"
gir-format-check = "0.1"

View file

@ -5,16 +5,16 @@ system-deps = "6"
libc = "0.2"
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gobject-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
[dependencies.gstreamer-base-sys]
path = "../../gstreamer-base/sys"
workspace = true
[dependencies.gstreamer-sys]
path = "../../gstreamer/sys"
workspace = true
[dependencies.gstreamer-base-sys]
workspace = true
[dev-dependencies]
shell-words = "1.0.0"

View file

@ -16,9 +16,9 @@ rust-version.workspace = true
[dependencies]
libc = "0.2"
ffi = { package = "gstreamer-webrtc-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
gst-sdp = { package = "gstreamer-sdp", path = "../gstreamer-sdp" }
glib.workspace = true
gst.workspace = true
gst-sdp.workspace = true
[dev-dependencies]
gir-format-check = "0.1"

View file

@ -5,13 +5,13 @@ system-deps = "6"
libc = "0.2"
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gstreamer-sys]
path = "../../gstreamer/sys"
workspace = true
[dependencies.gstreamer-sdp-sys]
path = "../../gstreamer-sdp/sys"
workspace = true
[dev-dependencies]
shell-words = "1.0.0"

View file

@ -17,7 +17,7 @@ rust-version.workspace = true
cfg-if = "1.0"
libc = "0.2"
ffi = { package = "gstreamer-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
glib.workspace = true
num-integer = { version = "0.1", default-features = false, features = [] }
num-rational = { version = "0.4", default-features = false, features = [] }
futures-core = "0.3"

View file

@ -5,10 +5,10 @@ system-deps = "6"
libc = "0.2"
[dependencies.glib-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dependencies.gobject-sys]
git = "https://github.com/gtk-rs/gtk-rs-core"
workspace = true
[dev-dependencies]
shell-words = "1.0.0"

View file

@ -7,12 +7,12 @@ edition.workspace = true
rust-version.workspace = true
[dependencies]
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" }
gst-audio = { package = "gstreamer-audio", path = "../gstreamer-audio" }
gst-video = { package = "gstreamer-video", path = "../gstreamer-video", optional = true }
gst-app = { package = "gstreamer-app", path = "../gstreamer-app" }
gst-pbutils = { package = "gstreamer-pbutils", path = "../gstreamer-pbutils" }
glib.workspace = true
gst.workspace = true
gst-audio.workspace = true
gst-video = { workspace = true, optional = true }
gst-app.workspace = true
gst-pbutils.workspace = true
byte-slice-cast = "1"
anyhow = "1"
termion = { version = "3", optional = true }