diff --git a/Cargo.lock b/Cargo.lock index d817d102..e5ac2d3d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2406,7 +2406,7 @@ dependencies = [ [[package]] name = "gst-plugin-inter" -version = "0.11.0-alpha.1" +version = "0.12.0-alpha.1" dependencies = [ "anyhow", "futures", diff --git a/Cargo.toml b/Cargo.toml index 279f43e0..154671eb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -109,3 +109,38 @@ panic = 'unwind' [profile.dev] opt-level = 1 + +[workspace.package] +version = "0.12.0-alpha.1" +repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +edition = "2021" +rust-version = "1.70" + +[workspace.dependencies] +once_cell = "1" +glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } +gio = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } +cairo-rs = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master", features=["use_glib"] } +pango = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } +pangocairo = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } +gtk = { package = "gtk4", git = "https://github.com/gtk-rs/gtk4-rs", branch = "master"} +gdk-wayland = { package = "gdk4-wayland", git = "https://github.com/gtk-rs/gtk4-rs", branch = "master"} +gdk-x11 = { package = "gdk4-x11", git = "https://github.com/gtk-rs/gtk4-rs", branch = "master"} +gdk-win32 = { package = "gdk4-win32", git = "https://github.com/gtk-rs/gtk4-rs", branch = "master"} +gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-gl = { package = "gstreamer-gl", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-gl-egl = { package = "gstreamer-gl-egl", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-gl-wayland = { package = "gstreamer-gl-wayland", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-gl-x11 = { package = "gstreamer-gl-x11", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-net = { package = "gstreamer-net", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-pbutils = { package = "gstreamer-pbutils", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-plugin-version-helper = { path="./version-helper" } +gst-rtp = { package = "gstreamer-rtp", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-sdp = { package = "gstreamer-sdp", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-utils = { package = "gstreamer-utils", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-webrtc = { package = "gstreamer-webrtc", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } diff --git a/audio/audiofx/Cargo.toml b/audio/audiofx/Cargo.toml index d960813c..99e400dc 100644 --- a/audio/audiofx/Cargo.toml +++ b/audio/audiofx/Cargo.toml @@ -1,17 +1,17 @@ [package] name = "gst-plugin-audiofx" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Sebastian Dröge "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true license = "MPL-2.0" description = "GStreamer Rust Audio Effects Plugin" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true [dependencies] -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_20"] } -gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_20"] } -gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_20"] } +gst = { workspace = true, features = ["v1_20"] } +gst-base = { workspace = true, features = ["v1_20"] } +gst-audio = { workspace = true, features = ["v1_20"] } anyhow = "1" byte-slice-cast = "1.0" num-traits = "0.2" @@ -21,7 +21,7 @@ nnnoiseless = { version = "0.5", default-features = false } smallvec = "1" atomic_refcell = "0.1" rayon = "1.5" -once_cell = "1" +once_cell.workspace = true [lib] name = "gstrsaudiofx" @@ -29,11 +29,11 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [dev-dependencies] -gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } -gst-app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-check = { workspace = true, features = ["v1_18"] } +gst-app.workspace = true [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] static = [] diff --git a/audio/claxon/Cargo.toml b/audio/claxon/Cargo.toml index 944a937e..2c5e18d0 100644 --- a/audio/claxon/Cargo.toml +++ b/audio/claxon/Cargo.toml @@ -1,23 +1,23 @@ [package] name = "gst-plugin-claxon" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Ruben Gonzalez "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true license = "MIT OR Apache-2.0" description = "GStreamer Claxon FLAC Decoder Plugin" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true [dependencies] -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst.workspace = true +gst-audio.workspace = true claxon = { version = "0.4" } byte-slice-cast = "1.0" atomic_refcell = "0.1" -once_cell = "1" +once_cell.workspace = true [dev-dependencies] -gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-check.workspace = true [lib] name = "gstclaxon" @@ -25,7 +25,7 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] static = [] diff --git a/audio/csound/Cargo.toml b/audio/csound/Cargo.toml index 83a922e0..1b9e52f9 100644 --- a/audio/csound/Cargo.toml +++ b/audio/csound/Cargo.toml @@ -1,23 +1,23 @@ [package] name = "gst-plugin-csound" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Natanael Mojica "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true license = "MPL-2.0" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true description = "GStreamer Audio Filter plugin based on Csound" [dependencies] -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst.workspace = true +gst-base.workspace = true +gst-audio.workspace = true csound = "0.1.8" byte-slice-cast = "1.0" -once_cell = "1" +once_cell.workspace = true [dev-dependencies] -gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-check.workspace = true [lib] name = "gstcsound" @@ -29,7 +29,7 @@ name = "csound-effect" path = "examples/effect_example.rs" [build-dependencies] -gst-plugin-version-helper = { path = "../../version-helper" } +gst-plugin-version-helper.workspace = true [features] static = [] diff --git a/audio/lewton/Cargo.toml b/audio/lewton/Cargo.toml index 5200b59b..2c7a6d53 100644 --- a/audio/lewton/Cargo.toml +++ b/audio/lewton/Cargo.toml @@ -1,23 +1,23 @@ [package] name = "gst-plugin-lewton" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Sebastian Dröge "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true license = "MIT OR Apache-2.0" description = "GStreamer lewton Vorbis Decoder Plugin" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true [dependencies] -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst.workspace = true +gst-audio.workspace = true lewton = { version = "0.10", default-features = false } byte-slice-cast = "1.0" atomic_refcell = "0.1" -once_cell = "1" +once_cell.workspace = true [dev-dependencies] -gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-check.workspace = true [lib] name = "gstlewton" @@ -25,7 +25,7 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] static = [] diff --git a/audio/spotify/Cargo.toml b/audio/spotify/Cargo.toml index 0a2c3ef7..0375696a 100644 --- a/audio/spotify/Cargo.toml +++ b/audio/spotify/Cargo.toml @@ -1,22 +1,22 @@ [package] name = "gst-plugin-spotify" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Guillaume Desmottes "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true license = "MPL-2.0" description = "GStreamer Spotify Plugin" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true [dependencies] -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst.workspace = true +gst-base.workspace = true librespot = { version = "0.4", default-features = false } tokio = "1.0" futures = "0.3" anyhow = "1.0" url = "2.3" -once_cell = "1" +once_cell.workspace = true [lib] name = "gstspotify" @@ -24,7 +24,7 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] static = [] diff --git a/generic/file/Cargo.toml b/generic/file/Cargo.toml index 12719d8c..cf24bb6c 100644 --- a/generic/file/Cargo.toml +++ b/generic/file/Cargo.toml @@ -1,18 +1,18 @@ [package] name = "gst-plugin-file" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Sebastian Dröge "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true license = "MIT OR Apache-2.0" description = "GStreamer Rust File Source/Sink Plugin" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true [dependencies] url = "2" -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -once_cell = "1" +gst.workspace = true +gst-base.workspace = true +once_cell.workspace = true [lib] name = "gstrsfile" @@ -20,7 +20,7 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] static = [] diff --git a/generic/inter/Cargo.toml b/generic/inter/Cargo.toml index 995b1d32..b8879162 100644 --- a/generic/inter/Cargo.toml +++ b/generic/inter/Cargo.toml @@ -1,23 +1,23 @@ [package] name = "gst-plugin-inter" -version = "0.11.0-alpha.1" +version.workspace = true authors = ["Mathieu Duponchelle "] license = "MPL-2.0" description = "GStreamer Inter Plugin" -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" -edition = "2021" -rust-version = "1.66" +repository.workspace = true +edition.workspace = true +rust-version.workspace = true [dependencies] anyhow = "1" -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } -gst_utils = { package = "gstreamer-utils", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst_app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst = { workspace = true, features = ["v1_18"] } +gst-utils.workspace = true +gst-app.workspace = true once_cell = "1.0" [dev-dependencies] pretty_assertions = "1" -gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-check.workspace = true futures = "0.3" tokio = { version = "1", features = ["fs", "macros", "rt-multi-thread", "time"] } tokio-stream = "0.1.11" @@ -29,7 +29,7 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] static = [] diff --git a/generic/sodium/Cargo.toml b/generic/sodium/Cargo.toml index f2cc7bac..98e3d023 100644 --- a/generic/sodium/Cargo.toml +++ b/generic/sodium/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "gst-plugin-sodium" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Jordan Petridis "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true description = "GStreamer plugin for libsodium-based file encryption and decryption" license = "MIT" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true [dependencies] -gst = { package="gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst.workspace = true +gst-base.workspace = true sodiumoxide = "0.2.1" once_cell = "1.3.0" hex = "0.4" @@ -24,16 +24,8 @@ serde_json = { version = "1.0", optional = true } [dev-dependencies] pretty_assertions = "1" rand = "0.8" - -[dev-dependencies.gst-check] -git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" -branch = "main" -package="gstreamer-check" - -[dev-dependencies.gst-app] -git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" -branch = "main" -package="gstreamer-app" +gst-check.workspace = true +gst-app.workspace = true [lib] name = "gstsodium" @@ -56,7 +48,7 @@ path = "examples/decrypt_example.rs" required-features = ["serde", "serde_json", "clap"] [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] static = [] diff --git a/generic/threadshare/Cargo.toml b/generic/threadshare/Cargo.toml index 1a3b5476..f69cc47f 100644 --- a/generic/threadshare/Cargo.toml +++ b/generic/threadshare/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "gst-plugin-threadshare" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Sebastian Dröge "] license = "LGPL-2.1-or-later" description = "GStreamer Threadshare Plugin" -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" -edition = "2021" -rust-version = "1.70" +repository.workspace = true +edition.workspace = true +rust-version.workspace = true [dependencies] async-task = "4.3.0" @@ -14,12 +14,12 @@ cfg-if = "1" concurrent-queue = "2.2.0" flume = "0.11" futures = "0.3.28" -gio = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-net = { package = "gstreamer-net", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-rtp = { package = "gstreamer-rtp", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -once_cell = "1" +gio.workspace = true +gst.workspace = true +gst-audio.workspace = true +gst-net.workspace = true +gst-rtp.workspace = true +once_cell.workspace = true pin-project-lite = "0.2.0" polling = "3.1.0" rand = "0.8" @@ -35,8 +35,8 @@ clap = { version = "4", features = ["derive"], optional = true } winapi = { version = "0.3.9", features = ["winsock2", "processthreadsapi"] } [dev-dependencies] -gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-check.workspace = true +gst-app.workspace = true [lib] name = "gstthreadshare" @@ -60,7 +60,7 @@ name = "ts-standalone" path = "examples/standalone/main.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true cc = "1.0.38" pkg-config = "0.3.15" diff --git a/mux/flavors/Cargo.toml b/mux/flavors/Cargo.toml index bec550df..272c1e2a 100644 --- a/mux/flavors/Cargo.toml +++ b/mux/flavors/Cargo.toml @@ -1,24 +1,24 @@ [package] name = "gst-plugin-flavors" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Sebastian Dröge "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true license = "MIT OR Apache-2.0" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true description = "GStreamer Rust FLV Plugin" [dependencies] -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst.workspace = true +gst-base.workspace = true +gst-audio.workspace = true num-rational = { version = "0.4", default-features = false, features = [] } nom = "7" flavors = { git = "https://github.com/rust-av/flavors" } muldiv = "1.0" byteorder = "1.0" smallvec = "1.0" -once_cell = "1" +once_cell.workspace = true [lib] name = "gstrsflv" @@ -26,7 +26,7 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] static = [] diff --git a/mux/fmp4/Cargo.toml b/mux/fmp4/Cargo.toml index f495900d..af2514fe 100644 --- a/mux/fmp4/Cargo.toml +++ b/mux/fmp4/Cargo.toml @@ -1,21 +1,21 @@ [package] name = "gst-plugin-fmp4" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Sebastian Dröge "] license = "MPL-2.0" description = "GStreamer Fragmented MP4 Plugin" -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" -edition = "2021" -rust-version = "1.70" +repository.workspace = true +edition.workspace = true +rust-version.workspace = true [dependencies] anyhow = "1" -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } -gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } -gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } -gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } -gst-pbutils = { package = "gstreamer-pbutils", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } -once_cell = "1" +gst = { workspace = true, features = ["v1_18"] } +gst-base = { workspace = true, features = ["v1_18"] } +gst-audio = { workspace = true, features = ["v1_18"] } +gst-video = { workspace = true, features = ["v1_18"] } +gst-pbutils = { workspace = true, features = ["v1_18"] } +once_cell.workspace = true [lib] name = "gstfmp4" @@ -23,9 +23,8 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [dev-dependencies] -gst-app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } -gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } -gst-pbutils = { package = "gstreamer-pbutils", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_20"] } +gst-app = { workspace = true, features = ["v1_18"] } +gst-check = { workspace = true, features = ["v1_18"] } m3u8-rs = "5.0" chrono = "0.4" dash-mpd = { version = "0.14", default-features = false } @@ -33,7 +32,7 @@ quick-xml = { version = "0.31", features = ["serialize"] } serde = "1" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] default = [] diff --git a/mux/mp4/Cargo.toml b/mux/mp4/Cargo.toml index b3ad114d..c2937b69 100644 --- a/mux/mp4/Cargo.toml +++ b/mux/mp4/Cargo.toml @@ -1,21 +1,21 @@ [package] name = "gst-plugin-mp4" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Sebastian Dröge "] license = "MPL-2.0" description = "GStreamer Rust MP4 Plugin" -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" -edition = "2021" -rust-version = "1.70" +repository.workspace = true +edition.workspace = true +rust-version.workspace = true [dependencies] anyhow = "1" -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } -gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } -gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } -gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } -gst-pbutils = { package = "gstreamer-pbutils", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } -once_cell = "1" +gst = { workspace = true, features = ["v1_18"] } +gst-base = { workspace = true, features = ["v1_18"] } +gst-audio = { workspace = true, features = ["v1_18"] } +gst-video = { workspace = true, features = ["v1_18"] } +gst-pbutils = { workspace = true, features = ["v1_18"] } +once_cell.workspace = true [lib] name = "gstmp4" @@ -27,7 +27,7 @@ tempfile = "3" url = "2" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] default = [] diff --git a/net/aws/Cargo.toml b/net/aws/Cargo.toml index edf4d883..775a8ce0 100644 --- a/net/aws/Cargo.toml +++ b/net/aws/Cargo.toml @@ -1,14 +1,14 @@ [package] name = "gst-plugin-aws" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Arun Raghavan ", "Jordan Petridis ", "Mathieu Duponchelle "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true license = "MPL-2.0" description = "GStreamer Amazon Web Services plugin" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true [dependencies] async-stream = "0.3.4" @@ -21,22 +21,22 @@ aws-types = "1.0" aws-credential-types = "1.0" bytes = "1.0" futures = "0.3" -gio = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_16"] } +gio.workspace = true +gst.workspace = true +gst-base.workspace = true +gst-audio = { workspace = true, features = ["v1_16"] } percent-encoding = "2" tokio = { version = "1.0", features = [ "full" ] } serde = "1" serde_derive = "1" serde_json = "1" url = "2" -once_cell = "1" +once_cell.workspace = true [dev-dependencies] chrono = { version = "0.4", features = [ "alloc" ] } env_logger = "0.10" -gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } +gst-check = { workspace = true, features = ["v1_18"] } rand = "0.8" test-with = { version = "0.12", default-features = false } @@ -46,7 +46,7 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] static = [] diff --git a/net/hlssink3/Cargo.toml b/net/hlssink3/Cargo.toml index 114bff90..2843c5ab 100644 --- a/net/hlssink3/Cargo.toml +++ b/net/hlssink3/Cargo.toml @@ -1,32 +1,32 @@ [package] name = "gst-plugin-hlssink3" description = "GStreamer HLS (HTTP Live Streaming) Plugin" -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" -version = "0.12.0-alpha.1" +repository.workspace = true +version.workspace = true authors = ["Rafael Caricio "] -edition = "2021" +edition.workspace = true license = "MPL-2.0" -rust-version = "1.70" +rust-version.workspace = true [dependencies] -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst_app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gio = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } +gst.workspace = true +gst-app.workspace = true +gio.workspace = true once_cell = "1.7.2" m3u8-rs = "5.0" chrono = "0.4" sprintf = "0.1.3" [dev-dependencies] -gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-pbutils = { package = "gstreamer-pbutils", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_20"] } +gst-audio.workspace = true +gst-video.workspace = true +gst-check.workspace = true +gst-pbutils = { workspace = true, features = ["v1_20"] } m3u8-rs = "5.0" anyhow = "1" [build-dependencies] -gst-plugin-version-helper = { path = "../../version-helper" } +gst-plugin-version-helper.workspace = true [lib] name = "gsthlssink3" diff --git a/net/ndi/Cargo.toml b/net/ndi/Cargo.toml index 0d685d8e..c990a992 100644 --- a/net/ndi/Cargo.toml +++ b/net/ndi/Cargo.toml @@ -1,19 +1,19 @@ [package] name = "gst-plugin-ndi" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Ruben Gonzalez ", "Daniel Vilar ", "Sebastian Dröge "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true license = "MPL-2.0" description = "GStreamer NewTek NDI Plugin" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true [dependencies] -glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_16"] } -gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_16"] } -gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_16"] } -gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_16"] } +glib.workspace = true +gst = { workspace = true, features = ["v1_16"] } +gst-base = { workspace = true, features = ["v1_16"] } +gst-audio = { workspace = true, features = ["v1_16"] } +gst-video = { workspace = true, features = ["v1_16"] } anyhow = "1.0" byte-slice-cast = "1" byteorder = "1.0" @@ -23,10 +23,10 @@ libloading = "0.8" quick-xml = "0.31" smallvec = { version = "1.11", features = ["const_generics"] } thiserror = "1.0" -once_cell = "1" +once_cell.workspace = true [build-dependencies] -gst-plugin-version-helper = { path = "../../version-helper" } +gst-plugin-version-helper.workspace = true [features] default = ["sink"] diff --git a/net/onvif/Cargo.toml b/net/onvif/Cargo.toml index 2f6cfdec..b6e9094c 100644 --- a/net/onvif/Cargo.toml +++ b/net/onvif/Cargo.toml @@ -1,25 +1,25 @@ [package] name = "gst-plugin-onvif" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Mathieu Duponchelle "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true license = "MPL-2.0" description = "GStreamer Rust ONVIF Plugin" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true [dependencies] -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_20"] } -gst-rtp = { package = "gstreamer-rtp", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_20"] } -gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_20"] } -gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_20"] } +gst = { workspace = true, features = ["v1_20"] } +gst-rtp = { workspace = true, features = ["v1_20"] } +gst-base = { workspace = true, features = ["v1_20"] } +gst-video = { workspace = true, features = ["v1_20"] } xmlparser = "0.13" chrono = { version = "0.4.31", default-features = false } -cairo-rs = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master", features=["use_glib"] } -pango = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } -pangocairo = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } +cairo-rs.workspace = true +pango.workspace = true +pangocairo.workspace = true xmltree = "0.10" -once_cell = "1" +once_cell.workspace = true [lib] name = "gstrsonvif" @@ -27,7 +27,7 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] static = [] diff --git a/net/raptorq/Cargo.toml b/net/raptorq/Cargo.toml index bcd8fe96..ab3dfc43 100644 --- a/net/raptorq/Cargo.toml +++ b/net/raptorq/Cargo.toml @@ -1,22 +1,22 @@ [package] name = "gst-plugin-raptorq" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Tomasz Andrzejak "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true description = "GStreamer RaptorQ FEC Plugin" license = "MPL-2.0" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true [dependencies] -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-rtp = { package = "gstreamer-rtp", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -once_cell = "1" +gst.workspace = true +gst-base.workspace = true +gst-rtp.workspace = true +once_cell.workspace = true raptorq = "1.7" [dev-dependencies] -gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } +gst-check = { workspace = true, features = ["v1_18"] } rand = "0.8" [lib] @@ -25,7 +25,7 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] static = [] diff --git a/net/reqwest/Cargo.toml b/net/reqwest/Cargo.toml index f969a52b..a98d4aed 100644 --- a/net/reqwest/Cargo.toml +++ b/net/reqwest/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "gst-plugin-reqwest" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Sebastian Dröge "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true license = "MIT OR Apache-2.0" description = "GStreamer reqwest HTTP Source Plugin" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true [dependencies] url = "2.1" @@ -14,14 +14,14 @@ reqwest = { version = "0.11", features = ["cookies", "gzip"] } futures = "0.3" headers = "0.3" mime = "0.3" -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst.workspace = true +gst-base.workspace = true tokio = { version = "1.0", default-features = false, features = ["time", "rt-multi-thread"] } -once_cell = "1" +once_cell.workspace = true [dev-dependencies] hyper = { version = "0.14", features = ["server"] } -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst.workspace = true [lib] name = "gstreqwest" @@ -29,7 +29,7 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] static = [] diff --git a/net/rtp/Cargo.toml b/net/rtp/Cargo.toml index 63362e93..07e886f4 100644 --- a/net/rtp/Cargo.toml +++ b/net/rtp/Cargo.toml @@ -1,25 +1,25 @@ [package] name = "gst-plugin-rtp" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Vivienne Watermeier ", "Sebastian Dröge "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true license = "MPL-2.0" -edition = "2021" +edition.workspace = true description = "GStreamer Rust RTP Plugin" -rust-version = "1.70" +rust-version.workspace = true [dependencies] bitstream-io = "2.0" -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_20"] } -gst-rtp = { package = "gstreamer-rtp", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_20"]} +gst = { workspace = true, features = ["v1_20"] } +gst-rtp = { workspace = true, features = ["v1_20"]} chrono = { version = "0.4", default-features = false } -once_cell = "1" +once_cell.workspace = true [dev-dependencies] -gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_20"] } +gst-check = { workspace = true, features = ["v1_20"] } [build-dependencies] -gst-plugin-version-helper = { path = "../../version-helper" } +gst-plugin-version-helper.workspace = true [lib] name = "gstrsrtp" diff --git a/net/webrtc/Cargo.toml b/net/webrtc/Cargo.toml index 040949a8..cb8be49f 100644 --- a/net/webrtc/Cargo.toml +++ b/net/webrtc/Cargo.toml @@ -1,22 +1,22 @@ [package] name = "gst-plugin-webrtc" -version = "0.12.0-alpha.1" -edition = "2021" +version.workspace = true +edition.workspace = true authors = ["Mathieu Duponchelle ", "Thibault Saunier "] license = "MPL-2.0" description = "GStreamer plugin for high level WebRTC elements and a simple signaling server" -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" -rust-version = "1.70" +repository.workspace = true +rust-version.workspace = true [dependencies] -gst = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", package = "gstreamer", features = ["v1_20", "serde"] } -gst-app = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", package = "gstreamer-app", features = ["v1_20"] } -gst-video = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", package = "gstreamer-video", features = ["v1_20", "serde"] } -gst-webrtc = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", package = "gstreamer-webrtc", features = ["v1_20"] } -gst-sdp = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", package = "gstreamer-sdp", features = ["v1_20"] } -gst-rtp = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", package = "gstreamer-rtp", features = ["v1_20"] } -gst-utils = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", package = "gstreamer-utils" } -gst-base = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", package = "gstreamer-base" } +gst = { workspace = true, features = ["v1_20", "serde"] } +gst-app = { workspace = true, features = ["v1_20"] } +gst-video = { workspace = true, features = ["v1_20", "serde"] } +gst-webrtc = { workspace = true, features = ["v1_20"] } +gst-sdp = { workspace = true, features = ["v1_20"] } +gst-rtp = { workspace = true, features = ["v1_20"] } +gst-utils.workspace = true +gst-base.workspace = true uuid = { version = "1", features = ["v4"] } anyhow = "1" @@ -57,7 +57,7 @@ livekit-api = { version = "0.3", default-features = false, features = ["signal-c warp = "0.3" crossbeam-channel = "0.5" rand = "0.8" -once_cell = "1" +once_cell.workspace = true [dev-dependencies] tracing = { version = "0.1", features = ["log"] } @@ -71,7 +71,7 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path = "../../version-helper" } +gst-plugin-version-helper.workspace = true [features] default = ["v1_22"] diff --git a/net/webrtc/protocol/Cargo.toml b/net/webrtc/protocol/Cargo.toml index 633f8daf..be83be46 100644 --- a/net/webrtc/protocol/Cargo.toml +++ b/net/webrtc/protocol/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "gst-plugin-webrtc-signalling-protocol" -version = "0.12.0-alpha.1" -edition = "2021" +version.workspace = true +edition.workspace = true authors = ["Mathieu Duponchelle "] license = "MPL-2.0" description = "GStreamer WebRTC sink default protocol" -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" -rust-version = "1.70" +repository.workspace = true +rust-version.workspace = true [dependencies] serde = { version = "1", features = ["derive"] } diff --git a/net/webrtc/signalling/Cargo.toml b/net/webrtc/signalling/Cargo.toml index 131371c4..7ec85d5a 100644 --- a/net/webrtc/signalling/Cargo.toml +++ b/net/webrtc/signalling/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "gst-plugin-webrtc-signalling" -version = "0.12.0-alpha.1" -edition = "2021" +version.workspace = true +edition.workspace = true authors = ["Mathieu Duponchelle "] license = "MPL-2.0" description = "GStreamer WebRTC sink signalling server" -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" -rust-version = "1.70" +repository.workspace = true +rust-version.workspace = true [dependencies] anyhow = "1" diff --git a/net/webrtchttp/Cargo.toml b/net/webrtchttp/Cargo.toml index 82e3ead1..48e47130 100644 --- a/net/webrtchttp/Cargo.toml +++ b/net/webrtchttp/Cargo.toml @@ -1,26 +1,26 @@ [package] name = "gst-plugin-webrtchttp" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Taruntej Kanakamalla "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true license = "MPL-2.0" description = "GStreamer Plugin for displaying upcoming text buffers ahead of time" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true [dependencies] -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -once_cell = "1" +gst.workspace = true +once_cell.workspace = true [lib] name = "gsttextahead" @@ -18,7 +18,7 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] static = [] diff --git a/text/json/Cargo.toml b/text/json/Cargo.toml index 802ca8f5..8bf865c3 100644 --- a/text/json/Cargo.toml +++ b/text/json/Cargo.toml @@ -1,23 +1,18 @@ [package] name = "gst-plugin-json" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Mathieu Duponchelle "] license = "MPL-2.0" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true description = "GStreamer JSON Plugin" -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true [dependencies] -once_cell = "1" +once_cell.workspace = true serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0", features = ["raw_value"] } - -[dependencies.gst] -git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" -branch = "main" -package="gstreamer" -features=["serde"] +gst = { workspace = true, features = ["serde"]} [lib] name = "gstjson" @@ -25,12 +20,10 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true -[dev-dependencies.gst-check] -git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" -branch = "main" -package="gstreamer-check" +[dev-dependencies] +gst-check.workspace = true [features] static = [] diff --git a/text/regex/Cargo.toml b/text/regex/Cargo.toml index 34a6235e..81aae920 100644 --- a/text/regex/Cargo.toml +++ b/text/regex/Cargo.toml @@ -1,21 +1,17 @@ [package] name = "gst-plugin-regex" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Mathieu Duponchelle "] license = "MPL-2.0" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true description = "GStreamer Regular Expression Plugin" -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true [dependencies] -once_cell = "1" +once_cell.workspace = true regex = "1.5" - -[dependencies.gst] -git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" -branch = "main" -package="gstreamer" +gst.workspace = true [lib] name = "gstregex" @@ -23,12 +19,10 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true -[dev-dependencies.gst-check] -git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" -branch = "main" -package="gstreamer-check" +[dev-dependencies] +gst-check.workspace = true [features] static = [] diff --git a/text/wrap/Cargo.toml b/text/wrap/Cargo.toml index 20e25516..36185ed1 100644 --- a/text/wrap/Cargo.toml +++ b/text/wrap/Cargo.toml @@ -1,22 +1,18 @@ [package] name = "gst-plugin-textwrap" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Mathieu Duponchelle "] license = "MPL-2.0" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true description = "GStreamer Text Wrap Plugin" -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true [dependencies] textwrap = { version = "0.16", features = ["hyphenation"] } hyphenation = "0.8" -once_cell = "1" - -[dependencies.gst] -git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" -branch = "main" -package="gstreamer" +once_cell.workspace = true +gst.workspace = true [lib] name = "gsttextwrap" @@ -24,12 +20,10 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true -[dev-dependencies.gst-check] -git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" -branch = "main" -package="gstreamer-check" +[dev-dependencies] +gst-check.workspace = true [features] static = [] diff --git a/tutorial/Cargo.toml b/tutorial/Cargo.toml index 54a3f0b5..9b14da76 100644 --- a/tutorial/Cargo.toml +++ b/tutorial/Cargo.toml @@ -1,21 +1,21 @@ [package] name = "gst-plugin-tutorial" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Sebastian Dröge "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true license = "MIT OR Apache-2.0" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true description = "GStreamer Rust Tutorial Plugin" [dependencies] -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst.workspace = true +gst-base.workspace = true +gst-video.workspace = true +gst-audio.workspace = true byte-slice-cast = "1.0" num-traits = "0.2" -once_cell = "1" +once_cell.workspace = true [lib] name = "gstrstutorial" @@ -23,4 +23,4 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path="../version-helper" } +gst-plugin-version-helper.workspace = true diff --git a/utils/fallbackswitch/Cargo.toml b/utils/fallbackswitch/Cargo.toml index 3d5f0549..dd9187e1 100644 --- a/utils/fallbackswitch/Cargo.toml +++ b/utils/fallbackswitch/Cargo.toml @@ -1,27 +1,27 @@ [package] name = "gst-plugin-fallbackswitch" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Sebastian Dröge ", "Jan Schmidt "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true license = "MPL-2.0" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true description = "GStreamer Fallback Switcher and Source Plugin" [dependencies] -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst.workspace = true +gst-base.workspace = true +gst-audio.workspace = true +gst-video.workspace = true gst-plugin-gtk4 = { path = "../../video/gtk4", optional = true } -gtk = { package = "gtk4", git = "https://github.com/gtk-rs/gtk4-rs", branch = "master", optional = true } -gio = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master", optional = true } +gtk = { workspace = true, optional = true } +gio = { workspace = true, optional = true } parking_lot = "0.12" -once_cell = "1" +once_cell.workspace = true [dev-dependencies] -gst-app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-app.workspace = true +gst-check.workspace = true [lib] name = "gstfallbackswitch" @@ -35,7 +35,7 @@ required-features = ["gtk", "gio", "gst-plugin-gtk4"] [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] default = ["v1_20"] diff --git a/utils/livesync/Cargo.toml b/utils/livesync/Cargo.toml index 26966fd7..ce63dfb6 100644 --- a/utils/livesync/Cargo.toml +++ b/utils/livesync/Cargo.toml @@ -1,26 +1,26 @@ [package] name = "gst-plugin-livesync" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Jan Alexander Steffens (heftig) "] license = "MPL-2.0" description = "Livesync Plugin" -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" -edition = "2021" -rust-version = "1.70" +repository.workspace = true +edition.workspace = true +rust-version.workspace = true [dependencies] -gio = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master", optional = true } -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gio = { workspace = true, optional = true } +gst.workspace = true +gst-audio.workspace = true gst-plugin-gtk4 = { path = "../../video/gtk4", optional = true } -gtk = { package = "gtk4", git = "https://github.com/gtk-rs/gtk4-rs", branch = "master", optional = true } +gtk = { workspace = true, optional = true } muldiv = "1.0" num-rational = { version = "0.4", default-features = false, features = [] } -once_cell = "1" +once_cell.workspace = true parking_lot = "0.12" [dev-dependencies] -gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-check.workspace = true [lib] name = "gstlivesync" @@ -37,7 +37,7 @@ name = "livesync" path = "tests/livesync.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] static = [] diff --git a/utils/togglerecord/Cargo.toml b/utils/togglerecord/Cargo.toml index 623ba600..8c05252e 100644 --- a/utils/togglerecord/Cargo.toml +++ b/utils/togglerecord/Cargo.toml @@ -1,26 +1,26 @@ [package] name = "gst-plugin-togglerecord" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Sebastian Dröge "] license = "MPL-2.0" description = "GStreamer Toggle Record Plugin" -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" -edition = "2021" -rust-version = "1.70" +repository.workspace = true +edition.workspace = true +rust-version.workspace = true [dependencies] -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst.workspace = true +gst-audio.workspace = true +gst-video.workspace = true gst-plugin-gtk4 = { path = "../../video/gtk4", optional = true } -gtk = { package = "gtk4", git = "https://github.com/gtk-rs/gtk4-rs", branch = "master", optional = true } -gio = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master", optional = true } +gtk = { workspace = true, optional = true } +gio = { workspace = true, optional = true } parking_lot = "0.12" -once_cell = "1" +once_cell.workspace = true [dev-dependencies] either = "1.0" -gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-check.workspace = true [lib] name = "gsttogglerecord" @@ -33,7 +33,7 @@ path = "examples/gtk_recording.rs" required-features = ["gtk", "gio", "gst-plugin-gtk4"] [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] static = [] diff --git a/utils/tracers/Cargo.toml b/utils/tracers/Cargo.toml index aae3193c..00a200f9 100644 --- a/utils/tracers/Cargo.toml +++ b/utils/tracers/Cargo.toml @@ -1,18 +1,18 @@ [package] name = "gst-plugin-tracers" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Guillaume Desmottes "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true license = "MPL-2.0" -edition = "2021" +edition.workspace = true description = "GStreamer Rust tracers plugin" -rust-version = "1.70" +rust-version.workspace = true [dependencies] -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst.workspace = true anyhow = "1" regex = "1" -once_cell = "1" +once_cell.workspace = true [target.'cfg(unix)'.dependencies] signal-hook = "0.3" @@ -23,7 +23,7 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] static = [] diff --git a/utils/uriplaylistbin/Cargo.toml b/utils/uriplaylistbin/Cargo.toml index 94dfaca7..5b334b31 100644 --- a/utils/uriplaylistbin/Cargo.toml +++ b/utils/uriplaylistbin/Cargo.toml @@ -1,22 +1,22 @@ [package] name = "gst-plugin-uriplaylistbin" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Guillaume Desmottes "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true license = "MPL-2.0" -edition = "2021" +edition.workspace = true description = "GStreamer Playlist Playback Plugin" -rust-version = "1.70" +rust-version.workspace = true [dependencies] -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst.workspace = true anyhow = "1" clap = { version = "4", optional = true, features = ["derive"] } thiserror = "1" -once_cell = "1" +once_cell.workspace = true [dev-dependencies] -gst-app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-app.workspace = true url = "2.2" more-asserts = "0.3" @@ -31,7 +31,7 @@ path = "examples/playlist.rs" required-features = ["clap"] [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] static = [] diff --git a/version-helper/Cargo.toml b/version-helper/Cargo.toml index d2a7889d..38cb7ae9 100644 --- a/version-helper/Cargo.toml +++ b/version-helper/Cargo.toml @@ -5,11 +5,11 @@ authors = ["Sajeer Ahamed ", "Sebastian Dröge "] categories = ["development-tools"] description = "build.rs helper function for GStreamer plugin metadata" -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true license = "MIT" homepage = "https://gstreamer.freedesktop.org" keywords = ["gstreamer", "multimedia", "cargo"] -edition = "2021" +edition.workspace = true rust-version = "1.67" [dependencies] diff --git a/video/cdg/Cargo.toml b/video/cdg/Cargo.toml index f5ebc341..1e8b7d10 100644 --- a/video/cdg/Cargo.toml +++ b/video/cdg/Cargo.toml @@ -1,25 +1,25 @@ [package] name = "gst-plugin-cdg" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Guillaume Desmottes "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true license = "MIT OR Apache-2.0" description = "GStreamer CDG codec Plugin" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true [dependencies] -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst.workspace = true +gst-base.workspace = true +gst-video.workspace = true cdg = "0.1" cdg_renderer = "0.7" image = { version = "0.24", default-features = false } muldiv = "1.0" -once_cell = "1" +once_cell.workspace = true [dev-dependencies] -gst-app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-app.workspace = true [lib] name = "gstcdg" @@ -27,7 +27,7 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] static = [] diff --git a/video/closedcaption/Cargo.toml b/video/closedcaption/Cargo.toml index 8f6db073..285ebc82 100644 --- a/video/closedcaption/Cargo.toml +++ b/video/closedcaption/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "gst-plugin-closedcaption" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Sebastian Dröge ", "Jordan Petridis ", "Matthew Waters "] license = "MPL-2.0" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true description = "GStreamer Rust Closed Caption Plugin" -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true [dependencies] anyhow = "1" @@ -15,41 +15,22 @@ either = "1" uuid = { version = "1.0", features = ["v4"] } chrono = "0.4.23" atomic_refcell = "0.1" -cairo-rs = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master", features=["use_glib"] } -pango = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } -pangocairo = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } +cairo-rs.workspace = true +pango.workspace = true +pangocairo.workspace = true byteorder = "1" serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0", features = ["raw_value"] } cea708-types = "0.3" -once_cell = "1" - -[dependencies.gst] -git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" -branch = "main" -features = ["v1_16"] -package="gstreamer" - -[dependencies.gst-base] -git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" -branch = "main" -features = ["v1_16"] -package="gstreamer-base" - -[dependencies.gst-video] -git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" -branch = "main" -features = ["v1_16"] -package="gstreamer-video" +once_cell.workspace = true +gst = { workspace = true, features = ["v1_16"]} +gst-base = { workspace = true, features = ["v1_16"]} +gst-video = { workspace = true, features = ["v1_16"]} [dev-dependencies] pretty_assertions = "1" rand = { version = "0.8", features = ["small_rng"] } - -[dev-dependencies.gst-check] -git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" -branch = "main" -package="gstreamer-check" +gst-check.workspace = true [lib] name = "gstrsclosedcaption" @@ -57,7 +38,7 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true cc = "1.0" [features] diff --git a/video/dav1d/Cargo.toml b/video/dav1d/Cargo.toml index f5c50f54..6df2feb8 100644 --- a/video/dav1d/Cargo.toml +++ b/video/dav1d/Cargo.toml @@ -1,20 +1,20 @@ [package] name = "gst-plugin-dav1d" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Philippe Normand "] -edition = "2021" -rust-version = "1.70" -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +edition.workspace = true +rust-version.workspace = true +repository.workspace = true license = "MIT OR Apache-2.0" description = "GStreamer dav1d AV1 decoder Plugin" [dependencies] dav1d = "0.9" -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst.workspace = true +gst-base.workspace = true +gst-video.workspace = true num_cpus = "1.0" -once_cell = "1" +once_cell.workspace = true [lib] name = "gstdav1d" @@ -22,7 +22,7 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path = "../../version-helper" } +gst-plugin-version-helper.workspace = true [features] static = [] diff --git a/video/ffv1/Cargo.toml b/video/ffv1/Cargo.toml index c47ccbb5..44e20f76 100644 --- a/video/ffv1/Cargo.toml +++ b/video/ffv1/Cargo.toml @@ -1,29 +1,29 @@ [package] name = "gst-plugin-ffv1" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Arun Raghavan "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true license = "MIT OR Apache-2.0" description = "GStreamer FFV1 Decoder Plugin" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true [dependencies] byte-slice-cast = "1" ffv1 = { git = "https://github.com/rust-av/ffv1.git", rev = "2afb025a327173ce891954c052e804d0f880368a" } -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } -gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } -once_cell = "1" +gst = { workspace = true, features = ["v1_18"] } +gst-video = { workspace = true, features = ["v1_18"] } +once_cell.workspace = true [dev-dependencies] -gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } +gst-check = { workspace = true, features = ["v1_18"] } [lib] name = "gstffv1" crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] static = [] diff --git a/video/gif/Cargo.toml b/video/gif/Cargo.toml index d5e9f2c0..69f82218 100644 --- a/video/gif/Cargo.toml +++ b/video/gif/Cargo.toml @@ -1,22 +1,22 @@ [package] name = "gst-plugin-gif" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Markus Ebner "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true license = "MIT OR Apache-2.0" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true description = "GStreamer GIF plugin" [dependencies] -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst.workspace = true +gst-video.workspace = true gif = "0.13" atomic_refcell = "0.1" -once_cell = "1" +once_cell.workspace = true [dev-dependencies] -gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-check.workspace = true [lib] name = "gstgif" @@ -28,7 +28,7 @@ name = "testvideosrc2gif" path = "examples/testvideosrc2gif.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] static = [] diff --git a/video/gtk4/Cargo.toml b/video/gtk4/Cargo.toml index 73241c64..0b4c83f9 100644 --- a/video/gtk4/Cargo.toml +++ b/video/gtk4/Cargo.toml @@ -1,38 +1,38 @@ [package] name = "gst-plugin-gtk4" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Bilal Elmoussaoui ", "Jordan Petridis ", "Sebastian Dröge "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true license = "MPL-2.0" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true description = "GStreamer GTK 4 Sink element and Paintable widget" [dependencies] -gtk = { package = "gtk4", git = "https://github.com/gtk-rs/gtk4-rs", branch = "master" } -gdk_wayland = { package = "gdk4-wayland", git = "https://github.com/gtk-rs/gtk4-rs", branch = "master", features = ["v4_4"], optional = true} -gdk_x11 = { package = "gdk4-x11", git = "https://github.com/gtk-rs/gtk4-rs", branch = "master", features = ["v4_4"], optional = true} +gtk.workspace = true +gdk-wayland = { workspace = true, features = ["v4_4"], optional = true} +gdk-x11 = { workspace = true, features = ["v4_4"], optional = true} -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_16"] } -gst_base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst_video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst_gl = { package = "gstreamer-gl", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_16"], optional = true } +gst = { workspace = true, features = ["v1_16"] } +gst-base.workspace = true +gst-video.workspace = true +gst-gl = { workspace = true, features = ["v1_16"], optional = true } -gst_gl_wayland = { package = "gstreamer-gl-wayland", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_16"], optional = true } -gst_gl_x11 = { package = "gstreamer-gl-x11", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_16"], optional = true } -gst_gl_egl = { package = "gstreamer-gl-egl", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_16"], optional = true } +gst-gl-wayland = { workspace = true, features = ["v1_16"], optional = true } +gst-gl-x11 = { workspace = true, features = ["v1_16"], optional = true } +gst-gl-egl = { workspace = true, features = ["v1_16"], optional = true } async-channel = "2.0.0" -once_cell = "1" +once_cell.workspace = true [target.'cfg(target_os = "macos")'.dependencies] -gtk = { package = "gtk4", git = "https://github.com/gtk-rs/gtk4-rs", branch = "master", features = ["v4_6"] } -gst_gl = { package = "gstreamer-gl", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_16"] } +gtk = { workspace = true, features = ["v4_6"] } +gst-gl = { workspace = true, features = ["v1_16"] } [target.'cfg(target_os = "windows")'.dependencies] -gtk = { package = "gtk4", git = "https://github.com/gtk-rs/gtk4-rs", branch = "master", features = ["v4_6"] } -gst_gl = { package = "gstreamer-gl", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_20"] } -gdk_win32 = { package = "gdk4-win32", git = "https://github.com/gtk-rs/gtk4-rs", branch = "master", features = ["v4_4"]} +gtk = { workspace = true, features = ["v4_6"] } +gst-gl = { workspace = true, features = ["v1_20"] } +gdk-win32 = { workspace = true, features = ["v4_4"]} windows-sys = { version = "0.52", features = ["Win32_Graphics_OpenGL", "Win32_Foundation", "Win32_Graphics_Gdi"] } [lib] @@ -41,15 +41,15 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] default = [] static = [] -wayland = ["gtk/v4_6", "gdk_wayland", "gst_gl", "gst_gl_wayland"] -x11glx = ["gtk/v4_6", "gdk_x11", "gst_gl", "gst_gl_x11"] -x11egl = ["gtk/v4_6", "gdk_x11", "gst_gl", "gst_gl_egl"] -winegl = ["gdk_win32/egl", "gst_gl_egl"] +wayland = ["gtk/v4_6", "gdk-wayland", "gst-gl", "gst-gl-wayland"] +x11glx = ["gtk/v4_6", "gdk-x11", "gst-gl", "gst-gl-x11"] +x11egl = ["gtk/v4_6", "gdk-x11", "gst-gl", "gst-gl-egl"] +winegl = ["gdk-win32/egl", "gst-gl-egl"] capi = [] doc = ["gst/v1_18"] diff --git a/video/gtk4/src/sink/frame.rs b/video/gtk4/src/sink/frame.rs index 600a7ff8..987732e8 100644 --- a/video/gtk4/src/sink/frame.rs +++ b/video/gtk4/src/sink/frame.rs @@ -11,7 +11,7 @@ use gst_video::prelude::*; -#[cfg(any(target_os = "macos", target_os = "windows", feature = "gst_gl"))] +#[cfg(any(target_os = "macos", target_os = "windows", feature = "gst-gl"))] use gst_gl::prelude::*; use gtk::{gdk, glib}; use std::collections::{HashMap, HashSet}; @@ -19,7 +19,7 @@ use std::collections::{HashMap, HashSet}; #[derive(Debug)] enum MappedFrame { SysMem(gst_video::VideoFrame), - #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst_gl"))] + #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst-gl"))] GL { frame: gst_gl::GLVideoFrame, wrapped_context: gst_gl::GLContext, @@ -30,7 +30,7 @@ impl MappedFrame { fn buffer(&self) -> &gst::BufferRef { match self { MappedFrame::SysMem(frame) => frame.buffer(), - #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst_gl"))] + #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst-gl"))] MappedFrame::GL { frame, .. } => frame.buffer(), } } @@ -38,7 +38,7 @@ impl MappedFrame { fn width(&self) -> u32 { match self { MappedFrame::SysMem(frame) => frame.width(), - #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst_gl"))] + #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst-gl"))] MappedFrame::GL { frame, .. } => frame.width(), } } @@ -46,7 +46,7 @@ impl MappedFrame { fn height(&self) -> u32 { match self { MappedFrame::SysMem(frame) => frame.height(), - #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst_gl"))] + #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst-gl"))] MappedFrame::GL { frame, .. } => frame.height(), } } @@ -54,7 +54,7 @@ impl MappedFrame { fn format_info(&self) -> gst_video::VideoFormatInfo { match self { MappedFrame::SysMem(frame) => frame.format_info(), - #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst_gl"))] + #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst-gl"))] MappedFrame::GL { frame, .. } => frame.format_info(), } } @@ -137,7 +137,7 @@ fn video_frame_to_memory_texture( (texture, pixel_aspect_ratio) } -#[cfg(any(target_os = "macos", target_os = "windows", feature = "gst_gl"))] +#[cfg(any(target_os = "macos", target_os = "windows", feature = "gst-gl"))] fn video_frame_to_gl_texture( frame: gst_gl::GLVideoFrame, cached_textures: &mut HashMap, @@ -197,7 +197,7 @@ impl Frame { MappedFrame::SysMem(frame) => { video_frame_to_memory_texture(frame, cached_textures, &mut used_textures) } - #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst_gl"))] + #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst-gl"))] MappedFrame::GL { frame, wrapped_context, @@ -255,11 +255,11 @@ impl Frame { pub(crate) fn new( buffer: &gst::Buffer, info: &gst_video::VideoInfo, - #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst_gl"))] wrapped_context: Option< + #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst-gl"))] wrapped_context: Option< &gst_gl::GLContext, >, #[allow(unused_variables)] - #[cfg(not(any(target_os = "macos", target_os = "windows", feature = "gst_gl")))] + #[cfg(not(any(target_os = "macos", target_os = "windows", feature = "gst-gl")))] wrapped_context: Option<&()>, ) -> Result { // Empty buffers get filtered out in show_frame @@ -267,7 +267,7 @@ impl Frame { let mut frame; - #[cfg(not(any(target_os = "macos", target_os = "windows", feature = "gst_gl")))] + #[cfg(not(any(target_os = "macos", target_os = "windows", feature = "gst-gl")))] { frame = Self { frame: MappedFrame::SysMem( @@ -277,7 +277,7 @@ impl Frame { overlays: vec![], }; } - #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst_gl"))] + #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst-gl"))] { // Check we received a buffer with GL memory and if the context of that memory // can share with the wrapped context around the GDK GL context. diff --git a/video/gtk4/src/sink/imp.rs b/video/gtk4/src/sink/imp.rs index 22927b16..d7e5258b 100644 --- a/video/gtk4/src/sink/imp.rs +++ b/video/gtk4/src/sink/imp.rs @@ -26,15 +26,15 @@ use std::sync::{Mutex, MutexGuard}; use crate::utils; -#[cfg(any(target_os = "macos", target_os = "windows", feature = "gst_gl"))] +#[cfg(any(target_os = "macos", target_os = "windows", feature = "gst-gl"))] use gst_gl::prelude::GLContextExt as GstGLContextExt; -#[cfg(any(target_os = "macos", target_os = "windows", feature = "gst_gl"))] +#[cfg(any(target_os = "macos", target_os = "windows", feature = "gst-gl"))] use gst_gl::prelude::*; // Global GL context that is created by the first sink and kept around until the end of the // process. This is provided to other elements in the pipeline to make sure they create GL contexts // that are sharing with the GTK GL context. -#[cfg(any(target_os = "macos", target_os = "windows", feature = "gst_gl"))] +#[cfg(any(target_os = "macos", target_os = "windows", feature = "gst-gl"))] enum GLContext { Uninitialized, Unsupported, @@ -45,7 +45,7 @@ enum GLContext { }, } -#[cfg(any(target_os = "macos", target_os = "windows", feature = "gst_gl"))] +#[cfg(any(target_os = "macos", target_os = "windows", feature = "gst-gl"))] static GL_CONTEXT: Mutex = Mutex::new(GLContext::Uninitialized); static CAT: Lazy = Lazy::new(|| { @@ -154,12 +154,12 @@ impl ElementImpl for PaintableSink { for features in [ None, - #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst_gl"))] + #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst-gl"))] Some(gst::CapsFeatures::new([ "memory:GLMemory", "meta:GstVideoOverlayComposition", ])), - #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst_gl"))] + #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst-gl"))] Some(gst::CapsFeatures::new(["memory:GLMemory"])), Some(gst::CapsFeatures::new([ "memory:SystemMemory", @@ -237,7 +237,7 @@ impl ElementImpl for PaintableSink { // Notify the pipeline about the GL display and wrapped context so that any other // elements in the pipeline ideally use the same / create GL contexts that are // sharing with this one. - #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst_gl"))] + #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst-gl"))] { let gl_context = GL_CONTEXT.lock().unwrap(); if let GLContext::Initialized { @@ -343,7 +343,7 @@ impl BaseSinkImpl for PaintableSink { // TODO: Provide a preferred "window size" here for higher-resolution rendering query.add_allocation_meta::(None); - #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst_gl"))] + #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst-gl"))] { if let GLContext::Initialized { wrapped_context, .. @@ -364,7 +364,7 @@ impl BaseSinkImpl for PaintableSink { gst::log!(CAT, imp: self, "Handling query {:?}", query); match query.view_mut() { - #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst_gl"))] + #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst-gl"))] gst::QueryViewMut::Context(q) => { // Avoid holding the locks while we respond to the query // The objects are ref-counted anyway. @@ -420,11 +420,11 @@ impl VideoSinkImpl for PaintableSink { })?; let wrapped_context = { - #[cfg(not(any(target_os = "macos", target_os = "windows", feature = "gst_gl")))] + #[cfg(not(any(target_os = "macos", target_os = "windows", feature = "gst-gl")))] { None } - #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst_gl"))] + #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst-gl"))] { let gl_context = GL_CONTEXT.lock().unwrap(); if let GLContext::Initialized { @@ -492,7 +492,7 @@ impl PaintableSink { #[allow(unused_mut)] let mut tmp_caps = Self::pad_templates()[0].caps().clone(); - #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst_gl"))] + #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst-gl"))] { // Filter out GL caps from the template pads if we have no context if !matches!(&*GL_CONTEXT.lock().unwrap(), GLContext::Initialized { .. }) { @@ -511,7 +511,7 @@ impl PaintableSink { } fn create_paintable(&self, paintable_storage: &mut MutexGuard>>) { - #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst_gl"))] + #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst-gl"))] { self.initialize_gl_context(); } @@ -545,7 +545,7 @@ impl PaintableSink { // Create the paintable from the main thread let paintable = utils::invoke_on_main_thread(move || { - #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst_gl"))] + #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst-gl"))] { let gdk_context = if let GLContext::Initialized { gdk_context, .. } = &*GL_CONTEXT.lock().unwrap() @@ -556,7 +556,7 @@ impl PaintableSink { }; ThreadGuard::new(Paintable::new(gdk_context)) } - #[cfg(not(any(target_os = "macos", target_os = "windows", feature = "gst_gl")))] + #[cfg(not(any(target_os = "macos", target_os = "windows", feature = "gst-gl")))] { ThreadGuard::new(Paintable::new(None)) } @@ -567,7 +567,7 @@ impl PaintableSink { *self.sender.lock().unwrap() = Some(sender); } - #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst_gl"))] + #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst-gl"))] fn initialize_gl_context(&self) { gst::debug!(CAT, imp: self, "Realizing GDK GL Context"); @@ -577,7 +577,7 @@ impl PaintableSink { }); } - #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst_gl"))] + #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst-gl"))] fn initialize_gl_context_main(&self) { gst::debug!(CAT, imp: self, "Realizing GDK GL Context from main thread"); diff --git a/video/hsv/Cargo.toml b/video/hsv/Cargo.toml index 4d87f3e4..899f3588 100644 --- a/video/hsv/Cargo.toml +++ b/video/hsv/Cargo.toml @@ -1,24 +1,24 @@ [package] name = "gst-plugin-hsv" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Julien Bardagi "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true license = "MIT OR Apache-2.0" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true description = "GStreamer plugin with HSV manipulation elements" [dependencies] -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst.workspace = true +gst-base.workspace = true +gst-video.workspace = true +gst-audio.workspace = true byte-slice-cast = "1.0" num-traits = "0.2" -once_cell = "1" +once_cell.workspace = true [dev-dependencies] -gst_check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-check.workspace = true [lib] name = "gsthsv" @@ -26,7 +26,7 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] static = [] diff --git a/video/png/Cargo.toml b/video/png/Cargo.toml index 8af76a97..ea93b038 100644 --- a/video/png/Cargo.toml +++ b/video/png/Cargo.toml @@ -1,22 +1,22 @@ [package] name = "gst-plugin-png" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Natanael Mojica "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true license = "MIT OR Apache-2.0" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true description = "GStreamer Rust PNG encoder/decoder" [dependencies] -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst_video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst.workspace = true +gst-video.workspace = true png = "0.17.2" -once_cell = "1" +once_cell.workspace = true parking_lot = "0.12" [dev-dependencies] -gst_check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-check.workspace = true [lib] name = "gstrspng" @@ -24,7 +24,7 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] static = [] diff --git a/video/rav1e/Cargo.toml b/video/rav1e/Cargo.toml index a92e2f89..f659678d 100644 --- a/video/rav1e/Cargo.toml +++ b/video/rav1e/Cargo.toml @@ -1,22 +1,22 @@ [package] name = "gst-plugin-rav1e" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Sebastian Dröge "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true license = "MIT OR Apache-2.0" description = "GStreamer rav1e AV1 Encoder Plugin" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true [dependencies] -gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } -gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst.workspace = true +gst-video.workspace = true rav1e = { version = "0.7", default-features = false, features = ["threading"] } atomic_refcell = "0.1" -once_cell = "1" +once_cell.workspace = true [dev-dependencies] -gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } +gst-check.workspace = true [lib] name = "gstrav1e" @@ -24,7 +24,7 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] default = ["hdr"] diff --git a/video/videofx/Cargo.toml b/video/videofx/Cargo.toml index 30edb24e..db31393f 100644 --- a/video/videofx/Cargo.toml +++ b/video/videofx/Cargo.toml @@ -1,15 +1,15 @@ [package] name = "gst-plugin-videofx" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Sanchayan Maity ", "Rafael Caricio "] -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true license = "MPL-2.0" description = "GStreamer Rust Video Effects Plugin" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true [dependencies] -cairo-rs = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master", features=["use_glib"] } +cairo-rs.workspace = true atomic_refcell = "0.1" color-thief = "0.2.2" color-name = "1.0.0" @@ -17,30 +17,13 @@ image = { version = "0.24.2", default-features = false } image_hasher = "1.0.0" dssim-core = { version = "3.2.3", optional = true } rgb = { version = "0.8", optional = true } -once_cell = "1" +once_cell.workspace = true +gst = { workspace = true, features = ["v1_16"] } +gst-base = { workspace = true, features = ["v1_16"] } +gst-video = { workspace = true, features = ["v1_16"] } -[dependencies.gst] -git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" -branch = "main" -features = ["v1_16"] -package = "gstreamer" - -[dependencies.gst-base] -git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" -branch = "main" -features = ["v1_16"] -package = "gstreamer-base" - -[dependencies.gst-video] -git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" -branch = "main" -features = ["v1_16"] -package = "gstreamer-video" - -[dev-dependencies.gst-check] -git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" -branch = "main" -package = "gstreamer-check" +[dev-dependencies] +gst-check.workspace = true [lib] name = "gstrsvideofx" @@ -48,7 +31,7 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] static = [] diff --git a/video/webp/Cargo.toml b/video/webp/Cargo.toml index 99995ce0..d7271e32 100644 --- a/video/webp/Cargo.toml +++ b/video/webp/Cargo.toml @@ -1,34 +1,22 @@ [package] name = "gst-plugin-webp" -version = "0.12.0-alpha.1" +version.workspace = true authors = ["Mathieu Duponchelle "] license = "MPL-2.0" -edition = "2021" -rust-version = "1.70" +edition.workspace = true +rust-version.workspace = true description = "GStreamer WebP Plugin" -repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" +repository.workspace = true [dependencies] libwebp-sys2 = { version = "0.1.2", features = ["demux", "0_5"] } -once_cell = "1" - -[dependencies.gst] -git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" -branch = "main" -package="gstreamer" - -[dependencies.gst-video] -git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" -branch = "main" -package="gstreamer-video" +once_cell.workspace = true +gst.workspace = true +gst-video.workspace = true [dev-dependencies] pretty_assertions = "1" - -[dev-dependencies.gst-check] -git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" -branch = "main" -package="gstreamer-check" +gst-check.workspace = true [lib] name = "gstrswebp" @@ -36,7 +24,7 @@ crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] -gst-plugin-version-helper = { path="../../version-helper" } +gst-plugin-version-helper.workspace = true [features] static = []