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" homepage = "https://gstreamer.freedesktop.org"
edition = "2021" edition = "2021"
rust-version = "1.70" 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 rust-version.workspace = true
[dependencies] [dependencies]
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" } glib.workspace = true
gst = { package = "gstreamer", path = "../gstreamer" } gst.workspace = true
gst-gl = { package = "gstreamer-gl", path = "../gstreamer-gl", optional = true } gst-gl = { workspace = true, optional = true }
gst-gl-egl = { package = "gstreamer-gl-egl", path = "../gstreamer-gl/egl", optional = true } gst-gl-egl = { workspace = true, optional = true }
gst-gl-x11 = { package = "gstreamer-gl-x11", path = "../gstreamer-gl/x11", optional = true } gst-gl-x11 = { workspace = true, optional = true }
gst-app = { package = "gstreamer-app", path = "../gstreamer-app" } gst-app.workspace = true
gst-audio = { package = "gstreamer-audio", path = "../gstreamer-audio" } gst-audio.workspace = true
gst-base = { package = "gstreamer-base", path = "../gstreamer-base" } gst-base.workspace = true
gst-video = { package = "gstreamer-video", path = "../gstreamer-video" } gst-video.workspace = true
gst-pbutils = { package = "gstreamer-pbutils", path = "../gstreamer-pbutils" } gst-pbutils.workspace = true
gst-play = { package = "gstreamer-play", path = "../gstreamer-play", optional = true } gst-play = { workspace = true, optional = true }
gst-player = { package = "gstreamer-player", path = "../gstreamer-player", optional = true } gst-player = { workspace = true, optional = true }
ges = { package = "gstreamer-editing-services", path = "../gstreamer-editing-services", optional = true } ges = { workspace = true, optional = true }
gst-sdp = { package = "gstreamer-sdp", path = "../gstreamer-sdp", optional = true } gst-sdp = { workspace = true, optional = true }
gst-rtsp = { package = "gstreamer-rtsp", path = "../gstreamer-rtsp", optional = true } gst-rtsp = { workspace = true, optional = true }
gst-rtsp-server = { package = "gstreamer-rtsp-server", path = "../gstreamer-rtsp-server", optional = true } gst-rtsp-server = { workspace = true, optional = true }
gst-allocators = { package = "gstreamer-allocators", path = "../gstreamer-allocators", optional = true } gst-allocators = { workspace = true, optional = true }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core", optional = true } gio = { workspace = true, optional = true }
anyhow = "1.0" anyhow = "1.0"
byte-slice-cast = "1" byte-slice-cast = "1"
cairo-rs = { git = "https://github.com/gtk-rs/gtk-rs-core", features=["use_glib"], optional = true } 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] [dependencies]
libc = "0.2" libc = "0.2"
ffi = { package = "gstreamer-allocators-sys", path = "sys" } ffi = { package = "gstreamer-allocators-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" } glib.workspace = true
gst = { package = "gstreamer", path = "../gstreamer" } gst.workspace = true
once_cell = "1" once_cell = "1"
[dev-dependencies] [dev-dependencies]

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -5,13 +5,13 @@ system-deps = "6"
libc = "0.2" libc = "0.2"
[dependencies.glib-sys] [dependencies.glib-sys]
git = "https://github.com/gtk-rs/gtk-rs-core" workspace = true
[dependencies.gobject-sys] [dependencies.gobject-sys]
git = "https://github.com/gtk-rs/gtk-rs-core" workspace = true
[dependencies.gstreamer-sys] [dependencies.gstreamer-sys]
path = "../../gstreamer/sys" workspace = true
[dev-dependencies] [dev-dependencies]
shell-words = "1.0.0" 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 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
gst = { package = "gstreamer", path = "../gstreamer", features = ["v1_20"] } gst = { workspace = true, features = ["v1_20"] }
gst_app = { package = "gstreamer-app", path = "../gstreamer-app", features = ["v1_20"] } gst-app = { workspace = true, features = ["v1_20"] }
gst_video = { package = "gstreamer-video", path = "../gstreamer-video", features = ["v1_20"] } gst-video = { workspace = true, features = ["v1_20"] }
once_cell = "1" once_cell = "1"
thiserror = "1" thiserror = "1"

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -17,7 +17,7 @@ rust-version.workspace = true
cfg-if = "1.0" cfg-if = "1.0"
libc = "0.2" libc = "0.2"
ffi = { package = "gstreamer-sys", path = "sys" } 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-integer = { version = "0.1", default-features = false, features = [] }
num-rational = { version = "0.4", default-features = false, features = [] } num-rational = { version = "0.4", default-features = false, features = [] }
futures-core = "0.3" futures-core = "0.3"

View file

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

View file

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