Use workspace features for crates metadata/deps

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1446>
This commit is contained in:
Bilal Elmoussaoui 2024-02-05 14:35:07 +01:00
parent 91abc62ad0
commit 0615a16124
49 changed files with 513 additions and 554 deletions

2
Cargo.lock generated
View file

@ -2406,7 +2406,7 @@ dependencies = [
[[package]] [[package]]
name = "gst-plugin-inter" name = "gst-plugin-inter"
version = "0.11.0-alpha.1" version = "0.12.0-alpha.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"futures", "futures",

View file

@ -109,3 +109,38 @@ panic = 'unwind'
[profile.dev] [profile.dev]
opt-level = 1 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" }

View file

@ -1,17 +1,17 @@
[package] [package]
name = "gst-plugin-audiofx" name = "gst-plugin-audiofx"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Sebastian Dröge <sebastian@centricular.com>"] authors = ["Sebastian Dröge <sebastian@centricular.com>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MPL-2.0" license = "MPL-2.0"
description = "GStreamer Rust Audio Effects Plugin" description = "GStreamer Rust Audio Effects Plugin"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_20"] } gst = { workspace = true, features = ["v1_20"] }
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_20"] } gst-base = { workspace = true, features = ["v1_20"] }
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_20"] } gst-audio = { workspace = true, features = ["v1_20"] }
anyhow = "1" anyhow = "1"
byte-slice-cast = "1.0" byte-slice-cast = "1.0"
num-traits = "0.2" num-traits = "0.2"
@ -21,7 +21,7 @@ nnnoiseless = { version = "0.5", default-features = false }
smallvec = "1" smallvec = "1"
atomic_refcell = "0.1" atomic_refcell = "0.1"
rayon = "1.5" rayon = "1.5"
once_cell = "1" once_cell.workspace = true
[lib] [lib]
name = "gstrsaudiofx" name = "gstrsaudiofx"
@ -29,11 +29,11 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[dev-dependencies] [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"] }
gst-app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-app.workspace = true
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []

View file

@ -1,23 +1,23 @@
[package] [package]
name = "gst-plugin-claxon" name = "gst-plugin-claxon"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Ruben Gonzalez <rgonzalez@fluendo.com>"] authors = ["Ruben Gonzalez <rgonzalez@fluendo.com>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
description = "GStreamer Claxon FLAC Decoder Plugin" description = "GStreamer Claxon FLAC Decoder Plugin"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-audio.workspace = true
claxon = { version = "0.4" } claxon = { version = "0.4" }
byte-slice-cast = "1.0" byte-slice-cast = "1.0"
atomic_refcell = "0.1" atomic_refcell = "0.1"
once_cell = "1" once_cell.workspace = true
[dev-dependencies] [dev-dependencies]
gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-check.workspace = true
[lib] [lib]
name = "gstclaxon" name = "gstclaxon"
@ -25,7 +25,7 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []

View file

@ -1,23 +1,23 @@
[package] [package]
name = "gst-plugin-csound" name = "gst-plugin-csound"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Natanael Mojica <neithanmo@gmail.com>"] authors = ["Natanael Mojica <neithanmo@gmail.com>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MPL-2.0" license = "MPL-2.0"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
description = "GStreamer Audio Filter plugin based on Csound" description = "GStreamer Audio Filter plugin based on Csound"
[dependencies] [dependencies]
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-base.workspace = true
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-audio.workspace = true
csound = "0.1.8" csound = "0.1.8"
byte-slice-cast = "1.0" byte-slice-cast = "1.0"
once_cell = "1" once_cell.workspace = true
[dev-dependencies] [dev-dependencies]
gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-check.workspace = true
[lib] [lib]
name = "gstcsound" name = "gstcsound"
@ -29,7 +29,7 @@ name = "csound-effect"
path = "examples/effect_example.rs" path = "examples/effect_example.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path = "../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []

View file

@ -1,23 +1,23 @@
[package] [package]
name = "gst-plugin-lewton" name = "gst-plugin-lewton"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Sebastian Dröge <sebastian@centricular.com>"] authors = ["Sebastian Dröge <sebastian@centricular.com>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
description = "GStreamer lewton Vorbis Decoder Plugin" description = "GStreamer lewton Vorbis Decoder Plugin"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-audio.workspace = true
lewton = { version = "0.10", default-features = false } lewton = { version = "0.10", default-features = false }
byte-slice-cast = "1.0" byte-slice-cast = "1.0"
atomic_refcell = "0.1" atomic_refcell = "0.1"
once_cell = "1" once_cell.workspace = true
[dev-dependencies] [dev-dependencies]
gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-check.workspace = true
[lib] [lib]
name = "gstlewton" name = "gstlewton"
@ -25,7 +25,7 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []

View file

@ -1,22 +1,22 @@
[package] [package]
name = "gst-plugin-spotify" name = "gst-plugin-spotify"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Guillaume Desmottes <guillaume@desmottes.be>"] authors = ["Guillaume Desmottes <guillaume@desmottes.be>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MPL-2.0" license = "MPL-2.0"
description = "GStreamer Spotify Plugin" description = "GStreamer Spotify Plugin"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-base.workspace = true
librespot = { version = "0.4", default-features = false } librespot = { version = "0.4", default-features = false }
tokio = "1.0" tokio = "1.0"
futures = "0.3" futures = "0.3"
anyhow = "1.0" anyhow = "1.0"
url = "2.3" url = "2.3"
once_cell = "1" once_cell.workspace = true
[lib] [lib]
name = "gstspotify" name = "gstspotify"
@ -24,7 +24,7 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []

View file

@ -1,18 +1,18 @@
[package] [package]
name = "gst-plugin-file" name = "gst-plugin-file"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Sebastian Dröge <sebastian@centricular.com>"] authors = ["Sebastian Dröge <sebastian@centricular.com>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
description = "GStreamer Rust File Source/Sink Plugin" description = "GStreamer Rust File Source/Sink Plugin"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
url = "2" url = "2"
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-base.workspace = true
once_cell = "1" once_cell.workspace = true
[lib] [lib]
name = "gstrsfile" name = "gstrsfile"
@ -20,7 +20,7 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []

View file

@ -1,23 +1,23 @@
[package] [package]
name = "gst-plugin-inter" name = "gst-plugin-inter"
version = "0.11.0-alpha.1" version.workspace = true
authors = ["Mathieu Duponchelle <mathieu@centricular.com>"] authors = ["Mathieu Duponchelle <mathieu@centricular.com>"]
license = "MPL-2.0" license = "MPL-2.0"
description = "GStreamer Inter Plugin" description = "GStreamer Inter Plugin"
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
edition = "2021" edition.workspace = true
rust-version = "1.66" rust-version.workspace = true
[dependencies] [dependencies]
anyhow = "1" anyhow = "1"
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } gst = { workspace = true, features = ["v1_18"] }
gst_utils = { package = "gstreamer-utils", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-utils.workspace = true
gst_app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-app.workspace = true
once_cell = "1.0" once_cell = "1.0"
[dev-dependencies] [dev-dependencies]
pretty_assertions = "1" 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" futures = "0.3"
tokio = { version = "1", features = ["fs", "macros", "rt-multi-thread", "time"] } tokio = { version = "1", features = ["fs", "macros", "rt-multi-thread", "time"] }
tokio-stream = "0.1.11" tokio-stream = "0.1.11"
@ -29,7 +29,7 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []

View file

@ -1,16 +1,16 @@
[package] [package]
name = "gst-plugin-sodium" name = "gst-plugin-sodium"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Jordan Petridis <jordan@centricular.com>"] authors = ["Jordan Petridis <jordan@centricular.com>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
description = "GStreamer plugin for libsodium-based file encryption and decryption" description = "GStreamer plugin for libsodium-based file encryption and decryption"
license = "MIT" license = "MIT"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
gst = { package="gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-base.workspace = true
sodiumoxide = "0.2.1" sodiumoxide = "0.2.1"
once_cell = "1.3.0" once_cell = "1.3.0"
hex = "0.4" hex = "0.4"
@ -24,16 +24,8 @@ serde_json = { version = "1.0", optional = true }
[dev-dependencies] [dev-dependencies]
pretty_assertions = "1" pretty_assertions = "1"
rand = "0.8" rand = "0.8"
gst-check.workspace = true
[dev-dependencies.gst-check] gst-app.workspace = true
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"
[lib] [lib]
name = "gstsodium" name = "gstsodium"
@ -56,7 +48,7 @@ path = "examples/decrypt_example.rs"
required-features = ["serde", "serde_json", "clap"] required-features = ["serde", "serde_json", "clap"]
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []

View file

@ -1,12 +1,12 @@
[package] [package]
name = "gst-plugin-threadshare" name = "gst-plugin-threadshare"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Sebastian Dröge <sebastian@centricular.com>"] authors = ["Sebastian Dröge <sebastian@centricular.com>"]
license = "LGPL-2.1-or-later" license = "LGPL-2.1-or-later"
description = "GStreamer Threadshare Plugin" description = "GStreamer Threadshare Plugin"
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
async-task = "4.3.0" async-task = "4.3.0"
@ -14,12 +14,12 @@ cfg-if = "1"
concurrent-queue = "2.2.0" concurrent-queue = "2.2.0"
flume = "0.11" flume = "0.11"
futures = "0.3.28" futures = "0.3.28"
gio = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } gio.workspace = true
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-audio.workspace = true
gst-net = { package = "gstreamer-net", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-net.workspace = true
gst-rtp = { package = "gstreamer-rtp", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-rtp.workspace = true
once_cell = "1" once_cell.workspace = true
pin-project-lite = "0.2.0" pin-project-lite = "0.2.0"
polling = "3.1.0" polling = "3.1.0"
rand = "0.8" rand = "0.8"
@ -35,8 +35,8 @@ clap = { version = "4", features = ["derive"], optional = true }
winapi = { version = "0.3.9", features = ["winsock2", "processthreadsapi"] } winapi = { version = "0.3.9", features = ["winsock2", "processthreadsapi"] }
[dev-dependencies] [dev-dependencies]
gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-check.workspace = true
gst-app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-app.workspace = true
[lib] [lib]
name = "gstthreadshare" name = "gstthreadshare"
@ -60,7 +60,7 @@ name = "ts-standalone"
path = "examples/standalone/main.rs" path = "examples/standalone/main.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
cc = "1.0.38" cc = "1.0.38"
pkg-config = "0.3.15" pkg-config = "0.3.15"

View file

@ -1,24 +1,24 @@
[package] [package]
name = "gst-plugin-flavors" name = "gst-plugin-flavors"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Sebastian Dröge <sebastian@centricular.com>"] authors = ["Sebastian Dröge <sebastian@centricular.com>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
description = "GStreamer Rust FLV Plugin" description = "GStreamer Rust FLV Plugin"
[dependencies] [dependencies]
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-base.workspace = true
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-audio.workspace = true
num-rational = { version = "0.4", default-features = false, features = [] } num-rational = { version = "0.4", default-features = false, features = [] }
nom = "7" nom = "7"
flavors = { git = "https://github.com/rust-av/flavors" } flavors = { git = "https://github.com/rust-av/flavors" }
muldiv = "1.0" muldiv = "1.0"
byteorder = "1.0" byteorder = "1.0"
smallvec = "1.0" smallvec = "1.0"
once_cell = "1" once_cell.workspace = true
[lib] [lib]
name = "gstrsflv" name = "gstrsflv"
@ -26,7 +26,7 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []

View file

@ -1,21 +1,21 @@
[package] [package]
name = "gst-plugin-fmp4" name = "gst-plugin-fmp4"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Sebastian Dröge <sebastian@centricular.com>"] authors = ["Sebastian Dröge <sebastian@centricular.com>"]
license = "MPL-2.0" license = "MPL-2.0"
description = "GStreamer Fragmented MP4 Plugin" description = "GStreamer Fragmented MP4 Plugin"
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
anyhow = "1" anyhow = "1"
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } gst = { workspace = true, features = ["v1_18"] }
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } gst-base = { workspace = true, features = ["v1_18"] }
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } gst-audio = { workspace = true, features = ["v1_18"] }
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } gst-video = { workspace = true, features = ["v1_18"] }
gst-pbutils = { package = "gstreamer-pbutils", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } gst-pbutils = { workspace = true, features = ["v1_18"] }
once_cell = "1" once_cell.workspace = true
[lib] [lib]
name = "gstfmp4" name = "gstfmp4"
@ -23,9 +23,8 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[dev-dependencies] [dev-dependencies]
gst-app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } gst-app = { workspace = true, features = ["v1_18"] }
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"] }
gst-pbutils = { package = "gstreamer-pbutils", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_20"] }
m3u8-rs = "5.0" m3u8-rs = "5.0"
chrono = "0.4" chrono = "0.4"
dash-mpd = { version = "0.14", default-features = false } dash-mpd = { version = "0.14", default-features = false }
@ -33,7 +32,7 @@ quick-xml = { version = "0.31", features = ["serialize"] }
serde = "1" serde = "1"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
default = [] default = []

View file

@ -1,21 +1,21 @@
[package] [package]
name = "gst-plugin-mp4" name = "gst-plugin-mp4"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Sebastian Dröge <sebastian@centricular.com>"] authors = ["Sebastian Dröge <sebastian@centricular.com>"]
license = "MPL-2.0" license = "MPL-2.0"
description = "GStreamer Rust MP4 Plugin" description = "GStreamer Rust MP4 Plugin"
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
anyhow = "1" anyhow = "1"
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } gst = { workspace = true, features = ["v1_18"] }
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } gst-base = { workspace = true, features = ["v1_18"] }
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } gst-audio = { workspace = true, features = ["v1_18"] }
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } gst-video = { workspace = true, features = ["v1_18"] }
gst-pbutils = { package = "gstreamer-pbutils", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } gst-pbutils = { workspace = true, features = ["v1_18"] }
once_cell = "1" once_cell.workspace = true
[lib] [lib]
name = "gstmp4" name = "gstmp4"
@ -27,7 +27,7 @@ tempfile = "3"
url = "2" url = "2"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
default = [] default = []

View file

@ -1,14 +1,14 @@
[package] [package]
name = "gst-plugin-aws" name = "gst-plugin-aws"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Arun Raghavan <arun@arunraghavan.net>", authors = ["Arun Raghavan <arun@arunraghavan.net>",
"Jordan Petridis <jordan@centricular.com>", "Jordan Petridis <jordan@centricular.com>",
"Mathieu Duponchelle <mathieu@centricular.com>"] "Mathieu Duponchelle <mathieu@centricular.com>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MPL-2.0" license = "MPL-2.0"
description = "GStreamer Amazon Web Services plugin" description = "GStreamer Amazon Web Services plugin"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
async-stream = "0.3.4" async-stream = "0.3.4"
@ -21,22 +21,22 @@ aws-types = "1.0"
aws-credential-types = "1.0" aws-credential-types = "1.0"
bytes = "1.0" bytes = "1.0"
futures = "0.3" futures = "0.3"
gio = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } gio.workspace = true
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-base.workspace = true
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_16"] } gst-audio = { workspace = true, features = ["v1_16"] }
percent-encoding = "2" percent-encoding = "2"
tokio = { version = "1.0", features = [ "full" ] } tokio = { version = "1.0", features = [ "full" ] }
serde = "1" serde = "1"
serde_derive = "1" serde_derive = "1"
serde_json = "1" serde_json = "1"
url = "2" url = "2"
once_cell = "1" once_cell.workspace = true
[dev-dependencies] [dev-dependencies]
chrono = { version = "0.4", features = [ "alloc" ] } chrono = { version = "0.4", features = [ "alloc" ] }
env_logger = "0.10" 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" rand = "0.8"
test-with = { version = "0.12", default-features = false } test-with = { version = "0.12", default-features = false }
@ -46,7 +46,7 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []

View file

@ -1,32 +1,32 @@
[package] [package]
name = "gst-plugin-hlssink3" name = "gst-plugin-hlssink3"
description = "GStreamer HLS (HTTP Live Streaming) Plugin" description = "GStreamer HLS (HTTP Live Streaming) Plugin"
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Rafael Caricio <rafael@caricio.com>"] authors = ["Rafael Caricio <rafael@caricio.com>"]
edition = "2021" edition.workspace = true
license = "MPL-2.0" license = "MPL-2.0"
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
gst_app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-app.workspace = true
gio = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } gio.workspace = true
once_cell = "1.7.2" once_cell = "1.7.2"
m3u8-rs = "5.0" m3u8-rs = "5.0"
chrono = "0.4" chrono = "0.4"
sprintf = "0.1.3" sprintf = "0.1.3"
[dev-dependencies] [dev-dependencies]
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-audio.workspace = true
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-video.workspace = true
gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-check.workspace = true
gst-pbutils = { package = "gstreamer-pbutils", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_20"] } gst-pbutils = { workspace = true, features = ["v1_20"] }
m3u8-rs = "5.0" m3u8-rs = "5.0"
anyhow = "1" anyhow = "1"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path = "../../version-helper" } gst-plugin-version-helper.workspace = true
[lib] [lib]
name = "gsthlssink3" name = "gsthlssink3"

View file

@ -1,19 +1,19 @@
[package] [package]
name = "gst-plugin-ndi" name = "gst-plugin-ndi"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Ruben Gonzalez <rubenrua@teltek.es>", "Daniel Vilar <daniel.peiteado@teltek.es>", "Sebastian Dröge <sebastian@centricular.com>"] authors = ["Ruben Gonzalez <rubenrua@teltek.es>", "Daniel Vilar <daniel.peiteado@teltek.es>", "Sebastian Dröge <sebastian@centricular.com>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MPL-2.0" license = "MPL-2.0"
description = "GStreamer NewTek NDI Plugin" description = "GStreamer NewTek NDI Plugin"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } glib.workspace = true
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_16"] } gst = { workspace = true, features = ["v1_16"] }
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_16"] } gst-base = { workspace = true, features = ["v1_16"] }
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_16"] } gst-audio = { workspace = true, features = ["v1_16"] }
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_16"] } gst-video = { workspace = true, features = ["v1_16"] }
anyhow = "1.0" anyhow = "1.0"
byte-slice-cast = "1" byte-slice-cast = "1"
byteorder = "1.0" byteorder = "1.0"
@ -23,10 +23,10 @@ libloading = "0.8"
quick-xml = "0.31" quick-xml = "0.31"
smallvec = { version = "1.11", features = ["const_generics"] } smallvec = { version = "1.11", features = ["const_generics"] }
thiserror = "1.0" thiserror = "1.0"
once_cell = "1" once_cell.workspace = true
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path = "../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
default = ["sink"] default = ["sink"]

View file

@ -1,25 +1,25 @@
[package] [package]
name = "gst-plugin-onvif" name = "gst-plugin-onvif"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Mathieu Duponchelle <mathieu@centricular.com>"] authors = ["Mathieu Duponchelle <mathieu@centricular.com>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MPL-2.0" license = "MPL-2.0"
description = "GStreamer Rust ONVIF Plugin" description = "GStreamer Rust ONVIF Plugin"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_20"] } gst = { workspace = true, features = ["v1_20"] }
gst-rtp = { package = "gstreamer-rtp", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_20"] } gst-rtp = { workspace = true, features = ["v1_20"] }
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_20"] } gst-base = { workspace = true, features = ["v1_20"] }
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_20"] } gst-video = { workspace = true, features = ["v1_20"] }
xmlparser = "0.13" xmlparser = "0.13"
chrono = { version = "0.4.31", default-features = false } chrono = { version = "0.4.31", default-features = false }
cairo-rs = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master", features=["use_glib"] } cairo-rs.workspace = true
pango = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } pango.workspace = true
pangocairo = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } pangocairo.workspace = true
xmltree = "0.10" xmltree = "0.10"
once_cell = "1" once_cell.workspace = true
[lib] [lib]
name = "gstrsonvif" name = "gstrsonvif"
@ -27,7 +27,7 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []

View file

@ -1,22 +1,22 @@
[package] [package]
name = "gst-plugin-raptorq" name = "gst-plugin-raptorq"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Tomasz Andrzejak <andreiltd@gmail.com>"] authors = ["Tomasz Andrzejak <andreiltd@gmail.com>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
description = "GStreamer RaptorQ FEC Plugin" description = "GStreamer RaptorQ FEC Plugin"
license = "MPL-2.0" license = "MPL-2.0"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-base.workspace = true
gst-rtp = { package = "gstreamer-rtp", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-rtp.workspace = true
once_cell = "1" once_cell.workspace = true
raptorq = "1.7" raptorq = "1.7"
[dev-dependencies] [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" rand = "0.8"
[lib] [lib]
@ -25,7 +25,7 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []

View file

@ -1,12 +1,12 @@
[package] [package]
name = "gst-plugin-reqwest" name = "gst-plugin-reqwest"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Sebastian Dröge <sebastian@centricular.com>"] authors = ["Sebastian Dröge <sebastian@centricular.com>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
description = "GStreamer reqwest HTTP Source Plugin" description = "GStreamer reqwest HTTP Source Plugin"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
url = "2.1" url = "2.1"
@ -14,14 +14,14 @@ reqwest = { version = "0.11", features = ["cookies", "gzip"] }
futures = "0.3" futures = "0.3"
headers = "0.3" headers = "0.3"
mime = "0.3" mime = "0.3"
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-base.workspace = true
tokio = { version = "1.0", default-features = false, features = ["time", "rt-multi-thread"] } tokio = { version = "1.0", default-features = false, features = ["time", "rt-multi-thread"] }
once_cell = "1" once_cell.workspace = true
[dev-dependencies] [dev-dependencies]
hyper = { version = "0.14", features = ["server"] } hyper = { version = "0.14", features = ["server"] }
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
[lib] [lib]
name = "gstreqwest" name = "gstreqwest"
@ -29,7 +29,7 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []

View file

@ -1,25 +1,25 @@
[package] [package]
name = "gst-plugin-rtp" name = "gst-plugin-rtp"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Vivienne Watermeier <vwatermeier@igalia.com>", "Sebastian Dröge <sebastian@centricular.com>"] authors = ["Vivienne Watermeier <vwatermeier@igalia.com>", "Sebastian Dröge <sebastian@centricular.com>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MPL-2.0" license = "MPL-2.0"
edition = "2021" edition.workspace = true
description = "GStreamer Rust RTP Plugin" description = "GStreamer Rust RTP Plugin"
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
bitstream-io = "2.0" bitstream-io = "2.0"
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_20"] } gst = { workspace = true, features = ["v1_20"] }
gst-rtp = { package = "gstreamer-rtp", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_20"]} gst-rtp = { workspace = true, features = ["v1_20"]}
chrono = { version = "0.4", default-features = false } chrono = { version = "0.4", default-features = false }
once_cell = "1" once_cell.workspace = true
[dev-dependencies] [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] [build-dependencies]
gst-plugin-version-helper = { path = "../../version-helper" } gst-plugin-version-helper.workspace = true
[lib] [lib]
name = "gstrsrtp" name = "gstrsrtp"

View file

@ -1,22 +1,22 @@
[package] [package]
name = "gst-plugin-webrtc" name = "gst-plugin-webrtc"
version = "0.12.0-alpha.1" version.workspace = true
edition = "2021" edition.workspace = true
authors = ["Mathieu Duponchelle <mathieu@centricular.com>", "Thibault Saunier <tsaunier@igalia.com>"] authors = ["Mathieu Duponchelle <mathieu@centricular.com>", "Thibault Saunier <tsaunier@igalia.com>"]
license = "MPL-2.0" license = "MPL-2.0"
description = "GStreamer plugin for high level WebRTC elements and a simple signaling server" description = "GStreamer plugin for high level WebRTC elements and a simple signaling server"
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
gst = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", package = "gstreamer", features = ["v1_20", "serde"] } gst = { workspace = true, features = ["v1_20", "serde"] }
gst-app = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", package = "gstreamer-app", features = ["v1_20"] } gst-app = { workspace = true, features = ["v1_20"] }
gst-video = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", package = "gstreamer-video", features = ["v1_20", "serde"] } gst-video = { workspace = true, features = ["v1_20", "serde"] }
gst-webrtc = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", package = "gstreamer-webrtc", features = ["v1_20"] } gst-webrtc = { workspace = true, features = ["v1_20"] }
gst-sdp = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", package = "gstreamer-sdp", features = ["v1_20"] } gst-sdp = { workspace = true, features = ["v1_20"] }
gst-rtp = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", package = "gstreamer-rtp", features = ["v1_20"] } gst-rtp = { workspace = true, features = ["v1_20"] }
gst-utils = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", package = "gstreamer-utils" } gst-utils.workspace = true
gst-base = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", package = "gstreamer-base" } gst-base.workspace = true
uuid = { version = "1", features = ["v4"] } uuid = { version = "1", features = ["v4"] }
anyhow = "1" anyhow = "1"
@ -57,7 +57,7 @@ livekit-api = { version = "0.3", default-features = false, features = ["signal-c
warp = "0.3" warp = "0.3"
crossbeam-channel = "0.5" crossbeam-channel = "0.5"
rand = "0.8" rand = "0.8"
once_cell = "1" once_cell.workspace = true
[dev-dependencies] [dev-dependencies]
tracing = { version = "0.1", features = ["log"] } tracing = { version = "0.1", features = ["log"] }
@ -71,7 +71,7 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path = "../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
default = ["v1_22"] default = ["v1_22"]

View file

@ -1,12 +1,12 @@
[package] [package]
name = "gst-plugin-webrtc-signalling-protocol" name = "gst-plugin-webrtc-signalling-protocol"
version = "0.12.0-alpha.1" version.workspace = true
edition = "2021" edition.workspace = true
authors = ["Mathieu Duponchelle <mathieu@centricular.com>"] authors = ["Mathieu Duponchelle <mathieu@centricular.com>"]
license = "MPL-2.0" license = "MPL-2.0"
description = "GStreamer WebRTC sink default protocol" description = "GStreamer WebRTC sink default protocol"
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }

View file

@ -1,12 +1,12 @@
[package] [package]
name = "gst-plugin-webrtc-signalling" name = "gst-plugin-webrtc-signalling"
version = "0.12.0-alpha.1" version.workspace = true
edition = "2021" edition.workspace = true
authors = ["Mathieu Duponchelle <mathieu@centricular.com>"] authors = ["Mathieu Duponchelle <mathieu@centricular.com>"]
license = "MPL-2.0" license = "MPL-2.0"
description = "GStreamer WebRTC sink signalling server" description = "GStreamer WebRTC sink signalling server"
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
anyhow = "1" anyhow = "1"

View file

@ -1,26 +1,26 @@
[package] [package]
name = "gst-plugin-webrtchttp" name = "gst-plugin-webrtchttp"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Taruntej Kanakamalla <taruntej@asymptotic.io"] authors = ["Taruntej Kanakamalla <taruntej@asymptotic.io"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MPL-2.0" license = "MPL-2.0"
edition = "2021" edition.workspace = true
description = "GStreamer WebRTC Plugin for WebRTC HTTP protocols (WHIP/WHEP)" description = "GStreamer WebRTC Plugin for WebRTC HTTP protocols (WHIP/WHEP)"
rust-version = "1.70" 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", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
gst-webrtc = { package = "gstreamer-webrtc", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } gst-webrtc = { workspace = true, features = ["v1_18"] }
gst-sdp = { package = "gstreamer-sdp", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-sdp.workspace = true
reqwest = { version = "0.11", features = ["default-tls"] } reqwest = { version = "0.11", features = ["default-tls"] }
parse_link_header = {version = "0.3", features = ["url"]} parse_link_header = {version = "0.3", features = ["url"]}
tokio = { version = "1.20.1", default-features = false, features = ["time", "rt-multi-thread"] } tokio = { version = "1.20.1", default-features = false, features = ["time", "rt-multi-thread"] }
futures = "0.3.23" futures = "0.3.23"
bytes = "1" bytes = "1"
async-recursion = "1.0.0" async-recursion = "1.0.0"
once_cell = "1" once_cell.workspace = true
[lib] [lib]
name = "gstwebrtchttp" name = "gstwebrtchttp"
@ -28,7 +28,7 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []

View file

@ -1,16 +1,16 @@
[package] [package]
name = "gst-plugin-textahead" name = "gst-plugin-textahead"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Guillaume Desmottes <guillaume@desmottes.be>"] authors = ["Guillaume Desmottes <guillaume@desmottes.be>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MPL-2.0" license = "MPL-2.0"
description = "GStreamer Plugin for displaying upcoming text buffers ahead of time" description = "GStreamer Plugin for displaying upcoming text buffers ahead of time"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
once_cell = "1" once_cell.workspace = true
[lib] [lib]
name = "gsttextahead" name = "gsttextahead"
@ -18,7 +18,7 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []

View file

@ -1,23 +1,18 @@
[package] [package]
name = "gst-plugin-json" name = "gst-plugin-json"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Mathieu Duponchelle <mathieu@centricular.com>"] authors = ["Mathieu Duponchelle <mathieu@centricular.com>"]
license = "MPL-2.0" license = "MPL-2.0"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
description = "GStreamer JSON Plugin" description = "GStreamer JSON Plugin"
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
[dependencies] [dependencies]
once_cell = "1" once_cell.workspace = true
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["raw_value"] } serde_json = { version = "1.0", features = ["raw_value"] }
gst = { workspace = true, features = ["serde"]}
[dependencies.gst]
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
branch = "main"
package="gstreamer"
features=["serde"]
[lib] [lib]
name = "gstjson" name = "gstjson"
@ -25,12 +20,10 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[dev-dependencies.gst-check] [dev-dependencies]
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" gst-check.workspace = true
branch = "main"
package="gstreamer-check"
[features] [features]
static = [] static = []

View file

@ -1,21 +1,17 @@
[package] [package]
name = "gst-plugin-regex" name = "gst-plugin-regex"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Mathieu Duponchelle <mathieu@centricular.com>"] authors = ["Mathieu Duponchelle <mathieu@centricular.com>"]
license = "MPL-2.0" license = "MPL-2.0"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
description = "GStreamer Regular Expression Plugin" description = "GStreamer Regular Expression Plugin"
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
[dependencies] [dependencies]
once_cell = "1" once_cell.workspace = true
regex = "1.5" regex = "1.5"
gst.workspace = true
[dependencies.gst]
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
branch = "main"
package="gstreamer"
[lib] [lib]
name = "gstregex" name = "gstregex"
@ -23,12 +19,10 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[dev-dependencies.gst-check] [dev-dependencies]
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" gst-check.workspace = true
branch = "main"
package="gstreamer-check"
[features] [features]
static = [] static = []

View file

@ -1,22 +1,18 @@
[package] [package]
name = "gst-plugin-textwrap" name = "gst-plugin-textwrap"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Mathieu Duponchelle <mathieu@centricular.com>"] authors = ["Mathieu Duponchelle <mathieu@centricular.com>"]
license = "MPL-2.0" license = "MPL-2.0"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
description = "GStreamer Text Wrap Plugin" description = "GStreamer Text Wrap Plugin"
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
[dependencies] [dependencies]
textwrap = { version = "0.16", features = ["hyphenation"] } textwrap = { version = "0.16", features = ["hyphenation"] }
hyphenation = "0.8" hyphenation = "0.8"
once_cell = "1" once_cell.workspace = true
gst.workspace = true
[dependencies.gst]
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
branch = "main"
package="gstreamer"
[lib] [lib]
name = "gsttextwrap" name = "gsttextwrap"
@ -24,12 +20,10 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[dev-dependencies.gst-check] [dev-dependencies]
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" gst-check.workspace = true
branch = "main"
package="gstreamer-check"
[features] [features]
static = [] static = []

View file

@ -1,21 +1,21 @@
[package] [package]
name = "gst-plugin-tutorial" name = "gst-plugin-tutorial"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Sebastian Dröge <sebastian@centricular.com>"] authors = ["Sebastian Dröge <sebastian@centricular.com>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
description = "GStreamer Rust Tutorial Plugin" description = "GStreamer Rust Tutorial Plugin"
[dependencies] [dependencies]
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-base.workspace = true
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-video.workspace = true
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-audio.workspace = true
byte-slice-cast = "1.0" byte-slice-cast = "1.0"
num-traits = "0.2" num-traits = "0.2"
once_cell = "1" once_cell.workspace = true
[lib] [lib]
name = "gstrstutorial" name = "gstrstutorial"
@ -23,4 +23,4 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../version-helper" } gst-plugin-version-helper.workspace = true

View file

@ -1,27 +1,27 @@
[package] [package]
name = "gst-plugin-fallbackswitch" name = "gst-plugin-fallbackswitch"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Sebastian Dröge <sebastian@centricular.com>", "Jan Schmidt <jan@centricular.com>"] authors = ["Sebastian Dröge <sebastian@centricular.com>", "Jan Schmidt <jan@centricular.com>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MPL-2.0" license = "MPL-2.0"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
description = "GStreamer Fallback Switcher and Source Plugin" description = "GStreamer Fallback Switcher and Source Plugin"
[dependencies] [dependencies]
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-base.workspace = true
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-audio.workspace = true
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-video.workspace = true
gst-plugin-gtk4 = { path = "../../video/gtk4", optional = 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 }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master", optional = true } gio = { workspace = true, optional = true }
parking_lot = "0.12" parking_lot = "0.12"
once_cell = "1" once_cell.workspace = true
[dev-dependencies] [dev-dependencies]
gst-app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-app.workspace = true
gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-check.workspace = true
[lib] [lib]
name = "gstfallbackswitch" name = "gstfallbackswitch"
@ -35,7 +35,7 @@ required-features = ["gtk", "gio", "gst-plugin-gtk4"]
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
default = ["v1_20"] default = ["v1_20"]

View file

@ -1,26 +1,26 @@
[package] [package]
name = "gst-plugin-livesync" name = "gst-plugin-livesync"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Jan Alexander Steffens (heftig) <jan.steffens@ltnglobal.com>"] authors = ["Jan Alexander Steffens (heftig) <jan.steffens@ltnglobal.com>"]
license = "MPL-2.0" license = "MPL-2.0"
description = "Livesync Plugin" description = "Livesync Plugin"
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
gio = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master", optional = true } gio = { workspace = true, optional = true }
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-audio.workspace = true
gst-plugin-gtk4 = { path = "../../video/gtk4", optional = 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" muldiv = "1.0"
num-rational = { version = "0.4", default-features = false, features = [] } num-rational = { version = "0.4", default-features = false, features = [] }
once_cell = "1" once_cell.workspace = true
parking_lot = "0.12" parking_lot = "0.12"
[dev-dependencies] [dev-dependencies]
gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-check.workspace = true
[lib] [lib]
name = "gstlivesync" name = "gstlivesync"
@ -37,7 +37,7 @@ name = "livesync"
path = "tests/livesync.rs" path = "tests/livesync.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []

View file

@ -1,26 +1,26 @@
[package] [package]
name = "gst-plugin-togglerecord" name = "gst-plugin-togglerecord"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Sebastian Dröge <sebastian@centricular.com>"] authors = ["Sebastian Dröge <sebastian@centricular.com>"]
license = "MPL-2.0" license = "MPL-2.0"
description = "GStreamer Toggle Record Plugin" description = "GStreamer Toggle Record Plugin"
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-audio.workspace = true
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-video.workspace = true
gst-plugin-gtk4 = { path = "../../video/gtk4", optional = 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 }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master", optional = true } gio = { workspace = true, optional = true }
parking_lot = "0.12" parking_lot = "0.12"
once_cell = "1" once_cell.workspace = true
[dev-dependencies] [dev-dependencies]
either = "1.0" either = "1.0"
gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-check.workspace = true
[lib] [lib]
name = "gsttogglerecord" name = "gsttogglerecord"
@ -33,7 +33,7 @@ path = "examples/gtk_recording.rs"
required-features = ["gtk", "gio", "gst-plugin-gtk4"] required-features = ["gtk", "gio", "gst-plugin-gtk4"]
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []

View file

@ -1,18 +1,18 @@
[package] [package]
name = "gst-plugin-tracers" name = "gst-plugin-tracers"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Guillaume Desmottes <guillaume.desmottes@onestream.live>"] authors = ["Guillaume Desmottes <guillaume.desmottes@onestream.live>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MPL-2.0" license = "MPL-2.0"
edition = "2021" edition.workspace = true
description = "GStreamer Rust tracers plugin" description = "GStreamer Rust tracers plugin"
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
anyhow = "1" anyhow = "1"
regex = "1" regex = "1"
once_cell = "1" once_cell.workspace = true
[target.'cfg(unix)'.dependencies] [target.'cfg(unix)'.dependencies]
signal-hook = "0.3" signal-hook = "0.3"
@ -23,7 +23,7 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []

View file

@ -1,22 +1,22 @@
[package] [package]
name = "gst-plugin-uriplaylistbin" name = "gst-plugin-uriplaylistbin"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Guillaume Desmottes <guillaume.desmottes@onestream.live>"] authors = ["Guillaume Desmottes <guillaume.desmottes@onestream.live>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MPL-2.0" license = "MPL-2.0"
edition = "2021" edition.workspace = true
description = "GStreamer Playlist Playback Plugin" description = "GStreamer Playlist Playback Plugin"
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
anyhow = "1" anyhow = "1"
clap = { version = "4", optional = true, features = ["derive"] } clap = { version = "4", optional = true, features = ["derive"] }
thiserror = "1" thiserror = "1"
once_cell = "1" once_cell.workspace = true
[dev-dependencies] [dev-dependencies]
gst-app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-app.workspace = true
url = "2.2" url = "2.2"
more-asserts = "0.3" more-asserts = "0.3"
@ -31,7 +31,7 @@ path = "examples/playlist.rs"
required-features = ["clap"] required-features = ["clap"]
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []

View file

@ -5,11 +5,11 @@ authors = ["Sajeer Ahamed <ahamedsajeer.15.15@cse.mrt.ac.lk>",
"Sebastian Dröge <sebastian@centricular.com>"] "Sebastian Dröge <sebastian@centricular.com>"]
categories = ["development-tools"] categories = ["development-tools"]
description = "build.rs helper function for GStreamer plugin metadata" description = "build.rs helper function for GStreamer plugin metadata"
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MIT" license = "MIT"
homepage = "https://gstreamer.freedesktop.org" homepage = "https://gstreamer.freedesktop.org"
keywords = ["gstreamer", "multimedia", "cargo"] keywords = ["gstreamer", "multimedia", "cargo"]
edition = "2021" edition.workspace = true
rust-version = "1.67" rust-version = "1.67"
[dependencies] [dependencies]

View file

@ -1,25 +1,25 @@
[package] [package]
name = "gst-plugin-cdg" name = "gst-plugin-cdg"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Guillaume Desmottes <guillaume.desmottes@collabora.com>"] authors = ["Guillaume Desmottes <guillaume.desmottes@collabora.com>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
description = "GStreamer CDG codec Plugin" description = "GStreamer CDG codec Plugin"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-base.workspace = true
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-video.workspace = true
cdg = "0.1" cdg = "0.1"
cdg_renderer = "0.7" cdg_renderer = "0.7"
image = { version = "0.24", default-features = false } image = { version = "0.24", default-features = false }
muldiv = "1.0" muldiv = "1.0"
once_cell = "1" once_cell.workspace = true
[dev-dependencies] [dev-dependencies]
gst-app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-app.workspace = true
[lib] [lib]
name = "gstcdg" name = "gstcdg"
@ -27,7 +27,7 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []

View file

@ -1,12 +1,12 @@
[package] [package]
name = "gst-plugin-closedcaption" name = "gst-plugin-closedcaption"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Sebastian Dröge <sebastian@centricular.com>", "Jordan Petridis <jordan@centricular.com>", "Matthew Waters <matthew@centricular.com>"] authors = ["Sebastian Dröge <sebastian@centricular.com>", "Jordan Petridis <jordan@centricular.com>", "Matthew Waters <matthew@centricular.com>"]
license = "MPL-2.0" license = "MPL-2.0"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
description = "GStreamer Rust Closed Caption Plugin" description = "GStreamer Rust Closed Caption Plugin"
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
[dependencies] [dependencies]
anyhow = "1" anyhow = "1"
@ -15,41 +15,22 @@ either = "1"
uuid = { version = "1.0", features = ["v4"] } uuid = { version = "1.0", features = ["v4"] }
chrono = "0.4.23" chrono = "0.4.23"
atomic_refcell = "0.1" atomic_refcell = "0.1"
cairo-rs = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master", features=["use_glib"] } cairo-rs.workspace = true
pango = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } pango.workspace = true
pangocairo = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } pangocairo.workspace = true
byteorder = "1" byteorder = "1"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["raw_value"] } serde_json = { version = "1.0", features = ["raw_value"] }
cea708-types = "0.3" cea708-types = "0.3"
once_cell = "1" once_cell.workspace = true
gst = { workspace = true, features = ["v1_16"]}
[dependencies.gst] gst-base = { workspace = true, features = ["v1_16"]}
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" gst-video = { workspace = true, features = ["v1_16"]}
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] [dev-dependencies]
pretty_assertions = "1" pretty_assertions = "1"
rand = { version = "0.8", features = ["small_rng"] } rand = { version = "0.8", features = ["small_rng"] }
gst-check.workspace = true
[dev-dependencies.gst-check]
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
branch = "main"
package="gstreamer-check"
[lib] [lib]
name = "gstrsclosedcaption" name = "gstrsclosedcaption"
@ -57,7 +38,7 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
cc = "1.0" cc = "1.0"
[features] [features]

View file

@ -1,20 +1,20 @@
[package] [package]
name = "gst-plugin-dav1d" name = "gst-plugin-dav1d"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Philippe Normand <philn@igalia.com>"] authors = ["Philippe Normand <philn@igalia.com>"]
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
description = "GStreamer dav1d AV1 decoder Plugin" description = "GStreamer dav1d AV1 decoder Plugin"
[dependencies] [dependencies]
dav1d = "0.9" dav1d = "0.9"
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-base.workspace = true
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-video.workspace = true
num_cpus = "1.0" num_cpus = "1.0"
once_cell = "1" once_cell.workspace = true
[lib] [lib]
name = "gstdav1d" name = "gstdav1d"
@ -22,7 +22,7 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path = "../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []

View file

@ -1,29 +1,29 @@
[package] [package]
name = "gst-plugin-ffv1" name = "gst-plugin-ffv1"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Arun Raghavan <arun@asymptotic.io>"] authors = ["Arun Raghavan <arun@asymptotic.io>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
description = "GStreamer FFV1 Decoder Plugin" description = "GStreamer FFV1 Decoder Plugin"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
byte-slice-cast = "1" byte-slice-cast = "1"
ffv1 = { git = "https://github.com/rust-av/ffv1.git", rev = "2afb025a327173ce891954c052e804d0f880368a" } 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 = { workspace = true, features = ["v1_18"] }
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_18"] } gst-video = { workspace = true, features = ["v1_18"] }
once_cell = "1" once_cell.workspace = true
[dev-dependencies] [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] [lib]
name = "gstffv1" name = "gstffv1"
crate-type = ["cdylib", "rlib"] crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []

View file

@ -1,22 +1,22 @@
[package] [package]
name = "gst-plugin-gif" name = "gst-plugin-gif"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Markus Ebner <info@ebner-markus.de>"] authors = ["Markus Ebner <info@ebner-markus.de>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
description = "GStreamer GIF plugin" description = "GStreamer GIF plugin"
[dependencies] [dependencies]
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-video.workspace = true
gif = "0.13" gif = "0.13"
atomic_refcell = "0.1" atomic_refcell = "0.1"
once_cell = "1" once_cell.workspace = true
[dev-dependencies] [dev-dependencies]
gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-check.workspace = true
[lib] [lib]
name = "gstgif" name = "gstgif"
@ -28,7 +28,7 @@ name = "testvideosrc2gif"
path = "examples/testvideosrc2gif.rs" path = "examples/testvideosrc2gif.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []

View file

@ -1,38 +1,38 @@
[package] [package]
name = "gst-plugin-gtk4" name = "gst-plugin-gtk4"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Bilal Elmoussaoui <bil.elmoussaoui@gmail.com>", "Jordan Petridis <jordan@centricular.com>", "Sebastian Dröge <sebastian@centricular.com>"] authors = ["Bilal Elmoussaoui <bil.elmoussaoui@gmail.com>", "Jordan Petridis <jordan@centricular.com>", "Sebastian Dröge <sebastian@centricular.com>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MPL-2.0" license = "MPL-2.0"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
description = "GStreamer GTK 4 Sink element and Paintable widget" description = "GStreamer GTK 4 Sink element and Paintable widget"
[dependencies] [dependencies]
gtk = { package = "gtk4", git = "https://github.com/gtk-rs/gtk4-rs", branch = "master" } gtk.workspace = true
gdk_wayland = { package = "gdk4-wayland", git = "https://github.com/gtk-rs/gtk4-rs", branch = "master", features = ["v4_4"], optional = true} gdk-wayland = { workspace = true, 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} 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 = { workspace = true, features = ["v1_16"] }
gst_base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-base.workspace = true
gst_video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-video.workspace = true
gst_gl = { package = "gstreamer-gl", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_16"], optional = 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-wayland = { workspace = true, 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-x11 = { workspace = true, 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-egl = { workspace = true, features = ["v1_16"], optional = true }
async-channel = "2.0.0" async-channel = "2.0.0"
once_cell = "1" once_cell.workspace = true
[target.'cfg(target_os = "macos")'.dependencies] [target.'cfg(target_os = "macos")'.dependencies]
gtk = { package = "gtk4", git = "https://github.com/gtk-rs/gtk4-rs", branch = "master", features = ["v4_6"] } gtk = { workspace = true, features = ["v4_6"] }
gst_gl = { package = "gstreamer-gl", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_16"] } gst-gl = { workspace = true, features = ["v1_16"] }
[target.'cfg(target_os = "windows")'.dependencies] [target.'cfg(target_os = "windows")'.dependencies]
gtk = { package = "gtk4", git = "https://github.com/gtk-rs/gtk4-rs", branch = "master", features = ["v4_6"] } gtk = { workspace = true, features = ["v4_6"] }
gst_gl = { package = "gstreamer-gl", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main", features = ["v1_20"] } gst-gl = { workspace = true, features = ["v1_20"] }
gdk_win32 = { package = "gdk4-win32", git = "https://github.com/gtk-rs/gtk4-rs", branch = "master", features = ["v4_4"]} gdk-win32 = { workspace = true, features = ["v4_4"]}
windows-sys = { version = "0.52", features = ["Win32_Graphics_OpenGL", "Win32_Foundation", "Win32_Graphics_Gdi"] } windows-sys = { version = "0.52", features = ["Win32_Graphics_OpenGL", "Win32_Foundation", "Win32_Graphics_Gdi"] }
[lib] [lib]
@ -41,15 +41,15 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
default = [] default = []
static = [] static = []
wayland = ["gtk/v4_6", "gdk_wayland", "gst_gl", "gst_gl_wayland"] wayland = ["gtk/v4_6", "gdk-wayland", "gst-gl", "gst-gl-wayland"]
x11glx = ["gtk/v4_6", "gdk_x11", "gst_gl", "gst_gl_x11"] x11glx = ["gtk/v4_6", "gdk-x11", "gst-gl", "gst-gl-x11"]
x11egl = ["gtk/v4_6", "gdk_x11", "gst_gl", "gst_gl_egl"] x11egl = ["gtk/v4_6", "gdk-x11", "gst-gl", "gst-gl-egl"]
winegl = ["gdk_win32/egl", "gst_gl_egl"] winegl = ["gdk-win32/egl", "gst-gl-egl"]
capi = [] capi = []
doc = ["gst/v1_18"] doc = ["gst/v1_18"]

View file

@ -11,7 +11,7 @@
use gst_video::prelude::*; 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 gst_gl::prelude::*;
use gtk::{gdk, glib}; use gtk::{gdk, glib};
use std::collections::{HashMap, HashSet}; use std::collections::{HashMap, HashSet};
@ -19,7 +19,7 @@ use std::collections::{HashMap, HashSet};
#[derive(Debug)] #[derive(Debug)]
enum MappedFrame { enum MappedFrame {
SysMem(gst_video::VideoFrame<gst_video::video_frame::Readable>), SysMem(gst_video::VideoFrame<gst_video::video_frame::Readable>),
#[cfg(any(target_os = "macos", target_os = "windows", feature = "gst_gl"))] #[cfg(any(target_os = "macos", target_os = "windows", feature = "gst-gl"))]
GL { GL {
frame: gst_gl::GLVideoFrame<gst_gl::gl_video_frame::Readable>, frame: gst_gl::GLVideoFrame<gst_gl::gl_video_frame::Readable>,
wrapped_context: gst_gl::GLContext, wrapped_context: gst_gl::GLContext,
@ -30,7 +30,7 @@ impl MappedFrame {
fn buffer(&self) -> &gst::BufferRef { fn buffer(&self) -> &gst::BufferRef {
match self { match self {
MappedFrame::SysMem(frame) => frame.buffer(), 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(), MappedFrame::GL { frame, .. } => frame.buffer(),
} }
} }
@ -38,7 +38,7 @@ impl MappedFrame {
fn width(&self) -> u32 { fn width(&self) -> u32 {
match self { match self {
MappedFrame::SysMem(frame) => frame.width(), 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(), MappedFrame::GL { frame, .. } => frame.width(),
} }
} }
@ -46,7 +46,7 @@ impl MappedFrame {
fn height(&self) -> u32 { fn height(&self) -> u32 {
match self { match self {
MappedFrame::SysMem(frame) => frame.height(), 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(), MappedFrame::GL { frame, .. } => frame.height(),
} }
} }
@ -54,7 +54,7 @@ impl MappedFrame {
fn format_info(&self) -> gst_video::VideoFormatInfo { fn format_info(&self) -> gst_video::VideoFormatInfo {
match self { match self {
MappedFrame::SysMem(frame) => frame.format_info(), 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(), MappedFrame::GL { frame, .. } => frame.format_info(),
} }
} }
@ -137,7 +137,7 @@ fn video_frame_to_memory_texture(
(texture, pixel_aspect_ratio) (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( fn video_frame_to_gl_texture(
frame: gst_gl::GLVideoFrame<gst_gl::gl_video_frame::Readable>, frame: gst_gl::GLVideoFrame<gst_gl::gl_video_frame::Readable>,
cached_textures: &mut HashMap<usize, gdk::Texture>, cached_textures: &mut HashMap<usize, gdk::Texture>,
@ -197,7 +197,7 @@ impl Frame {
MappedFrame::SysMem(frame) => { MappedFrame::SysMem(frame) => {
video_frame_to_memory_texture(frame, cached_textures, &mut used_textures) 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 { MappedFrame::GL {
frame, frame,
wrapped_context, wrapped_context,
@ -255,11 +255,11 @@ impl Frame {
pub(crate) fn new( pub(crate) fn new(
buffer: &gst::Buffer, buffer: &gst::Buffer,
info: &gst_video::VideoInfo, 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, &gst_gl::GLContext,
>, >,
#[allow(unused_variables)] #[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<&()>, wrapped_context: Option<&()>,
) -> Result<Self, gst::FlowError> { ) -> Result<Self, gst::FlowError> {
// Empty buffers get filtered out in show_frame // Empty buffers get filtered out in show_frame
@ -267,7 +267,7 @@ impl Frame {
let mut 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 = Self {
frame: MappedFrame::SysMem( frame: MappedFrame::SysMem(
@ -277,7 +277,7 @@ impl Frame {
overlays: vec![], 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 // 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. // can share with the wrapped context around the GDK GL context.

View file

@ -26,15 +26,15 @@ use std::sync::{Mutex, MutexGuard};
use crate::utils; 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; 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::*; use gst_gl::prelude::*;
// Global GL context that is created by the first sink and kept around until the end of the // 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 // 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. // 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 { enum GLContext {
Uninitialized, Uninitialized,
Unsupported, 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<GLContext> = Mutex::new(GLContext::Uninitialized); static GL_CONTEXT: Mutex<GLContext> = Mutex::new(GLContext::Uninitialized);
static CAT: Lazy<gst::DebugCategory> = Lazy::new(|| { static CAT: Lazy<gst::DebugCategory> = Lazy::new(|| {
@ -154,12 +154,12 @@ impl ElementImpl for PaintableSink {
for features in [ for features in [
None, 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([ Some(gst::CapsFeatures::new([
"memory:GLMemory", "memory:GLMemory",
"meta:GstVideoOverlayComposition", "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:GLMemory"])),
Some(gst::CapsFeatures::new([ Some(gst::CapsFeatures::new([
"memory:SystemMemory", "memory:SystemMemory",
@ -237,7 +237,7 @@ impl ElementImpl for PaintableSink {
// Notify the pipeline about the GL display and wrapped context so that any other // 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 // elements in the pipeline ideally use the same / create GL contexts that are
// sharing with this one. // 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(); let gl_context = GL_CONTEXT.lock().unwrap();
if let GLContext::Initialized { if let GLContext::Initialized {
@ -343,7 +343,7 @@ impl BaseSinkImpl for PaintableSink {
// TODO: Provide a preferred "window size" here for higher-resolution rendering // TODO: Provide a preferred "window size" here for higher-resolution rendering
query.add_allocation_meta::<gst_video::VideoOverlayCompositionMeta>(None); query.add_allocation_meta::<gst_video::VideoOverlayCompositionMeta>(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 { if let GLContext::Initialized {
wrapped_context, .. wrapped_context, ..
@ -364,7 +364,7 @@ impl BaseSinkImpl for PaintableSink {
gst::log!(CAT, imp: self, "Handling query {:?}", query); gst::log!(CAT, imp: self, "Handling query {:?}", query);
match query.view_mut() { 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) => { gst::QueryViewMut::Context(q) => {
// Avoid holding the locks while we respond to the query // Avoid holding the locks while we respond to the query
// The objects are ref-counted anyway. // The objects are ref-counted anyway.
@ -420,11 +420,11 @@ impl VideoSinkImpl for PaintableSink {
})?; })?;
let wrapped_context = { 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 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(); let gl_context = GL_CONTEXT.lock().unwrap();
if let GLContext::Initialized { if let GLContext::Initialized {
@ -492,7 +492,7 @@ impl PaintableSink {
#[allow(unused_mut)] #[allow(unused_mut)]
let mut tmp_caps = Self::pad_templates()[0].caps().clone(); 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 // Filter out GL caps from the template pads if we have no context
if !matches!(&*GL_CONTEXT.lock().unwrap(), GLContext::Initialized { .. }) { if !matches!(&*GL_CONTEXT.lock().unwrap(), GLContext::Initialized { .. }) {
@ -511,7 +511,7 @@ impl PaintableSink {
} }
fn create_paintable(&self, paintable_storage: &mut MutexGuard<Option<ThreadGuard<Paintable>>>) { fn create_paintable(&self, paintable_storage: &mut MutexGuard<Option<ThreadGuard<Paintable>>>) {
#[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(); self.initialize_gl_context();
} }
@ -545,7 +545,7 @@ impl PaintableSink {
// Create the paintable from the main thread // Create the paintable from the main thread
let paintable = utils::invoke_on_main_thread(move || { 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, .. } = let gdk_context = if let GLContext::Initialized { gdk_context, .. } =
&*GL_CONTEXT.lock().unwrap() &*GL_CONTEXT.lock().unwrap()
@ -556,7 +556,7 @@ impl PaintableSink {
}; };
ThreadGuard::new(Paintable::new(gdk_context)) 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)) ThreadGuard::new(Paintable::new(None))
} }
@ -567,7 +567,7 @@ impl PaintableSink {
*self.sender.lock().unwrap() = Some(sender); *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) { fn initialize_gl_context(&self) {
gst::debug!(CAT, imp: self, "Realizing GDK GL Context"); 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) { fn initialize_gl_context_main(&self) {
gst::debug!(CAT, imp: self, "Realizing GDK GL Context from main thread"); gst::debug!(CAT, imp: self, "Realizing GDK GL Context from main thread");

View file

@ -1,24 +1,24 @@
[package] [package]
name = "gst-plugin-hsv" name = "gst-plugin-hsv"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Julien Bardagi <julien.bardagi@gmail.com>"] authors = ["Julien Bardagi <julien.bardagi@gmail.com>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
description = "GStreamer plugin with HSV manipulation elements" description = "GStreamer plugin with HSV manipulation elements"
[dependencies] [dependencies]
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-base.workspace = true
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-video.workspace = true
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-audio.workspace = true
byte-slice-cast = "1.0" byte-slice-cast = "1.0"
num-traits = "0.2" num-traits = "0.2"
once_cell = "1" once_cell.workspace = true
[dev-dependencies] [dev-dependencies]
gst_check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-check.workspace = true
[lib] [lib]
name = "gsthsv" name = "gsthsv"
@ -26,7 +26,7 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []

View file

@ -1,22 +1,22 @@
[package] [package]
name = "gst-plugin-png" name = "gst-plugin-png"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Natanael Mojica <neithanmo@gmail.com>"] authors = ["Natanael Mojica <neithanmo@gmail.com>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
description = "GStreamer Rust PNG encoder/decoder" description = "GStreamer Rust PNG encoder/decoder"
[dependencies] [dependencies]
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
gst_video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-video.workspace = true
png = "0.17.2" png = "0.17.2"
once_cell = "1" once_cell.workspace = true
parking_lot = "0.12" parking_lot = "0.12"
[dev-dependencies] [dev-dependencies]
gst_check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-check.workspace = true
[lib] [lib]
name = "gstrspng" name = "gstrspng"
@ -24,7 +24,7 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []

View file

@ -1,22 +1,22 @@
[package] [package]
name = "gst-plugin-rav1e" name = "gst-plugin-rav1e"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Sebastian Dröge <sebastian@centricular.com>"] authors = ["Sebastian Dröge <sebastian@centricular.com>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
description = "GStreamer rav1e AV1 Encoder Plugin" description = "GStreamer rav1e AV1 Encoder Plugin"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
[dependencies] [dependencies]
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst.workspace = true
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-video.workspace = true
rav1e = { version = "0.7", default-features = false, features = ["threading"] } rav1e = { version = "0.7", default-features = false, features = ["threading"] }
atomic_refcell = "0.1" atomic_refcell = "0.1"
once_cell = "1" once_cell.workspace = true
[dev-dependencies] [dev-dependencies]
gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "main" } gst-check.workspace = true
[lib] [lib]
name = "gstrav1e" name = "gstrav1e"
@ -24,7 +24,7 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
default = ["hdr"] default = ["hdr"]

View file

@ -1,15 +1,15 @@
[package] [package]
name = "gst-plugin-videofx" name = "gst-plugin-videofx"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Sanchayan Maity <sanchayan@asymptotic.io>", "Rafael Caricio <rafael@caricio.com>"] authors = ["Sanchayan Maity <sanchayan@asymptotic.io>", "Rafael Caricio <rafael@caricio.com>"]
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
license = "MPL-2.0" license = "MPL-2.0"
description = "GStreamer Rust Video Effects Plugin" description = "GStreamer Rust Video Effects Plugin"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
[dependencies] [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" atomic_refcell = "0.1"
color-thief = "0.2.2" color-thief = "0.2.2"
color-name = "1.0.0" color-name = "1.0.0"
@ -17,30 +17,13 @@ image = { version = "0.24.2", default-features = false }
image_hasher = "1.0.0" image_hasher = "1.0.0"
dssim-core = { version = "3.2.3", optional = true } dssim-core = { version = "3.2.3", optional = true }
rgb = { version = "0.8", 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] [dev-dependencies]
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" gst-check.workspace = true
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"
[lib] [lib]
name = "gstrsvideofx" name = "gstrsvideofx"
@ -48,7 +31,7 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []

View file

@ -1,34 +1,22 @@
[package] [package]
name = "gst-plugin-webp" name = "gst-plugin-webp"
version = "0.12.0-alpha.1" version.workspace = true
authors = ["Mathieu Duponchelle <mathieu@centricular.com>"] authors = ["Mathieu Duponchelle <mathieu@centricular.com>"]
license = "MPL-2.0" license = "MPL-2.0"
edition = "2021" edition.workspace = true
rust-version = "1.70" rust-version.workspace = true
description = "GStreamer WebP Plugin" description = "GStreamer WebP Plugin"
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" repository.workspace = true
[dependencies] [dependencies]
libwebp-sys2 = { version = "0.1.2", features = ["demux", "0_5"] } libwebp-sys2 = { version = "0.1.2", features = ["demux", "0_5"] }
once_cell = "1" once_cell.workspace = true
gst.workspace = true
[dependencies.gst] gst-video.workspace = true
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"
[dev-dependencies] [dev-dependencies]
pretty_assertions = "1" pretty_assertions = "1"
gst-check.workspace = true
[dev-dependencies.gst-check]
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
branch = "main"
package="gstreamer-check"
[lib] [lib]
name = "gstrswebp" name = "gstrswebp"
@ -36,7 +24,7 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs" path = "src/lib.rs"
[build-dependencies] [build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" } gst-plugin-version-helper.workspace = true
[features] [features]
static = [] static = []